For some reasons I have to disable the multi-touch feature on my app. The user can press only one button at a time, or the app would crash. Is there any way to implement this requirement?
Thanks a lot!
For some reasons I have to disable the multi-touch feature on my app. The user can press only one button at a time, or the app would crash. Is there any way to implement this requirement?
Thanks a lot!
To prevent this you should turn off splitMotionEvents or windowEnableSplitTouch attribute inside ViewGroup were buttons are located.
android:splitMotionEvents="false"
add this line to your manifest
< uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />