title: Android: delegate touch event to underlaying view
body: <p>I have the following hierarchy: <code>Activity</code> -> <code>PopupWindow</code> -> <code>CustomView</code></p>
  
  <p>My the <code>PopupWindow</code> itself is a square, but transparent, so you can see the Activity sitting in the background. The <code>CustomView</code> is a circle embedded inside the PopupWindow.
  <img src="https://i.stack.imgur.com/zFutR.png" alt="alt text"></p>
  
  <p>What I have achieved so far is</p>
  
  <ol>
  <li>User clicks on green circle and I invoke "some stuff"</li>
  <li>User clicks outside of the <code>PopupWindow</code> and the touch event gets dispatched to the Activity.</li>
  </ol>
  
  <p>The missing part is now, to dispatch any touch event that happens inside the <code>PopupWindow</code> but outside the <code>CustomView</code> (circle) to the Activity. </p>
  
  <p>I already know how to sense when the touch is outside of my circle. I just have problems delegating it to the Activity.</p>
  
  <p>In my <code>CustomView</code> I have the following in <code>onTouch</code></p>
  
  <pre><code>if (radiusTouch &gt; maxRadius) {
      return false;
  }
  </code></pre>
  
  <p>In my <code>PopupWindow</code> I already setup the following, but it gets never called:</p>
  
  <pre><code>popup.setTouchInterceptor(new OnTouchListener() {
  
      @Override
      public boolean onTouch(View v, MotionEvent event) {
          Log.i(TAG, "PopupWindow :: onTouch()");
          return false;
      }
  });
  </code></pre>
  
  <p>Anything else I have to do to delegate the touch event all the way to the Activity?</p>