I have items in my arrays.xml
file, and I want only "Bravelle", "Cetrotide", and "Clomid" to use a blue color. How can I get this?
<string-array name="medication_name">
<item>Bravelle<sup>®</sup> (urofollitropin)</item>
<item>Cetrotide<sup>®</sup> (cetrorelix acetate)</item>
<item>Clomid<sup>&#x开发者_StackOverflow中文版ae;</sup> (clomiphene citrate)</item>
</string-array>
Thanks in advance.
Try adding <font color="#0000FF">
and the corresponding </font>
tag.
Try this:
<string-array name="medication_name">
<item>Bravelle<font fgcolor="#ffff0000">red</font><sup>®</sup> (urofollitropin)</item>
<item>Cetrotide<font fgcolor="#ffff0000">red</font><sup>®</sup> (cetrorelix acetate)</item>
<item>Clomid<font fgcolor="#ffff0000">red</font><sup>®</sup> (clomiphene citrate)</item>
</string-array>
精彩评论