webview: hide builtin zoom controls
This commit is contained in:
parent
aeb707ae47
commit
77e7bef968
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user