I'm using WebView to show some html content with different width. Initial scale is set up to show all page content. without horizontal scroll. This code is used:
webView.getSettings().setUseWideViewPort(true);
webView.getSettings().setLoadWithOverviewMode(true);
Now I want to forbid zoom out but keep zoom in enabled. Can anyone help to find the way?
UPD:
Some additional explanations.
I want to limit minimum scale for webView. For example, If scale=0.67
make page to fit the width of WebView I want to forbid user set scale less then 0.67
, but keep the possibility to set scale greater than 0.67
. Main problem here is that displaying content has different width and therefore minimal scale is different for different pages.