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
1 changed files with 1 additions and 6 deletions

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