Android-StepsView

介绍:

显示步骤执行情况的控件,在某些情况下,还是非常有用的。

运行效果:

使用说明:

Gradle

compile 'com.anton46:stepsview:0.0.1'

Maven

<dependency>
    <groupId>com.anton46</groupId>
    <artifactId>stepsview</artifactId>
    <version>0.0.1</version>
</dependency>
<com.anton46.stepsview.StepsView
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/stepsView0"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        />
mStepsView.setLabels(steps)
                .setColorIndicator(Color.GREEN)
                .setBarColor(Color.GRAY)
                .setLabelColor(Color.BLUE)
                .setCompletedPosition(0);
已下载
0