-
Notifications
You must be signed in to change notification settings - Fork 48
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
setOnColor() shows a different color instead #3
Comments
Yes, same issue, when i am trying to set transparent color (#26000000) through xml, it shows Black color instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I assign the OFF, MID and ON colors on the xml file the colors are displayed correctly, but when I set them programmatically through setOnColor(), setMidColor() and setOffColor(), the color displayed is another.
The way I set the color is:
tstbAppState.setOnColor(R.color.yellow);
By the way, thanks for the library...
The text was updated successfully, but these errors were encountered: