I'm trying to use Color.parseColor()
on a color resource:
<color name="redish">#FF0000</color>
I've tried this, but it gives me the error Unknown color:
Color.parseColor(Integer.toHexString(context.getResources().getColor(R.color.redish)))
How do I convert the color resource to a String
properly?