so have html string want display styled text in textview never seems work. html string uses tags supposed supported fromhtml() method never displays text properly, returns original html string. here's example of html:
<div class="classname"><p>sample text <a href="http://www.example.com">http://www.example.com</a></p></div> nothing special can see, yet never parses correctly. method doesn't support "class" attribute? if so, how add support it?
html class provides limited support of html elements. , "class" attributes not supported.
to understand tags can used , how rendered refer source code (android 5.0.1 r1). can provide custom taghandler or use webview display complex html page.
Comments
Post a Comment