Galaxy SIII Ignoring SetDefaultZoom? UPDATE: JellyBean Issue With WebView?
UPDATE: This is actually a JellyBean issue: Emulator running ICS: Emulator running JB: So the emulator settings are the same (API level different obviously). Tested and verified
Solution 1:
It's kind of a old thread, but if you are still having the same issue I found a setting that fixed a similar issue for me. The issue occurred on Jelly Bean (4.1.2) on a Samsung Tablet.
webView.getSettings().setLayoutAlgorithm(WebSettings.LayoutAlgorithm.SINGLE_COLUMN);
Solution 2:
Try this and tell me if it works... it should handle the page fitting on the fone screen!
WebView wv = (WebView) findViewById(R.id.webview);
wv.getSettings().setLoadWithOverviewMode(true);
wv.getSettings().setUseWideViewPort(true);
Solution 3:
I "fixed" it on my own app by using getSettings().setUseWideViewPort(true).
However that is a misbehavior - and looks wrong on all the other devices. ** Shame to Samsung for breaking the behavior of the API ** Devices working correctly: Galaxy Nexus, HTC One X, etc..
Post a Comment for "Galaxy SIII Ignoring SetDefaultZoom? UPDATE: JellyBean Issue With WebView?"