Disable multi finger touch in my app [duplicate]
For case: you have multiple buttons and you want make selected only one button. In parent (NOT ROOT, just parent of child) of buttons, in its xml params add android:splitMotionEvents=”false” And that’s it. Example: <LinearLayout android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:orientation=”horizontal” android:splitMotionEvents=”false” <———–!!! > <Button android:id=”@+id/button_main_1″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”button1″ /> <Button android:id=”@+id/button_main_2″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”button2″ /> <Button android:id=”@+id/button_main_3″ … Read more