Search code examples
android-layouttextviewandroid-resourcesandroid-textattributesandroid

Triangular Bullet in Android TextView for Pre-Lollipop devices


I Tried character encoding "& #8227;"---> and java strings "\u2023" and also tried pasting directly the Triangular Bullet "‣".

I tried both 1) Directly specifying in android:text attribute and 2) Extracting from resource.

All the methods specified above working fine with the Lollipop but none of them working in 4.2.2 and previous android versions.

Instead of the Bullet it is showing some rectangular box.

any ideas how to solve it ??


Solution

  • For displaying ▶, use \u25b6 (for displaying ▷, use \u25b7).
    Tested on a 2.2 (Froyo) emulator: works.

    This is a very useful resource: http://unicode-table.com/en/