In many apps (Calendar, Drive, Play Store) when you tap a button and enter a new activity, the icon in the title bar turns into a back button, but for the app I am making, i
It can also be done without code by specifying a parent activity in app manifest
If you want a back button in Activity B which will goto Activity A, just add Activity A as the parent of Activity B in the manifest.