StepsView显示步骤执行情况的控件

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





<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

猜你喜欢

转载自gundumw100.iteye.com/blog/2228189