【发布时间】:2016-10-12 20:16:34
【问题描述】:
假设我在字符串 XML 中有下一个代码,它工作正常,输出时文本颜色变为蓝色
<string name="hello_world">
<font color='blue'> Hello world!</font> here is my text with yellow background
</string>
问题 - 是否可以以与上述类似的方式为某些世界更改 文本背景,直接在 xml 字符串中?
最终结果:
【问题讨论】:
标签: android xml string text background