How Can I disable or Block Touch in Android Studio for a whole Activity? I know how to disable touch for a Single or more Views but not how to disable it for a whole activity...
Asked
Active
Viewed 6,097 times
2 Answers
0
block touch event
getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,
WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);

Jai Khambhayta
- 4,198
- 2
- 22
- 29