Skip to content Skip to sidebar Skip to footer

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!

WebViewwv= (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?"