Is it possible to disable touch events for all views inside the layout by setting up ParentLayout. I know that this is possible by looking at each individual view contained in the layout, but it would be very useful if there was a way to do this for the full layout. I have already tried the following, but all in vain.
ParentLayout.setClickable(false); ParentLayout.onFilterTouchEventForSecurity(event); ParentLayout.onTouchEvent(event); ParentLayout.setOnTouchListener(l); ...
and others in a similar way. Any help would be greatly appreciated.
source share