Specifically using the code below, is there a way to modify it so that the activity under this newly created view does not receive any gestures?
View v1 = new Vi
all you need to do is just call
arg0.getParent().requestDisallowInterceptTouchEvent(true);
at the beginning of your onTouch function. Like thsi -
@Override
public boolean onTouch(View arg0, MotionEvent arg1) {
arg0.getParent().requestDisallowInterceptTouchEvent(true);
switch(arg1.getActio){
}
return false;
}