Disabling multitouch in android [duplicate]

有些话、适合烂在心里 提交于 2019-12-10 10:49:57

问题


How to disable multi touch in android either by manifest or programatically?


回答1:


you can use android:splitMotionEvents or android:windowEnableSplitTouch




回答2:


To prevent this you should turn off splitMotionEvents or windowEnableSplitTouch attribute inside ViewGroup were buttons are located.

android:splitMotionEvents="false"


来源:https://stackoverflow.com/questions/12111862/disabling-multitouch-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!