Hi guyz im able to pinch zoom the image in webview its working properly. Zoom in is working fine but problem is zoom out. Image goes small and small. How can i limit zoom out to the size of the image?
webview. getSettings(). setLoadWithOverviewMode(true); This will cause the webview to be zoomed out initially.
Press and hold Ctrl and press and hold left mouse and while doing that move your mouse. With a trackpad: Press and hold Ctrl and press and hold your trackpad and move with a finger to the LEFT and RIGHT (not up and down).
mWebView.getSettings().setSupportZoom(true);
mWebView.getSettings().setBuiltInZoomControls(true);
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