title: Make views intercept taps but not scroll events
body: <p>My problem is that I can't find a way where I intercept taps without blocking the propagation of other events, such as scroll, to the views bellow it.</p>
  
  <p>I'm using a custom view to handle the tap events:</p>
  
  <pre><code>public class TapableImageView extends AppCompatImageView {
      private GestureDetectorCompat mDetector;
      ...
      public void setOnTapListener(OnTapListener onTapListener){
          mDetector = new GestureDetectorCompat(getContext(), new GestureDetector.SimpleOnGestureListener(){
              @Override
              public boolean onSingleTapUp(MotionEvent event) {
                  onTapListener.onTap(TapableImageView.this);
                  return true;
              }
          });
      }
  
      @Override
      public boolean dispatchTouchEvent(MotionEvent ev) {
          super.dispatchTouchEvent(ev);
          if(mDetector != null)
              return !mDetector.onTouchEvent(ev);
          return false;
      }
  }
  </code></pre>