Nested BulletSpan in Android

477 views Asked by At

How to create a nested BulletSpan for a TextView, well something like :

  • item 1 has:

    • a
    • b
  • item 2 has:

    • c
    • d
1

There are 1 answers

2
wwang On

You can use HTML for this.

• will be your "Bullet" in HTML.

textView.setText(Html.fromHtml("&#8226; item 1 has:<br/> &#8226; a<br/> &#8226; b <br/>");