Snappy
A breathing toolbar library in Kotlin
Want to use the breathing toolbar effect similar to Snapchat in your app? You have reached the right place.
How to use?
- Initialize -
val snappy = Snappy(this, colorArray)
- Start the magic -
snappy.startBreathing(toolbar)
- When you're done -
snappy.stopBreathing(toolbar)
Easy enough!!! :) For more customization, refer sample application code.
Gradle
Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Then, add this in you app level build.gradle
dependencies {
implementation 'com.github.aliwaris0572:snappy:{latest_version}'
}
Support
If you liked my work, consider buying me a cup of ☕ by PayPal