Disable the touch events for all the views

前端 未结 13 1389
暗喜
暗喜 2020-11-28 06:53

What\'s the best way to disable the touch events for all the views?

13条回答
  •  再見小時候
    2020-11-28 07:01

    It may not be possible for the whole application. You will have to override onTouchEvent() for each view and ignore the user inputs.

提交回复
热议问题