For some reason, I have to disable the multi-touch feature in my application. The user can only press one button at a time, or the application crashes. Is there a way to implement this requirement?
Thanks a lot!
To prevent this, you should disable the splitMotionEvents or windowEnableSplitTouch attribute inside the ViewGroup. are located.
android:splitMotionEvents="false"
add this line to your manifest
< uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
Source: https://habr.com/ru/post/920017/More articles:defaultRepresentation fullScreenImage on ALAsset does not return image in full screen - iosDjango / mod_wsgi OSError: [Errno 13] Permission denied: 'static' when DEBUG = OFF - pythonPassing F # - curryingHow to return to the previous view in Objective-C? - iosQtMultimedia module in Ubuntu 12.04LTS - qt4Go back a few steps in the custom animation navigation tree - objective-chow to catch a specific pyobbc error message - pythonSpring data - inheritance of domain objects and common methods - javaWhere is the Select option set in the Netbeans panel? - javaWhat is the difference between nesting module definitions and using :: in a ruby โโdefinition? - scopeAll Articles