2008-10-27 21:04:44 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-09-10 09:58:19 -04:00
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
|
|
|
2013-01-28 19:19:53 -05:00
|
|
|
<!--
|
|
|
|
The comments preceding the (top level) menu items denote which part of the combined message
|
|
|
|
list/view activity the item belongs to. Either "MessageList", "MessageView", or "always" (as in:
|
|
|
|
always show this item, no matter what display mode we're in).
|
|
|
|
|
|
|
|
The comments are for informational purposes only. Please make sure to adjust the code in
|
|
|
|
MessageList.configureMenu() if you make any changes to this file.
|
|
|
|
-->
|
|
|
|
|
2013-02-04 11:21:42 -05:00
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
2013-02-05 09:25:52 -05:00
|
|
|
android:id="@+id/previous_message"
|
|
|
|
android:title="@string/previous_action"
|
|
|
|
android:icon="?attr/iconActionPreviousMessage"
|
2013-02-04 11:21:42 -05:00
|
|
|
android:showAsAction="always"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
2013-02-05 09:25:52 -05:00
|
|
|
android:id="@+id/next_message"
|
|
|
|
android:title="@string/next_action"
|
|
|
|
android:icon="?attr/iconActionNextMessage"
|
2013-02-04 11:21:42 -05:00
|
|
|
android:showAsAction="always"
|
|
|
|
/>
|
|
|
|
|
2013-01-28 19:19:53 -05:00
|
|
|
<!-- MessageList -->
|
2012-10-23 17:14:01 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/search"
|
|
|
|
android:icon="?attr/iconActionSearch"
|
|
|
|
android:showAsAction="always"
|
|
|
|
android:title="@string/search_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- MessageList -->
|
2012-09-22 12:40:46 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/search_remote"
|
|
|
|
android:icon="?attr/iconActionRemoteSearch"
|
|
|
|
android:showAsAction="always"
|
|
|
|
android:title="@string/action_remote_search"
|
2013-01-28 19:19:53 -05:00
|
|
|
android:visible="false"/>
|
|
|
|
|
|
|
|
<!-- MessageList -->
|
2012-09-10 09:58:19 -04:00
|
|
|
<item
|
2012-09-18 16:21:18 -04:00
|
|
|
android:id="@+id/check_mail"
|
|
|
|
android:alphabeticShortcut="r"
|
|
|
|
android:icon="?attr/iconActionRefresh"
|
2012-07-16 09:22:42 -04:00
|
|
|
android:showAsAction="always"
|
2012-09-18 16:21:18 -04:00
|
|
|
android:title="@string/check_mail_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/delete"
|
|
|
|
android:alphabeticShortcut="q"
|
|
|
|
android:icon="?attr/iconActionDelete"
|
|
|
|
android:showAsAction="always"
|
|
|
|
android:title="@string/delete_action"/>
|
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/single_message_options"
|
|
|
|
android:icon="?attr/iconActionSingleMessageOptions"
|
|
|
|
android:showAsAction="ifRoom"
|
|
|
|
android:title="@string/single_message_options_action">
|
|
|
|
<menu>
|
|
|
|
<item
|
|
|
|
android:id="@+id/reply"
|
|
|
|
android:title="@string/reply_action"/>
|
|
|
|
<item
|
|
|
|
android:id="@+id/reply_all"
|
|
|
|
android:title="@string/reply_all_action"/>
|
|
|
|
<item
|
|
|
|
android:id="@+id/forward"
|
|
|
|
android:title="@string/forward_action"/>
|
|
|
|
<item
|
|
|
|
android:id="@+id/share"
|
|
|
|
android:title="@string/send_alternate_action"/>
|
|
|
|
</menu>
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
2013-02-11 15:21:36 -05:00
|
|
|
android:id="@+id/refile"
|
|
|
|
android:icon="?attr/iconActionSingleMessageOptions"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/refile_action">
|
|
|
|
<menu>
|
|
|
|
<item
|
|
|
|
android:id="@+id/archive"
|
|
|
|
android:icon="?attr/iconActionArchive"
|
|
|
|
android:showAsAction="ifRoom"
|
|
|
|
android:title="@string/archive_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
2013-02-11 15:21:36 -05:00
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/spam"
|
|
|
|
android:icon="?attr/iconActionSpam"
|
|
|
|
android:showAsAction="ifRoom"
|
|
|
|
android:title="@string/spam_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
2013-02-11 15:21:36 -05:00
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/move"
|
|
|
|
android:icon="?attr/iconActionMoveOrCopy"
|
|
|
|
android:showAsAction="ifRoom"
|
|
|
|
android:title="@string/move_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
2013-02-11 15:21:36 -05:00
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/copy"
|
|
|
|
android:title="@string/copy_action"/>
|
|
|
|
</menu>
|
|
|
|
</item>
|
2013-01-28 19:19:53 -05:00
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/toggle_unread"
|
|
|
|
android:alphabeticShortcut="u"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/mark_as_unread_action"/>
|
|
|
|
|
2013-02-07 15:27:22 -05:00
|
|
|
<item android:id="@+id/show_headers"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/show_headers_action"/>
|
|
|
|
|
|
|
|
<item android:id="@+id/hide_headers"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/hide_headers_action"/>
|
|
|
|
|
2013-01-28 19:19:53 -05:00
|
|
|
<!-- MessageList -->
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort"
|
2012-09-04 21:40:01 -04:00
|
|
|
android:icon="?attr/iconActionSort"
|
2013-01-28 19:19:53 -05:00
|
|
|
android:showAsAction="ifRoom"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by">
|
|
|
|
<menu>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_date"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_date"/>
|
2012-03-11 18:48:56 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_arrival"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_arrival"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_subject"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_subject"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_sender"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_sender"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_flag"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_flag"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_unread"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_unread"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/set_sort_attach"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/sort_by_attach"/>
|
2010-07-05 09:41:52 -04:00
|
|
|
</menu>
|
|
|
|
</item>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- always -->
|
2012-09-18 16:21:18 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/compose"
|
|
|
|
android:alphabeticShortcut="c"
|
|
|
|
android:icon="?attr/iconActionCompose"
|
2013-01-28 19:19:53 -05:00
|
|
|
android:showAsAction="ifRoom"
|
2012-09-18 16:21:18 -04:00
|
|
|
android:title="@string/compose_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- MessageList -->
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
2010-05-15 17:03:44 -04:00
|
|
|
android:id="@+id/select_all"
|
2013-02-09 16:27:21 -05:00
|
|
|
android:icon="?attr/iconActionSelectAll"
|
2012-07-25 16:39:13 -04:00
|
|
|
android:showAsAction="never"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/batch_select_all"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
2013-04-02 13:17:58 -04:00
|
|
|
<!-- MessageList -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/mark_all_as_read"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/mark_all_as_read"/>
|
|
|
|
|
2013-01-28 19:19:53 -05:00
|
|
|
<!-- MessageList -->
|
2010-07-05 09:41:52 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/send_messages"
|
2009-10-21 20:41:06 -04:00
|
|
|
android:alphabeticShortcut="r"
|
2013-02-09 16:27:21 -05:00
|
|
|
android:icon="?attr/iconActionUpload"
|
2012-07-25 17:54:30 -04:00
|
|
|
android:showAsAction="never"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/send_messages_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- MessageList -->
|
2012-09-10 10:06:01 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/expunge"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/expunge_action"/>
|
2013-01-28 19:19:53 -05:00
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/select_text"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/select_text_action"/>
|
|
|
|
|
|
|
|
<!-- MessageView -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/toggle_message_view_theme"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/message_view_theme_action_dark"/>
|
2013-06-30 16:38:02 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/show_folder_list"
|
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/folders_title" />
|
2013-01-28 19:19:53 -05:00
|
|
|
<!-- always -->
|
2010-05-11 21:18:12 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/settings"
|
2013-02-09 16:27:21 -05:00
|
|
|
android:icon="?attr/iconActionSettings"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:showAsAction="never"
|
|
|
|
android:title="@string/preferences_action">
|
2010-05-11 21:18:12 -04:00
|
|
|
<menu>
|
2010-10-03 19:55:10 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/folder_settings"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/folder_settings_action"/>
|
2010-10-03 19:55:10 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/account_settings"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/account_settings_action"/>
|
2010-10-03 19:55:10 -04:00
|
|
|
<item
|
|
|
|
android:id="@+id/app_settings"
|
2012-09-10 09:58:19 -04:00
|
|
|
android:title="@string/global_settings_action"/>
|
2010-10-03 19:55:10 -04:00
|
|
|
</menu>
|
2010-05-11 21:18:12 -04:00
|
|
|
</item>
|
2012-09-10 09:58:19 -04:00
|
|
|
|
2013-02-05 09:25:52 -05:00
|
|
|
</menu>
|