views:

412

answers:

1

I want to display an ordered list inside a TextView, for example:
1) item 1
2) item 2

Using the following layout:

<TextView
    android:text="<ol><li>item 1\n</li><li>item 2\n</li></ol>
    />

I get:

  • item 1
  • item 2

How can I change the bullets to numbers?

Thanks.