添加刻度标记(✔)来string.xml [英] Add tick mark (✔) to string.xml
本文介绍了添加刻度标记(✔)来string.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我上的的strings.xml
,但我得到一个盒子的字符串消息,而不是刻度线,当我加入刻度标记(✔)显示在移动装置上。
I am adding tick mark (✔) on a string message on the strings.xml
, but I am getting a "box" instead of the tick mark when I am display that on the mobile device.
我已经直接粘贴在我的字符串消息的象征。
I have directly pasted the symbol on my string message.
有什么办法可以处理这个问题?我们是否需要使用UNI code值?
Is there any way we can handle that? Do we need to use an unicode value?
推荐答案
尝试使用&放大器;#x2713;
为字符串值,然后用 Html.fromHtml
来解析字符串。
Try using ✓
as the string value, then use Html.fromHtml
to parse the string.
这篇关于添加刻度标记(✔)来string.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文