How to dismiss the dialog only not the activity which calling that dialog on press of back key?
<p>I am populating a dialog which is having a tab view from an activity. Tab view start different activity on clicking different tab with the help of different intent. If i press back key, activity which is calling dialog is also getting dismissed with dialog. But on press of back key i just wnat to dismiss the dialog not the calling activity. how to do that? </p>
