webview: hide builtin zoom controls

This commit is contained in:
Andrew Dolgov 2012-12-09 15:10:00 +04:00
parent aeb707ae47
commit 77e7bef968
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ public class ArticleFragment extends Fragment {
WebSettings ws = web.getSettings(); WebSettings ws = web.getSettings();
ws.setSupportZoom(true); ws.setSupportZoom(true);
ws.setBuiltInZoomControls(true); ws.setBuiltInZoomControls(false);
web.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); web.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);

View File

@ -166,7 +166,7 @@ public class OfflineArticleFragment extends Fragment {
WebSettings ws = web.getSettings(); WebSettings ws = web.getSettings();
ws.setSupportZoom(true); ws.setSupportZoom(true);
ws.setBuiltInZoomControls(true); ws.setBuiltInZoomControls(false);
web.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); web.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);