ButtonLoading
Beautiful Fancy Button Loading.
Usage:
Step 1:
Add JitPack repository in your root build.gradle at the end of repositories.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add dependency in your app level build.gradle.
dependencies {
compile 'com.github.rasoulmiri:buttonloading:v1.0.8'
}
Step 2:
use in layout xml
Step 3:
Configure XML
- BL_backgroundColor
- BL_circleColor color
- BL_circleColorSecond
- BL_stateShow: normal,animationStart,progress,animationFinish | default value is normal
- BL_text: text button
- BL_textColor
- BL_textSize
- BL_font: address font in assets. example: file in assetst > fonts > arial.ttf ==> fonts/arial.ttf
Note: Do not use the button in LinearLayout.
Contributing
You are welcome to contribute with issues, PRs or suggestions.
Other Project Me
Skeleton Android
Simple yet powerful skeleton animation for all view in android