How do I add a bullet symbol in TextView?

Pria picture Pria · Aug 7, 2010 · Viewed 134.7k times · Source

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

Answer

Benny Skogberg picture Benny Skogberg · Aug 7, 2010

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