As per the title, how I can hide the zoom control in a webview?
webview. getSettings(). setLoadWithOverviewMode(true); This will cause the webview to be zoomed out initially.
Important Methods of Zoom Controls ZoomControl zoomControls = (ZoomControls) findViewById(R. id. simpleZoomControl); show(): This method is used to show the zoom controls on the App UI.
You should use WebSettings and set setDisplayZoomControls to false. This will allow the user to still use the pinch to zoom but the controls will not be displayed.
myWebView.getSettings().setDisplayZoomControls(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With