My Life with Android
Introduction Android Componets UserInterface Advanced UI Data Storage Advanced Concepts Others New Studio

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.