Disable or prevent multitouch in Activity

前端 未结 9 1713
闹比i
闹比i 2020-11-30 03:11

I have several Views on an Activity which a user wants to touch quickly in succession and I capture these touches using a TouchListener and handling Motio

9条回答
  •  失恋的感觉
    2020-11-30 03:40

    if someone still searching for best solution, put in the xml the following code :

    android:splitMotionEvents = false 
    

提交回复
热议问题