显示步骤执行情况的控件,在某些情况下,还是非常有用的。
http://www.jcodecraeer.com/a/opensource/2015/0918/3471.html
<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)
.setBarColorIndicator(getContext().getResources().getColor(R.color.material_blue_grey_800))
.setProgressColorIndicator(getContext().getResources().getColor(R.color.orange))
.setLabelColorIndicator(getContext().getResources().getColor(R.color.orange))
.setCompletedPosition(0)
.drawView();
http://www.jcodecraeer.com/a/opensource/2015/0918/3471.html