Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A jetpack compose library that gives you 2 circular-ring type progress indicators to make your UI beautiful

License

Notifications You must be signed in to change notification settings

ErrorxCode/RingPI-compose

Repository files navigation

RingPI (Jetpack library)

Languages-Kotlin Version Instagram - x0.rahil Downloads GitHub Repo stars

"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
image image

Implementation

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'
}

Usage/Examples

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
)

Contributing

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.

About

A jetpack compose library that gives you 2 circular-ring type progress indicators to make your UI beautiful

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle によって変換されたページ (->オリジナル) /