I have a TextView
and a ListPopupWindow
Each list items in ListPopupWindows
is a TextView
. When click TextView
, ListPopupWindow
will be displayed.
Values are ↓↑→←↘↙↗↖
. However, ↘↙↗↖
are somehow replaced with icons. Is there any way to display plain text of ↘↙↗↖
instead of icons???
Asked
Active
Viewed 875 times
1

Arst
- 3,098
- 1
- 35
- 42
2 Answers
1
Adding ︎
after the arrow character worked for me. So, instead of
android:text="↖"
use
android:text="↖︎"
Before / after:
Based on this answer:
Append the Unicode variation selector character for forcing text, VS15,
︎
. This forces the previous character to be rendered as text rather than as an Emoji Symbol.

fitch496
- 211
- 1
- 6
-
how to put it in xml? the FE0E part? – 500865 Aug 23 '21 at 19:49
-1
you can use iconify library
,the github is :https://github.com/JoanZapata/android-iconify
it can replace text with icons like ↓↑→←↘↙↗↖.
this is my case:

moonChen
- 107
- 2
-
Maybe the title is not clear enough. I don't want to show icons of `↘↙↗↖` instead, I just want to display characters of `↘↙↗↖`. – Arst May 29 '16 at 12:23
-
the basic `ListPopupWindow` demo with `ArrayAdapter` . without any icon when popup display . what your code ? – moonChen May 29 '16 at 12:45