1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

With the new webview scrollview combo we've got loadinoverviewmode seems to behave better.

This commit is contained in:
Jesse Vincent 2013-11-07 10:38:35 -08:00
parent b398c4d7f4
commit d4246a0976

View File

@ -111,12 +111,7 @@ public class MessageWebView extends RigidWebView {
webSettings.setBuiltInZoomControls(true); webSettings.setBuiltInZoomControls(true);
webSettings.setUseWideViewPort(true); webSettings.setUseWideViewPort(true);
if (K9.autofitWidth()) { if (K9.autofitWidth()) {
// 1% will be smaller than overview, so it effectively webSettings.setLoadWithOverviewMode(true);
// goes into overview mode.
// Tried the following, neither of which worked:
// webSettings.setLoadWithOverviewMode(true);
// setInitialScale(0);
setInitialScale(1);
} }
disableDisplayZoomControls(); disableDisplayZoomControls();