2

I am working through Android programming tutorials and am trying to learn "Up" navigation. I got it to work by adding setDisplayHomeAsUpEnabled, but when I remove this statement, clean the project and re-deploy, up navigation still works. Why does this happen? I should just see a static, go-nowhere child activity screen, shouldn't I?

1 Answers1

1

Activities are automatically pushed onto a stack, the up/back button naturally pops the stack. Life cycle of Android Activity after pressing Back button

Community
  • 1
  • 1
Dave S
  • 3,378
  • 1
  • 20
  • 34