how to remove the zoom in and zoom out buttons on the browser

how to remove the zoom in and zoom out buttons on the browser

I think you’ll have to give us a lot more details than this.

What browser?

I’m going to assume you’re talking about a native.newWebView() and you’re on Android. The short answer is you can’t.

Rob

It’s been a while since I used this trick so YMMV but if you are in control of the page source for the page you are loading in the webview, then add this tag to your page’s <head> tag:

<meta name=“viewport” content=" initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>

If you’re just loading a 3rd party page, then this trick won’t work, of course.

(Sorry for the poor formatting; writing this on my phone.)

I think you’ll have to give us a lot more details than this.

What browser?

I’m going to assume you’re talking about a native.newWebView() and you’re on Android. The short answer is you can’t.

Rob

It’s been a while since I used this trick so YMMV but if you are in control of the page source for the page you are loading in the webview, then add this tag to your page’s <head> tag:

<meta name=“viewport” content=" initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>

If you’re just loading a 3rd party page, then this trick won’t work, of course.

(Sorry for the poor formatting; writing this on my phone.)