Don't use wide view for news webview
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user