Skip to content

πŸ‘¨β€πŸ’» 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.

Notifications You must be signed in to change notification settings

aleixo-dev/StepProgressView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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 file
dependencies {
    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.

Name Values/Type Required Default Description
maxProgress Int Yes - This is your max progress view
initialProgress Int Yes - This specifies the "current progress" of the component.
backgroundProgressView Drawable no True This property defines the background of the progress view when it is being filled.
backgroundProgressViewEmpty Drawable no True This property sets the background of the progress view when it is empty or has yet to be filled.
backgroundContainerNumberView Drawable no True This property sets the background of the ball of the current progress view number.
backgroundContainerFinalView Drawable no True This 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

Watchers

Forks

Packages

No packages published

Languages