(Android) How to display HTML in a View

I needed a way to list some data in a view, but the use of the layout stuff seemed a bit cumbersome.

Luckily, there is a way to display dynamic HTML using a "WebView" without much hassle.

WebView wv;
String html = "<html><body>some html here</body></html>";

wv.loadData(html, "text/html", "UTF-8");

Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog