Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First label appears bold #3

Open
breeny opened this issue Jun 27, 2015 · 1 comment
Open

First label appears bold #3

breeny opened this issue Jun 27, 2015 · 1 comment

Comments

@breeny
Copy link

breeny commented Jun 27, 2015

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"/>
@Memery92
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants