Put "show all folders" in action bar
Change-Id: I4af74342b3b1eae3a94ebf6616280ebf47d14e5f
This commit is contained in:
parent
b507ece493
commit
1917bcbc17
@ -33,9 +33,18 @@
|
||||
android:icon="@drawable/ic_menu_compose_holo_light"
|
||||
android:showAsAction="ifRoom"
|
||||
/>
|
||||
<!-- STOPSHIP: replace with proper asset -->
|
||||
<item
|
||||
android:id="@+id/show_all_mailboxes"
|
||||
android:orderInCategory="300"
|
||||
android:alphabeticShortcut="c"
|
||||
android:title="@string/mailbox_list_account_selector_show_all_folders"
|
||||
android:icon="@drawable/ic_menu_move_to_holo_light"
|
||||
android:showAsAction="ifRoom"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/refresh"
|
||||
android:orderInCategory="300"
|
||||
android:orderInCategory="400"
|
||||
android:alphabeticShortcut="r"
|
||||
android:title="@string/refresh_action"
|
||||
android:icon="@drawable/ic_menu_refresh_holo_light"
|
||||
|
@ -602,6 +602,9 @@ class UIControllerOnePane extends UIControllerBase {
|
||||
case R.id.older:
|
||||
moveToOlder();
|
||||
return true;
|
||||
case R.id.show_all_mailboxes:
|
||||
showAllMailboxes();
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user