I have webview with layout_height = \"wrap_content\". If I increase default font size, then webview height increases too. But if I decrease default font size, then webview h
Try the following combination:
Java:
LinearLayout. LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.WRAP_CONTENT);
xxxxxxxxxxxxxxxxxxx.setLayoutParams(params);
WebView zzzzzzzzzzzzzzz = (WebView) findViewById(R.id.zzzzzzzzzzzzzzz);
zzzzzzzzzzzzzzz.setBackgroundColor(0x00000000);
zzzzzzzzzzzzzzz.loadData(Html.fromHtml(mistringsqlite).toString(), "text/html", null);