Is it possible to bind 'Close' to middle mouse button, so it will close the program when clicked on it on a taskbar? Instead of clicking with right mouse button and selecting 'Close'...
I have a PopupWindow with a Close-Button, and I only want to close the PopupWindow when this Close-Button is clicked. In addition, I don't want to underlying Activity-View to be affected by any touches.
This has been asked before: Android Popup Window dismisses when clicked outside.