How to set underline text on textview?
textview
I have used following code but it is not working.
tvHide.setText(Html.fromHtml("
you're almost there: just don't call toString() on Html.fromHtml() and you get a Spanned Object which will do the job ;)
toString()
Html.fromHtml()
tvHide.setText(Html.fromHtml("Hide post"));
Hide post