Use HtmlCompat.fromHtml() to call Html.fromHtml() in a backward-compatible manner.
HtmlCompat.fromHtml()
Html.fromHtml()