Android: Best practices for Text — Part 4: Symbol
Another way to show special characters in your file is by so-called “character entity”.
Use setText("\u2022 Bullet");
to add the bullet programmatically. 0x2022 = 8226
Decimal Form
For example, the bullet symbol • is Unicode character number 8226. In HTML, you can write it as •
.
Hexadecimal Form
The number 8226 in hexadecimal is 2022. Sometimes you only know the hexadecimal number of a character. You can write it using…