I am trying to format a TextView with a lot of text to look better, and since I feel it is very easy with HTML and CSS, I thought I would give it away. And since the presence of /strings.xml in the values ββallows you to localize, I found this to be the best option. Now I am able to get the HTML in the line with:
<![CDATA[ <html code here> ]]>
But if I try, for example:
<![CDATA[ <html> <head> <body> <style type=\"text/css\"> p { display: block; border-bottom: 1px solid #31B6E7; } </style> </head> ... etc ]]>
It just inserts CSS code in plain text, is it impossible to format it with CSS, or does anyone have any good advice for me here?
Thanks for any help on this.
source share