Style your text with Snippety
Wondering how to use customized text styles in your Android app but fed up of wrapping your text with Html.fromHtml()
? Essentially, Html.fromHtml()
internally converts the HTML text to Spanned
and then set it to the TextView
. Here’s the good news, you can now directly use…