My Life with Android
Android Option Menu
- Android Option Menus are the primary menus of android. They can be used for settings, search, delete item etc.
- Here, we are inflating the menu by calling the inflate() method of MenuInflater class.
- To perform event handling on menu items, you need to override onOptionsItemSelected() method of Activity class.