I am trying to convert a html String and set it to a TextView but I couldn’t do it exactly.
Here is my String, “Hello, %1$s! You have <b>%2$d new messages</b>”
I am using textview.setText(Html.fromHtml(myString)); which produces me an output with Html Tags instead of plain text. Can anyone help me with this?
Any help is much appreciated.
Thanks
Try use this version of setText and use SPANNABLE buffer type