title: enable/disable zoom in Android WebView
body: <p>There are some methods in WebSettings related to zoom:</p>
  
  <ul>
  <li>WebSettings.setSupportZoom</li>
  <li>WebSettings.setBuiltInZoomControls</li>
  </ul>
  
  <p>I noticed they work differently on some devices.
  For example, on my Galaxy S pinch to zoom is enabled by default, but on LG P500 it is disabled (And now I don't know how to enable ONLY pinch to zoom, but hide zooming buttons).</p>
  
  <p>On P500 when I call <code>setBuiltInZoomControls(true)</code> I get both these variants working (multitouch and buttons).</p>
  
  <p>How to enable multitouch zoom and disable zooming buttons on devices such an LG P500? (Also, I know the same problems are on HTC devices)</p>
  
  <p>UPDATE: Here is almost full code for the solution </p>
  
  <pre><code>if (ev.getAction() == MotionEvent.ACTION_DOWN ||
          ev.getAction() == MotionEvent.ACTION_POINTER_DOWN ||
          ev.getAction() == MotionEvent.ACTION_POINTER_1_DOWN ||
          ev.getAction() == MotionEvent.ACTION_POINTER_2_DOWN ||
          ev.getAction() == MotionEvent.ACTION_POINTER_3_DOWN) {
      if (multiTouchZoom &amp;&amp; !buttonsZoom) {
          if (getPointerCount(ev) &gt; 1) {
              getSettings().setBuiltInZoomControls(true);
              getSettings().setSupportZoom(true);
          } else {
              getSettings().setBuiltInZoomControls(false);
              getSettings().setSupportZoom(false);
          }
      }
  }
  
  if (!multiTouchZoom &amp;&amp; buttonsZoom) {
      if (getPointerCount(ev) &gt; 1) {
          return true;
      }
  }
  </code></pre>
  
  <p>This code is in my <code>onTouchEvent</code> overridden method of the WebView.</p>