Wednesday, 6 December 2017

html - Show in android textview

I have String with ul and li in it. And I am trying to
show them in HTML formatting in textview. />textView.setText(Html.fromHtml(myHtmlText)); />But textview shows the plain text. How can I have the ul and li tags formatted in
textview?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...