Alexandre Khoury
Alexandre Khoury

Reputation: 4022

How could I easily display a custom text without too many TextViews

For example, doing centered text and underlined etc... could be possible with a lot of textviews but is there a way not to use that much? Or maybe a way to type html and have the result?

Upvotes: 0

Views: 78

Answers (1)

Sieryuu
Sieryuu

Reputation: 1521

How about use HTML tag?

myTextView.setText(Html.fromHtml("<u>Underlined</u>"));

Upvotes: 1

Related Questions