Skip to content Skip to sidebar Skip to footer

Colour Resource ID Returning Wrong Value

I am trying to set the text colour programatically from a colour resource during onCreate and am getting some wierd results. I have a colour resource defined in res\colors.xml: <

Solution 1:

maybe your R.java got messed up and isn't linking to the correct resource. clean the project and refresh


Post a Comment for "Colour Resource ID Returning Wrong Value"