MultiProgressBar
A beautiful, Android Multi ProgressBar.
How to use
Inside your GRADLE (APP) add :
dependencies{
compile 'com.github.mohak1712:MultiProgressBar:2.3.1'
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
In XML--
xmlns:custom="http://schemas.android.com/apk/res-auto" - parent layout
<com.mohak.mutliprogressbar.MultiProg
android:id="@+id/mutli"
android:layout_width="match_parent"
android:layout_height="wrap_content"
custom:barHeight="2dp"
custom:mReachedBarColor="#d3d"
custom:mColorLeft="#ffffff"
custom:mColorRight="#ffffff"
android:layout_margin="10dp"
custom:mBgcolor="#e9e9e9"
custom:maxprogress="100"
custom:textsize="10sp"
custom:progress="50" />
NOTE - mBgcolor should be same as background color of your parent layout In JAVA--
multiProg = (MultiProg) findViewById(R.id.mutli);
multiProg.setmCurrentProgress(15);