Today I came across a issue where simultaneous touch on more than one button makes app misbehave as the api calls were made on both buttons. In order to resolve the issue I came across a solution. Though there are other ways too but I felt this one is the simplest and most efficient.
If you make a custom theme with
options in there , the app would not accept multiple touch throughout the application or you can use this theme for a particular activity
The theme would look somewhat like below:
Style property allows you to disable split touch events across windows, by applying it to a theme for the activity or entire application.
attribute for view groups allows you to disable split touch events that occur between child views in a layout.
You can use both or either of them in the theme as per your requirements.