title: Distinguish between scaling gesture and on touch listener
body: <p>I am using a gesture detector inside a onTouchListener, but I want to have independent actions for pinching and single presses. Is there a workaround that allows an android application to do both?</p>
  
  <pre><code>ScaleGestureDetector gestureDetector;
  
  private class movePoint implements View.OnTouchListener {
      public boolean onTouch(View v, MotionEvent event) {
          gestureDetector.onTouchEvent(event);
          switch (event.getAction()) {
              case (MotionEvent.ACTION_DOWN):
                  break;
              case (MotionEvent.ACTION_UP):
                  break;
  
          }
  }
  </code></pre>