Android-StepsView icon indicating copy to clipboard operation
Android-StepsView copied to clipboard

First label appears bold

Open breeny opened this issue 10 years ago • 1 comments

Using the attached code, the first label appears bold always - updating the completedPosition updates the indicator but does not change the bolding from the first label. Not sure if the first label shouldn't be bold or if the bold should be moving.

Activity Code:

steps.setLabels(titles.toArray(new String[titles.size()]))
                .setColorIndicator(getResources().getColor(R.color.primary))
                .setBarColor(getResources().getColor(R.color.dark_gray))
                .setLabelColor(getResources().getColor(R.color.dark_gray))
                .setCompletedPosition(0);

Layout:

    <com.anton46.stepsview.StepsView
        android:id="@+id/steps"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>

breeny avatar Jun 27 '15 05:06 breeny

I think the bold step displays that the step has been completed, however if you go forward a step and then backward, the step remains bold.

Memery92 avatar Aug 23 '15 09:08 Memery92