How to capture onTouch events on two overlapping views?
Layout ! * Container is a relative layout contains two custom views: OuterView1 and InnerView2 * Outer View1 is a custom view, matching the parent’s size (full screen) * Inner View2 is also a custom view, laid on top of OuterView1 overlapping it. Container is a relative layout contains two custom views: OuterView1 and InnerView2 Outer View1 is a custom view, matching the parent’s size (full screen) Inner View2 is also a custom view, laid on top of OuterView1 overlapping it. On both OuterView1 and InnerView2, I want to capture these touch events onSingleTapConfirmed() and onFling(). The area