【发布时间】:2012-04-18 15:01:53
【问题描述】:
如何在 XML 文件中为文本添加下划线?我在textStyle 中找不到选项。
【问题讨论】:
-
你已经尝试使用
style="text-decoration: underline;" -
你能完整地使用它吗?
-
你试过这个
textView.setText(Html.fromHtml("<u>"+"testest"+"</u>"));
标签: android textview android-styles underline