I would like to show a dialog and still be able to receive button click events coming from outside the dialog on the main activity, how can I do that?
In otherwords, if someone clicks on a button outside the dialog and this button is on the main activity screen, then I would like to receive this event.
Any help is appreciated
This is not a built in feature with Dialogs, however a PopUpWindow does have the ability to receive touches that are outside of the window. You can use PopUpWindow’s setOutsideTouchable() and setTouchIntercepter() to achieve what you want.