Styled text in TextView

The easiest way of having styled text in a TextView is to use HTML and it is very easy to do it:

mTextView.setText(Html.fromHtml("This is a < b >bold< /b > and < i >italics< /i > styled textview!"));

Share