xml - Android colour resource - making a colour an alias of another -


is there way following?

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

so can use separator_line_gray in code , change gray1 gray2 if needed

your code ok. can that, can define style use , changes (e.g. color) make style applied widgets using style. pretty cool huh?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

python - Exception while importing pymorphy2 -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -