What I have: I\'m loading image from a URL. I simply do (WebView).loadUrl(imageurl, extraheaders)
What I get: Image i
I had the same issue and doing this worked just fine:
Display display = getWindowManager().getDefaultDisplay();
int width = display.getWidth();
String data = "Example ";
data = data + "
";
webView.loadData(data, "text/html", null);
Edit: As this remained as the accepted answer, here is a better solution (all credit to Tony below):
WebView content = (WebView) findViewById(R.id.webView1);
content.loadDataWithBaseURL(null, "" + post.getContent(), "text/html", "UTF-8", null);