Disable multi touch for specific View in Android?
To prevent multi touch you should turn off splitMotionEvents or windowEnableSplitTouch attribute inside ViewGroup were buttons are located.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:splitMotionEvents="false">
<!--Multi touch is disabled here-->
</LinearLayout>
Written by Dmytro
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Multitouch
Authors
dmytrodanylyk
12.84K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#