Disabling the webview scaling function when clicking on a text field?

I have a webview with many text fields and some images. I disabled all the zoom and zoom controls in the webview. But my problem is when I click on the text box to enlarge it. I want to disable the full scale of the WebView, even if I do not want to zoom in when I click on the text box. I went through this link and tried all these methods, but still have a problem with the increase when I click on the text field.

+3
source share
1 answer

I got an answer

webView.getSettings().setDefaultZoom(ZoomDensity.FAR);
    webView.getSettings().setBuiltInZoomControls(true);
    webView.getSettings().setSupportZoom(true);
    webView.getSettings().setJavaScriptEnabled(true);
    webView.getSettings().setLoadWithOverviewMode(false);
    webView.getSettings().setUseWideViewPort(false);
+5
source

All Articles