title: TouchEvents on Viewgroups: Catch MOVE_OVER on views
body: <p>I'm trying to figure out how to arrange my <code>onInterceptTouchEvent</code> and <code>onTouchEvent</code> overrides in various classes.</p>
  <pre><code> ButtonContainer            
            |                    
            |-----------+        
         Button      BitContainer
                              |  
                  ------------|  
                View1       View2
  </code></pre>
  <p>ButtonContainer and BitContainer are RelativeLayouts, Button, View1 and View2 are all imageviews with a drawable circle background. View1 and View2 are initially <em>invisible.</em></p>
  <p>The goal is to have ButtonContainer respond to the initial <code>ACTION_DOWN</code> event by making view1 and view2 <em>visible</em>. On the <code>ACTION_MOVE</code> event if the touch moves from Button over to View1, then the View1 onTouchEvent method should be called.</p>
  <p>I thought I would be able to use onInterceptTouchEvent on ButtonContainer and set it to true in the case of <code>ACTION_DOWN</code> but false in all other cases. Shouldn't this prevent the <code>ACTION_MOVE</code> event from going straight to the ButtonContainer onTouch and make it traverse the tree instead? If so, then the <code>ACTION_MOVE</code> event would follow the usual event flow and be detected by the other views, i.e View 1 &amp; 2.</p>
  <p>No matter what I do, I can't get the onTouchEvent methods in view1 or 2 to respond to the ACTION_MOVE gesture.</p>
  <p>Is the event likely to be getting caught elsewhere? I noticed that if View 1 is visible and <em>below</em> the TouchEvent location on the <code>ACTION_DOWN</code> even, it detects subsequent <code>ACTION_MOVE</code> events... but if the TouchEvent occurs over view 2 or button, then view1 does not respond to <code>ACTION_MOVE</code>.</p>
  <p>EDIT: Ok, so I read a bit more and it seems that if an object 'doesnt consume the ACTION_DOWN event, then it won't consume any further events (for efficiency reasons)'...</p>
  <p>I assume consume means 'is directly beneath' rather than 'is part of the ViewGroup'. Is that correct? Is there a way to pass the event to View1 so that it can be notified of ACTION_MOVE?</p>