In most applications, menus are used on the UI to provide more navigational options to the users. This makes the user experience consistent, whereas it allows the user to explore the different sections of the application using the menu. In Android, this is done with the help of the menu APIs. The menu APIs handle the user actions and define the behavior of menu options when it is triggered.
In the current Android framework, we don't need a dedicated menu button. This has been there till Android 3.0, but post that this is no more required. There is no six-item based menu panel in the current Android version, as it is used to be in the traditional Android framework. Instead, we have got an App bar that can be used for the most common types of user actions. In this section, we will discuss the variety of menus we will create in Android.
|