WebView - Hide zoom buttons but be able to pinch to zoom

nad

Active Member
Licensed User
Longtime User
Hello,

I would like to use a webview and be able to pinch in and out with both fingers but hide the zoom in/out buttons the webview creates. (I want to design my own buttons)

If i use webview1.zoomenabled=true it disables the pinch (not what i need).

I have tried to find it in some webview extension libraries but couldn't find it. Has anyone done something similar?

Cheers,
 
Last edited:

nad

Active Member
Licensed User
Longtime User
Wondering if i could use this using the reflection library

wv.getSettings().setDisplayZoomControls(false);
 
Last edited:
Upvote 0

nad

Active Member
Licensed User
Longtime User
I think i cannot with that library, zoomcontrols method is not included.
Also could not with WebViewXtender.

Thanks for your reply.
 
Upvote 0

metrick

Active Member
Licensed User
Longtime User
Nad: I looking to do the same thing. Did you find solution and can you share? Thanks.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…