Can't get touch event detected on a view and click event detected on a parent view
问题 I've got a layout 'layout_base' that fills the screen and a child view 'home'. I set an OnClickListener on the 'layout_base' to do some action (close a popup if it's open), and an OnTouchListener on 'home' to do some other action (translate on fling). My issue is that I can only get the action done if I return true in the onTouch method of the 'home' touch listener. If I return false , onFling is not called. Why? From the doc I've read that this only mean that the event is consumed, i.e. from