Skip to content
プロジェクト

varunest/TheGlowingLoader

GitHubで見る

概要

TheGlowingLoader は進捗を示すための高いカスタマイズ性を備えたライブラリで、Android プラットフォーム向けにネイティブ開発されています。Shashank Sahay が考案したデザインを実装しています。

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…