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
I think the best approach is to add a touch event and set return value True
As you can see here:
someView.setOnTouchListener(object: View.OnTouchListener {
override fun onTouch(v: View?, event: MotionEvent?): Boolean{
return true
}
})
returning True means that the top view is handling the touch and no need to hand over the touch event to other views related.