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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With