Android Nested Progress
Nested Customizable Progress For Anroid
Add this in your root build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add this to your module’s build.gradle file
dependencies {
implementation 'com.github.emreesen27:Android-Nested-Progress:v1.0.0'
}
Different Combinations
Usage
- Add view into your layout file
<com.sn.lib.NestedProgress
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:innerAnimInterpolator="linear"
app:outerAnimInterpolator="overshoot"
app:outerLoaderAnimDuration="1500" />
Properties
Property Name | Type | Default |
---|---|---|
innerLoaderStrokeWidth | Float | 12.0F |
outerLoaderStrokeWidth | Float | 14.0F |
innerLoaderLength | Float | 260.0F |
outerLoaderLength | Float | 320.0F |
innerAnimInterpolator | Interpolator | overshoot |
outerAnimInterpolator | Interpolator | lineer |
innerLoaderAnimDuration | Integer | 1000 |
outerLoaderAnimDuration | Integer | 1000 |
innerLoaderColor | Color | D3DEDC |
outerLoaderColor | Color | 2666CF |
sizeFactor | Float | 1.0F |