1

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

enter image description here

Arst
  • 3,098
  • 1
  • 35
  • 42

2 Answers2

1

Adding ︎ after the arrow character worked for me. So, instead of

android:text="↖"

use

android:text="↖︎"

Before / after:

enter image description here enter image description here

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

enter image description here

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