title: Only intercept double taps
body: <p>I currently have a GestureDetector on a webView that I want to respond to double taps.  However, the webView then ignores all single taps - presumably I have overridden this behaviour too.   </p>
  
  <p>I am looking for:</p>
  
  <ul>
  <li>Double taps to be detected by my code and dealt with by my activity</li>
  <li>Regular taps to be dealt with as normal by the WebView</li>
  </ul>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>final WebView web = (WebView) findViewById(R.id.webView1);
  WebViewClient webrules = new WebViewClient(){
          public boolean shouldOverrideUrlLoading(WebView web,String url){
              return false;
          }
      };
      web.setWebViewClient(webrules);
      WebSettings webSettings = web.getSettings();
      webSettings.setJavaScriptEnabled(true);
  </code></pre>
  
  <p>&nbsp;</p>
  
  <pre><code>final GestureDetector gestureDetector = new GestureDetector(new GestureDetector.SimpleOnGestureListener() {
  
          @Override
          public boolean onDoubleTap(MotionEvent e) {
              Log.d("**APP**", "Double Tap event");
              return true;
          }
  
          @Override
          public boolean onDown(MotionEvent e) {
              return true;
          }
      });
      gestureDetector.setIsLongpressEnabled(true);
  
      web.setOnTouchListener(new OnTouchListener(){
  
          @Override
          public boolean onTouch(View v, MotionEvent event) {
              return gestureDetector.onTouchEvent(event);
          }
  
      });
  </code></pre>
  
  <p>How can I leave the normal single taps to the webView to deal with?</p>