"A beautiful way of displaying progress or quota"
This library provides 2 amazing progress indicator which you can use in your application with just 1 line of code.
Full ring indicator | Half ring indicator |
---|---|
To deploy this project run
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.ErrorxCode:RingPI-compose:Tag'
}
RingProgressIndicator(
radius = 200,
colors = listOf(Color.Red,Color.Blue,Color.Green), // If you only want one color then pass the same color in the list.
txtColor = Color.Black, //options, if not stated will use gradient color
progress = 85,
isHalfRing = true // false for the full circular ring
)
Contributions are always welcome!
What you can do is add more customization options to it. You can contact me anytime on instagram for any help.