title: Programmatically zoom out in an android WebView
body: <p>I need to find a way to programmatically zoom out of a WebView on android. Background: I created a phonegap/cordova web app which has a fixed layout. I am using these settings to proper display of the app across devices:</p>
  
  <pre><code>this.appView.getSettings().setUseWideViewPort(true); 
  this.appView.getSettings().setLoadWithOverviewMode(true);
  this.appView.getSettings().setSupportZoom(true);
  this.appView.getSettings().setDefaultZoom(ZoomDensity.FAR);
  this.appView.getSettings().setBuiltInZoomControls(true);
  this.appView.setInitialScale(0);
  </code></pre>
  
  <p>So far it worked well until a text input field gains focus. Then the app gets rescaled and its impossible to return to the proper view. I searched and worked on this problem for over a day now tried many possible solutions but none worked for me. The approach I am working now on is to make a native call when the text input field looses focus and then to reset the zoom. But I don't know a way to reset the zoom.</p>
  
  <p><code>webView.zoomOut();</code> is too slow and <code>webView.setInitialScale(..);</code> does nothing.</p>
  
  <p>I am looking for something like <code>webView.setZoomLevel(..);</code> or <code>webView.setScale(..);</code> but I can not find it in the api.</p>
  
  <p>Pulling out my hair about this.. Please help.</p>
  
  <p>BTW, my meta viewport setting is</p>
  
  <pre><code>&lt;meta name="viewport" content="width=640,height=device-height,target-densityDpi=device-dpi" /&gt;
  </code></pre>