Hi I’m developing an app in which I’m using a dialog on an activity. The dialog will just display a picture and when the user touch on the picture the dialog should dismiss and the activity which started the dialog should come in front. The Dialog doesn’t have any buttons.
My problem in this app is that I can’t get the touch events on the dialog, I tried searching on the internet for a solution for this problem but I couldn’t find a proper way to implement it. So can any one please suggest a way of doing this…
Try like this..