Search code examples
androidandroid-layoutspecial-characterstextview

How do I add a bullet symbol in TextView?


I have a TextView and I want to add a bullet symbol in my text through XML. Is it possible?


Solution

  • You have to use the right character encoding to accomplish this effect. You could try with •


    Update

    Just to clarify: use `setText("\u2022 Bullet");` to add the bullet programmatically. `0x2022 = 8226`