Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2012 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 18 | <!-- Action bar items for the tablet when viewing a conversation in landscape mode. --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 19 | <menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 21 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 22 | <item |
Mindy Pereira | 21980a6 | 2012-05-15 12:45:12 -0700 | [diff] [blame] | 23 | android:id="@+id/archive" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 24 | android:title="@string/archive" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 25 | app:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 26 | android:icon="@drawable/ic_archive_wht_24dp" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 27 | android:alphabeticShortcut="@string/trigger_archive_char" /> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 28 | |
Mindy Pereira | 01f3050 | 2012-08-14 10:30:51 -0700 | [diff] [blame] | 29 | <item |
| 30 | android:id="@+id/remove_folder" |
| 31 | android:title="@string/remove_folder" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 32 | app:showAsAction="always" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 33 | android:icon="@drawable/ic_remove_label_wht_24dp" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 34 | android:visible="false" |
| 35 | android:alphabeticShortcut="@string/trigger_archive_char" /> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 36 | |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 37 | <!-- Depends on FolderCapabilities.DELETE --> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 38 | <item |
| 39 | android:id="@+id/delete" |
| 40 | android:title="@string/delete" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 41 | app:showAsAction="always" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 42 | android:icon="@drawable/ic_delete_wht_24dp" |
| 43 | android:alphabeticShortcut="@string/trigger_delete_char" /> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 44 | |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 45 | <!-- Depends on the user viewing a draft label, and the above menu item not being shown --> |
| 46 | <item |
| 47 | android:id="@+id/discard_drafts" |
| 48 | android:title="@string/discard_drafts" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 49 | app:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 50 | android:icon="@drawable/ic_delete_wht_24dp" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 51 | android:visible="false" |
| 52 | android:alphabeticShortcut="@string/trigger_delete_char" /> |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 53 | <!-- Depends on the user viewing a outbox label and the setting supports delete --> |
| 54 | <item |
| 55 | android:id="@+id/discard_outbox" |
| 56 | android:title="@string/discard_failed" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 57 | app:showAsAction="always" |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 58 | android:icon="@drawable/ic_delete_wht_24dp" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 59 | android:visible="false" |
| 60 | android:alphabeticShortcut="@string/trigger_delete_char" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 61 | |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 62 | <item |
| 63 | android:id="@+id/inside_conversation_unread" |
| 64 | android:title="@string/mark_unread" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 65 | app:showAsAction="always" |
Rohan Shah | 1c4cc9b | 2014-08-11 11:53:38 -0700 | [diff] [blame] | 66 | android:icon="@drawable/ic_menu_mark_unread_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 67 | |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -0700 | [diff] [blame] | 68 | <item |
| 69 | android:id="@+id/move_to" |
| 70 | android:title="@string/menu_move_to" |
Rohan Shah | efc8bf3 | 2014-08-27 15:27:13 -0700 | [diff] [blame] | 71 | app:showAsAction="always" |
Rohan Shah | 0c4c19b | 2014-08-27 16:15:23 -0700 | [diff] [blame] | 72 | android:icon="@drawable/ic_move_to_wht_24dp" /> |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -0700 | [diff] [blame] | 73 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 74 | <!-- Always available --> |
| 75 | <item |
Andrew Sapperstein | 6c570db | 2013-08-06 17:21:36 -0700 | [diff] [blame] | 76 | android:id="@+id/change_folders" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 77 | android:title="@string/menu_change_folders" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 78 | app:showAsAction="never" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 79 | android:icon="@drawable/ic_change_labels_wht_24dp" |
| 80 | android:alphabeticShortcut="@string/trigger_change_label_char" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 81 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 82 | <item |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 83 | android:id="@+id/move_to_inbox" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 84 | app:showAsAction="never" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 85 | android:title="@string/menu_move_to_inbox" |
| 86 | android:icon="@drawable/ic_move_to_inbox_wht_24dp" /> |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 87 | |
| 88 | <item |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 89 | android:id="@+id/mark_important" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 90 | app:showAsAction="never" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 91 | android:title="@string/mark_important" /> |
| 92 | |
| 93 | <item |
| 94 | android:id="@+id/mark_not_important" |
| 95 | android:title="@string/mark_not_important" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 96 | app:showAsAction="never" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 97 | |
| 98 | <item |
| 99 | android:id="@+id/mute" |
| 100 | android:title="@string/mute" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 101 | app:showAsAction="never" /> |
Andrew Sapperstein | 6293ef0 | 2013-10-07 18:22:10 -0700 | [diff] [blame] | 102 | |
| 103 | <item android:id="@+id/print_all" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 104 | android:title="@string/print_all" |
| 105 | android:visible="false" |
| 106 | android:alphabeticShortcut="@string/trigger_print_char" /> |
Andrew Sapperstein | 6293ef0 | 2013-10-07 18:22:10 -0700 | [diff] [blame] | 107 | |
Andrew Sapperstein | 2fc6730 | 2013-04-29 18:24:56 -0700 | [diff] [blame] | 108 | <item |
| 109 | android:id="@+id/show_original" |
| 110 | android:title="@string/menu_show_original" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 111 | app:showAsAction="never"/> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 112 | |
| 113 | <item |
| 114 | android:id="@+id/report_spam" |
| 115 | android:title="@string/report_spam" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 116 | app:showAsAction="never"/> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 117 | |
Paul Westbrook | 76b2062 | 2012-07-12 11:45:43 -0700 | [diff] [blame] | 118 | <!-- Depends on AccountCapabilities.REPORT_SPAM --> |
| 119 | <item |
| 120 | android:id="@+id/mark_not_spam" |
| 121 | android:title="@string/mark_not_spam" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 122 | app:showAsAction="never" |
Paul Westbrook | 76b2062 | 2012-07-12 11:45:43 -0700 | [diff] [blame] | 123 | android:visible="false" /> |
| 124 | |
| 125 | <!-- Depends on AccountCapabilities.REPORT_PHISHING --> |
| 126 | <item |
| 127 | android:id="@+id/report_phishing" |
| 128 | android:title="@string/report_phishing" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 129 | app:showAsAction="never" |
Paul Westbrook | 76b2062 | 2012-07-12 11:45:43 -0700 | [diff] [blame] | 130 | android:visible="false" /> |
| 131 | |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 132 | <!-- These invisible menu items are used to enable keyboard shortcuts --> |
| 133 | <item |
| 134 | android:id="@+id/compose" |
| 135 | android:title="@string/menu_compose" |
| 136 | android:visible="false" |
| 137 | android:alphabeticShortcut="@string/trigger_compose_char" /> |
| 138 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 139 | <item android:id="@+id/refresh" |
| 140 | android:title="@string/refresh" |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 141 | android:visible="false" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 142 | android:alphabeticShortcut="@string/trigger_refresh_char" /> |
| 143 | |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 144 | <item |
| 145 | android:id="@+id/reply" |
| 146 | android:title="@string/reply" |
| 147 | android:visible="false" |
| 148 | android:alphabeticShortcut="@string/trigger_reply_char" /> |
| 149 | |
| 150 | <item |
| 151 | android:id="@+id/reply_all" |
| 152 | android:title="@string/reply_all" |
| 153 | android:visible="false" |
| 154 | android:alphabeticShortcut="@string/trigger_reply_all_char" /> |
| 155 | |
| 156 | <item |
| 157 | android:id="@+id/toggle_read_unread" |
| 158 | android:title="@string/toggle_read_unread" |
| 159 | android:visible="false" |
| 160 | android:alphabeticShortcut="@string/trigger_toggle_read_unread_char" /> |
| 161 | |
| 162 | <item |
| 163 | android:id="@+id/toggle_drawer" |
| 164 | android:title="@string/menu_toggle_drawer" |
| 165 | android:visible="false" |
| 166 | android:alphabeticShortcut="@string/trigger_toggle_drawer_char" /> |
| 167 | |
| 168 | <item |
| 169 | android:id="@+id/settings" |
| 170 | android:title="@string/menu_settings" |
| 171 | android:visible="false" |
| 172 | android:alphabeticShortcut="@string/trigger_settings_char" /> |
| 173 | |
| 174 | <item |
| 175 | android:id="@+id/help_info_menu_item" |
| 176 | android:title="@string/help_and_feedback" |
| 177 | android:visible="false" |
| 178 | android:alphabeticShortcut="@string/trigger_help_char" /> |
| 179 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 180 | </menu> |