A simple animated step view for Android. Backward and forward animation is supported.
- Add jcenter() to repositories block in your gradle file.
- Add
compile 'com.shuhart.stepview:stepview:0.91'
to your dependencies. - Add
StepView
into your layouts or view hierarchy. - Look into the sample for additional details on how to use and configure the library.
Example:
<com.shuhart.stepview.StepView
android:id="@+id/step_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
app:selectedCircleColor="@color/colorAccent"
app:selectedTextColor="@color/colorAccent"
app:stepLineWidth="1dp"
app:stepPadding="4dp"
app:nextTextColor="@color/colorAccent"
app:nextStepLineColor="@color/colorAccent"
app:doneCircleColor="@color/colorAccent"
app:doneStepLineColor="@color/colorAccent"
app:doneCircleRadius="12dp"
app:selectedCircleRadius="12dp"
app:selectedStepNumberColor="@color/colorPrimary"
app:stepViewStyle="@style/StepView"
app:doneStepMarkColor="@color/colorPrimary"
app:stepNumberTextSize="12sp"/>