显示执行步骤的Android控件:Android-StepsView

jopen 9年前

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

截图:

使用说明:

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

项目主页:http://www.open-open.com/lib/view/home/1435288220357