Skip to content
Proyek

varunest/TheGlowingLoader

Lihat di GitHub

Tentang

TheGlowingLoader adalah pustaka yang sangat dapat dikonfigurasi untuk menunjukkan progres, yang dibuat secara native untuk platform Android. Pustaka ini mengimplementasikan desain yang dibuat oleh Shashank Sahay.

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…