1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 21:45:14 -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 ed3a160403
commit be14a88103

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();