Android Webview rem units scale way to large for boxes:
EDIT: This bug is Webview overriding the default minimum font size. In my example, Webview sets the minimum font-size to 8px somewhere. The solution is below.
onCreate (add source directly):
mWebView.setWebContentsDebuggingEnabled(true);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setLoadWithOverviewMode(true);
mWebView.getSettings().setUseWideViewPort(true);
mWebView.loadUrl("http://digitalknob.com/rem.html");
©2024 Sketchub | User Policy