Reputation: 607
When clicking the back button, the app completely closes, instead of going back one activity in the back stack. How come?
To clarify:
A --> B - App launches and user clicks on a button that starts another activity.
A <-- B - User clicks back button and goes back to previous activity (this is what I expected to happen).
<-- B - User clicks back button and app completely closes (what actually happens).
Could it possibly be my manifest file?
Upvotes: 0
Views: 71
Reputation: 397
It's not your Manifest. The Activity 'A' is Finished which only happens at intent
.
Also, Check what is happening when you press Back Button while you are in Activity B.
Upvotes: 0