Android WebView zoom controls only with image not html -


I am working with webview elements and local HTML pages and images on an Android app.

When a link and image goes (Example: Images / Image .png) I want to zoom in and out the user.

But I do not want to work out zoom on html pages.

This is the reason that webView.getSettings (). SetBuiltInZoomControls (true); does not work for me.

Any suggestions?

You disable user-scalable = no on your viewport to disable user scaling Code> You can specify. See more on the viewport tag.


Comments