How to vary between child and parent view group touch events

The onTouchEvents() for nested view groups can be managed by the boolean onInterceptTouchEvent. The default value for the OnInterceptTouchEvent is false. The parent’s onTouchEvent is received before the child’s. If the OnInterceptTouchEvent returns false, it sends the motion event down the chain to the child’s OnTouchEvent handler. If it returns true the parent’s will handle … Read more