Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are the 4 Android buttons standard? Ex. back button, menu button

Tags:

android

Are the physical buttons that Android phones come with standard? Specifically the back, menu, home, and search button? In my applications I assume everyone has a back button so I don't bother putting in a "soft" button to go back to a previous screen.

For some reason I can't find any official documentation on this.

Looking at http://www.androphones.com/2010-android-phones.php it appears that all of the phones have at least the back, menu and home button.

Should I just assume all phones have a back button or do I have to always code one in my apps?

like image 480
Cameron Avatar asked Aug 19 '10 18:08

Cameron


People also ask

Do all Android phones have back buttons?

All Android devices provide a Back button for this type of navigation, so you should not add a Back button to your app's UI. Depending on the user's Android device, this button might be a physical button or a software button.

What is the Back button called in Android?

Most of the time, those three buttons are (from left to right on stock Android): Back, Home, and the oddly named Overview. Some flavors of Android, including Samsung's, let you change the order of these buttons, but the principles are always the same.


1 Answers

The CDD describes what is required to be compatible:

http://source.android.com/compatibility/index.html

(See "Current CDD" on the left)

In this case:

7.2.3. Navigation keys

The Home, Menu and Back functions are essential to the Android navigation paradigm. Device implementations MUST make these functions available to the user at all times when running applications. These functions MAY be implemented via dedicated physical buttons (such as mechanical or capacitive touch buttons), or MAY be implemented using dedicated software keys, gestures, touch panel, etc.Android 4.1 supports both implementations

like image 187
hackbod Avatar answered Sep 29 '22 16:09

hackbod