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

ProgressColor is not showing properly #51

Closed
vincent-paing opened this issue Jul 14, 2016 · 1 comment
Closed

ProgressColor is not showing properly #51

vincent-paing opened this issue Jul 14, 2016 · 1 comment

Comments

@vincent-paing
Copy link

I use the color code #1577F0 (blue) but it seems to be drawing with #36303F (tuna), screenshot and code below

Screenshot => http://i.imgur.com/jf1c8PD.png

Code

    productionDetailProgressBar.setProgressColor(R.color.colorPrimary);
    productionDetailProgressBar.setMax(100);

And in xml

    <com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
            android:id="@+id/progress_1"
            android:layout_width="match_parent"
            android:layout_height="30dp"
            android:padding="8dp" />
@vincent-paing
Copy link
Author

Nvm, got it figured out. Have to use Color.parseColor instead of passing color resource id

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

1 participant