mohak1712 / MultiProgressBar

A beautiful, Customizable Android ProgressBar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

screenshot_20160802-171737 screenshot_20160802-171740 screenshot_20160802-171745 screenshot_20160802-171748 screenshot_20160802-171751

About

A beautiful, Customizable Android ProgressBar.


Languages

Language:Java 100.0%