samedi 25 avril 2015

Android colour resource - making a colour an alias of another


Is there a way to do something like the following?

<color name="gray1">#eeeeee</color>
<color name="separator_line_gray">@color/gray1</color>

So that I can use separator_line_gray in my code and quickly change it from gray1 to gray2 if needed


Aucun commentaire:

Enregistrer un commentaire