nico2sh / materialish-progress

A material style progress wheel compatible with 2.3
Apache License 2.0
2.48k stars 463 forks source link

Color issue! #32

Closed MuhamedFathy closed 9 years ago

MuhamedFathy commented 9 years ago

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 commented 9 years ago

I have the same problem

vimaciel commented 9 years ago

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

MuhamedFathy commented 9 years ago

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 commented 9 years ago

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