Home key press behaviour

前端 未结 8 1649
北恋
北恋 2020-12-03 08:36

While developing a sample android application i have constructed two activities 1)Activity 1 2)Activity 2

Now Activity 2 is the foreground activity whereas Activity

8条回答
  •  情深已故
    2020-12-03 09:12

    I can also recommend reading Activity and Task Design Guidelines. These are the user interface guidelines on how to behave when the Home button pressed, when the Back button is pressed, and so on.

    It's not very technical, but it illustrates very well how your app should behave and what the OS expects.

提交回复
热议问题