Not tested but I would think you could do something similar to: ScrollView Inside ScrollView
parentView.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
Log.v(TAG,"PARENT TOUCH");
findViewById(R.id.child).getParent().requestDisallowInterceptTouchEvent(false);
return false;
}
});
childView.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event)
{
Log.v(TAG,"CHILD TOUCH");
// Disallow the touch request for parent on touch of child view
v.getParent().requestDisallowInterceptTouchEvent(true);
return false;
}
});
Perhaps by simply looping through all your childViews, setting the OnTouchListener.