ScrollView with children view, how to intercept scroll conditionally
I have a container ViewGroup , lets call it screen inside a ScrollView . This container view hosts a number of other Views let's call them widgets , and some of them are interested in preventing the ScrollView from scrolling and using the MotionEvent theirselves (for example a pannable image) I can't figure out the proper event intercept strategy to use. ScrollView always processes the event before the children, or the children process the event but scrollview is disabled. I read about issuing getParent().requestDisableInterceptTouchEvent() in the child views if this view wants to capture the