Don't use wide view for news webview

This commit is contained in:
str4d
2014-10-01 10:50:09 +00:00
parent 7483251393
commit ac949e3f5e

View File

@ -39,10 +39,10 @@ public class NewsFragment extends I2PFragmentBase {
WebView wv = (WebView) v.findViewById(R.id.news_webview); WebView wv = (WebView) v.findViewById(R.id.news_webview);
wv.getSettings().setLoadsImagesAutomatically(false); wv.getSettings().setLoadsImagesAutomatically(false);
// http://stackoverflow.com/questions/2369310/webview-double-tap-zoom-not-working-on-a-motorola-droid-a855 // http://stackoverflow.com/questions/2369310/webview-double-tap-zoom-not-working-on-a-motorola-droid-a855
wv.getSettings().setUseWideViewPort(true); //wv.getSettings().setUseWideViewPort(true);
_wvClient = new I2PWebViewClient(); _wvClient = new I2PWebViewClient();
wv.setWebViewClient(_wvClient); wv.setWebViewClient(_wvClient);
wv.getSettings().setBuiltInZoomControls(true); //wv.getSettings().setBuiltInZoomControls(true);
return v; return v;
} }