I have class "myButton" that inherits from class "Button". Inside implemented method "onTouch", which works if you press the button. And I need to perform actions when you click wherever outside the button.
Is there any way to verify that the touch was made outside the button?
I came up with the idea to add a touch check to the View (full screen). But in this case, if you click on the button, two events "onTouch" will be activated: inside my class "myButton" and clicking on View.