I'm trying to build a custom dialog (a date-time selector). I make a new activity where I have edit controls and a button. When user press the button, i wish to go back in the main activity. I know is recomanded to use the "back" button of phone, but i want to know if it is possible what i want to do.
How can i do that?
How can i do that?