How could I make my button to do the on click action even if the button is pressed and the finger is still on the screen (the button is not released). Or I would accept the solution that when a button is pressed and is not release, the other buttons on the layout to not be blocked.
Share
Instead of using an
OnClickListenerconsider using anOnTouchListener. You can then detect when the user’s finger touches:ACTION_DOWNand releasesACTION_UPthe button.A method like this would probably work fine: