Add tick mark (✔) to string.xml

前端 未结 4 1905
一向
一向 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:09

    Check this android's group thread: Supported unicode characters.

    Instead of using an unicode value, I would also recommend you to use a Drawable inside a TextView. For example, you can add the drawable to the TextView using android:drawableRight.

提交回复
热议问题