I know it sounds dumb but every time i try to setTextColor to a textview with my own colors it never does it .
TextView tv;
tv.setTextColor(color.blue_light);
doesn’t work . The only thing that works is Android’s own colors with the Color.BLUE, Color.RED attributs etc .
colors.xml looks like this :
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="blue_light">#2D9DC8</color>
<color name="blue_dark">#314d61</color>
<color name="white">#FFFFFF</color>
<color name="green_light">#308A24</color>
<color name="black">#000000</color>
<color name="black_light">#333</color>
<color name="grey_light">#A1A1A1</color>
</resources>
Should be: