Permalink
Browse files

am 9715e7c: Enable zoom controls in HTMLViewer

* commit '9715e7c99a3a86162718d7932aaa174090abc381':
  Enable zoom controls in HTMLViewer
  • Loading branch information...
2 parents f9e3989 + 9715e7c commit ff9625bd7217114c61d7bd0c08ce2dbbe8df4ae1 Mikhail Naganov committed with Android Git Automerger Sep 19, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/com/android/htmlviewer/HTMLViewerActivity.java
@@ -81,8 +81,9 @@ protected void onCreate(Bundle savedInstanceState) {
// Configure the webview
WebSettings s = mWebView.getSettings();
- s.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NARROW_COLUMNS);
s.setUseWideViewPort(true);
+ s.setSupportZoom(true);
+ s.setBuiltInZoomControls(true);
s.setSavePassword(false);
s.setSaveFormData(false);
s.setBlockNetworkLoads(true);

0 comments on commit ff9625b

Please sign in to comment.