Android Design 1:back keys and up keys in app navigation

Source: Internet
Author: User

One, the concept

1, back key always exists in Android system

1-1 return under Any page

1-2 Floating Window

1-3 contexual Action Bar/highlight Select

1-4 Keyboard


2, the UP key comes with Android design.

2-1 android Design defined by the parent container

The main interface of the 2-2 app does not exist with the UP key



Second, situational analysis

1, inside the app

1-1 Step Deep Path

Back: According to the order of activity in the stack

Up: According to the order of activity in the stack.


1-2 did not follow a step-by-step path, such as jumping from book to movie

Back: According to the location of the activity in the stack

Up: Return to parent container (back to Movie home page)


2, two app jumps (jump from Play Store to Gmail share)

Back: According to the order of activity in the stack

Stack status : No new stacks will be created and will be added to the store's stack separately from the Gmail share page that jumps to. If Gmail had already had a stack, it wouldn't be affected.


Up: Returns the currently applied parent container

Stack status : A new stack will be created to return to the parent container Activity, if the original Gmail already has a stack, the original stack will be destroyed. Because the system wants to update to the latest state. The store stack will also remain in the background and can be recents screen.

Three, Reference

Http://developer.android.com/design/patterns/navigation.html#between-apps

This article is from the "Little New column" blog, please be sure to keep this source http://mikewang.blog.51cto.com/3826268/1416250

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.