1. Icons Menu
  2. Expended Menu
  3. SubMenus
  4. Context Menu
Icons Menu
  1. 不能顯示 checkboxes, radio buttons, or the shortcut keys
  2. 透過改寫 android.app.Activity.onCreateOptionsMenu(Menu)
  3. 要在method一開始call super.onCreateOptionsMenu(Menu)
  4. 透過改寫com.paad.todolist.ToDoList.onOptionsItemSelected(MenuItem)來處理事件
  1. 不支援巢式子選單
Context Menu
  1. 要註冊欲使用Context Menu的元件
  2. 透過改成android.app.Activity.onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
  3. 要在method一開始call super.onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
  4. 透過改寫com.paad.todolist.ToDoList.onContextItemSelected(MenuItem)來處理事件