Android StepsView

Android StepsView is an android library to create StepsView for Android.

Usage

Gradle

compile 'com.anton46:stepsview:0.0.1'  

Maven

<dependency>  
    <groupId>com.anton46</groupId>
    <artifactId>stepsview</artifactId>
    <version>0.0.1</version>
</dependency>  

Layout

 <com.anton46.stepsview.StepsView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/stepsView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        />

Activity/Fragment

mStepsView.setLabels(steps)  
                .setColorIndicator(Color.GREEN)
                .setBarColor(Color.GRAY)
                .setLabelColor(Color.BLUE)
                .setCompletedPosition(0);

Contributing

If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.

SOURCE