Saturday 16 February 2019

Android: html in strings.xml

I would like display for example this html code:





Hello World


This is a test of the URL Example


This text is bold


This text is emphasized


This is computer output


This is subscript and superscript






I want to display it on a Dialog by declaring html in resources strings.xml. How can I do it?

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 &q...