Pria Pria - 4 months ago 47
Android Question

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?

Answer

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

Comments