1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04: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.setUseWideViewPort(true);
if (K9.autofitWidth()) {
// 1% will be smaller than overview, so it effectively
// goes into overview mode.
// Tried the following, neither of which worked:
// webSettings.setLoadWithOverviewMode(true);
// setInitialScale(0);
setInitialScale(1);
webSettings.setLoadWithOverviewMode(true);
}
disableDisplayZoomControls();