【发布时间】:2022-01-19 12:34:10
【问题描述】:
我把这个代码放在字符串类别上:
<string name="MyunderLine"> <u> <font> the_text </font> </u></string>
如何从这里更改下划线颜色?
【问题讨论】:
标签: android-studio colors fonts styles underline
我把这个代码放在字符串类别上:
<string name="MyunderLine"> <u> <font> the_text </font> </u></string>
如何从这里更改下划线颜色?
【问题讨论】:
标签: android-studio colors fonts styles underline
你可以像这样改变字符串的颜色。
<string name="MyunderLine"> <u> <font color="#FF0000"> the_text </font> </u> </string>
据我所知,您无法仅使用字符串资源更改下划线的颜色。
【讨论】: