Add tick mark (✔) to string.xml

前端 未结 4 1903
一向
一向 2021-02-18 14:57

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.<

4条回答
  •  醉酒成梦
    2021-02-18 15:14

    You could use Html.fromHtml to get a Spannable text and set it to your text view. In string.xml you will specify the corresponding HTML entity such as >

提交回复
热议问题