Skip to content

Repository files navigation

StepProgressView 📃

The "Progress View" library is a custom Android component that enables you to create progress bars with a distinct design. It features a circular progress bar with a ball that represents the current progress and another ball to signify the complete progress. Additionally, you can customize the appearance of the progress view when it's both full and empty.

Installation ⚙️

// Register JitPack Repository inside the root build.gradle file
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
// Add ProgressView dependency inside the app's build.gradle filedependencies { implementation("com.github.aleixo-dev:progressview:z.y.z")}

Note: replace x.y.z with one from Release (e.g. 1.0.0).

Usage 👨‍💻

<br.com.nicolas.progress_view.ProgressView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:initialProgress="0"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:maxProgress="10" />
invisible hcaptcha example

Config Params 📕

The following list contains configuration properties to allows customization.

NameValues/TypeRequiredDefaultDescription
maxProgressIntYes-This is your max progress view
initialProgressIntYes-This specifies the "current progress" of the component.
backgroundProgressViewDrawablenoTrueThis property defines the background of the progress view when it is being filled.
backgroundProgressViewEmptyDrawablenoTrueThis property sets the background of the progress view when it is empty or has yet to be filled.
backgroundContainerNumberViewDrawablenoTrueThis property sets the background of the ball of the current progress view number.
backgroundContainerFinalViewDrawablenoTrueThis property sets the bottom of the ball at the end of the progress view.

About

👨‍💻 The "Setp Progress View" library is a custom Android component that enables you to create progress bars with a distinct design. It features a circular progress bar with a ball that represents the current progress and another ball to signify the complete progress.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages