Is there a syntax that allows me to reference a color defined in color.xml
in my string.xml file?

I can do:
<string name="my_string"><font fgcolor="#ff900000">STRING: </font></string>

but hardcoding is bad.  I'd really like to do:
<string name="my_string"><font fgcolor=@color/my_color_defintion>STRING:
</font></string>

but that doesn't work, nor does fgcolor="@color/mycolor_definition"

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to