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

Color issue! #32

Closed
MuhamedFathy opened this issue Aug 22, 2015 · 4 comments
Closed

Color issue! #32

MuhamedFathy opened this issue Aug 22, 2015 · 4 comments

Comments

@MuhamedFathy
Copy link

I set the color from xml to blue but it's gives me a black wheel, also from code using wheel.setBarColor(Color.BLUE); but still black!

Is there anyway to fix that?!

@vimaciel
Copy link

I have the same problem

@vimaciel
Copy link

In my case, I set only in javacode and works now. Don't set the Bar Color in xml file.

@MuhamedFathy
Copy link
Author

I found the solution, just define the color code from code like this
mWheel.setBarColor(0xFF448AFF);
if you define the color from code but get color from xml like this it will not work
mWheel.setBarColor(R.color.myColor);

@nico2sh
Copy link
Owner

nico2sh commented Sep 25, 2015

Yeah, it doesn't expect a color Id. Closing the issue.

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

3 participants