Skip to content
Proyectos

varunest/TheGlowingLoader

Ver en GitHub

Acerca de

TheGlowingLoader es una biblioteca altamente configurable para indicar el progreso, creada de forma nativa para la plataforma Android. Implementa un diseño creado por Shashank Sahay.

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

platform API License

TheGlowingLoader

Android Library which is the implementation of The Glowing Loader created by Shashank Sahay.

I have made it so that it can be easily customized. You can change line stroke width, line colors, particle colors, disable several effects etc.

Library supports OS on API 14 and above.

Download Demo Apk

Demo Video

Here is how the loader looks by default:

Showcase Video

But you can also tweak it according to your need:

Example A Example B
Customized One Customized Two

Dependency

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

and then add dependency

dependencies {
	        implementation 'com.github.varunest:TheGlowingLoader:1.0.7'
	}

Usage

<com.varunest.loader.TheGlowingLoader
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

Attributes

<attr name="theglowingloader_line_1_color" format="reference" />
        <attr name="theglowingloader_line_2_color" format="reference" />
        <attr name="theglowingloader_line_stroke_width" format="integer" />
        <attr name="theglowingloader_ripple_color" format="reference" />
        <attr name="theglowingloader_particle_1_color" format="reference" />
        <attr name="theglowingloader_particle_2_color" format="reference" />
        <attr name="theglowingloader_particle_3_color" format="reference" />
        <attr name="theglowingloader_disable_shadows" format="boolean" />
        <attr name="theglowingloader_disable_ripple" format="boolean" />
	<attr name="theglowingloader_shadow_opacity" format="float" />

You can also access and modify all these attributes at runtime by getting the reference of TheGlowingLoader and calling its setConfiguration method.

Inspiration

This library was a result of challenge hosted by Uplabs

Contribution

Any contributions, large or small,features, bug fixes are welcomed and appreciated. Use pull requests, they will be thoroughly reviewed and discussed.

License

Library falls under Apache 2.0

Explorar proyectos relacionados

Cargando…