Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2011 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 | --> |
| 18 | <!-- Action bar items for the tablet when viewing a conversation --> |
| 19 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 20 | <menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 22 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 23 | <item |
Vikram Aggarwal | c30fe41 | 2012-05-18 11:58:58 -0700 | [diff] [blame] | 24 | android:id="@+id/archive" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 25 | android:title="@string/archive" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 26 | app:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 27 | android:icon="@drawable/ic_archive_wht_24dp" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 28 | android:alphabeticShortcut="@string/trigger_y_char" /> |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 29 | |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 30 | <item |
| 31 | android:id="@+id/remove_folder" |
| 32 | android:title="@string/remove_folder" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 33 | app:showAsAction="always" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 34 | android:icon="@drawable/ic_remove_label_wht_24dp" |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 35 | android:alphabeticShortcut="@string/trigger_y_char" |
| 36 | android:visible="false" /> |
| 37 | |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 38 | <!-- Depends on FolderCapabilities.DELETE --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 39 | <item |
| 40 | android:id="@+id/delete" |
| 41 | android:title="@string/delete" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 42 | app:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 43 | android:icon="@drawable/ic_delete_wht_24dp" /> |
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" |
Vikram Aggarwal | 613a1c7 | 2013-04-11 13:20:03 -0700 | [diff] [blame] | 51 | android:visible="false" /> |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 52 | <!-- Depends on the user viewing a outbox label and the setting supports delete --> |
| 53 | <item |
| 54 | android:id="@+id/discard_outbox" |
| 55 | android:title="@string/discard_failed" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 56 | app:showAsAction="always" |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 57 | android:icon="@drawable/ic_delete_wht_24dp" |
| 58 | android:visible="false" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 59 | |
| 60 | <!-- Always available --> |
| 61 | <item |
| 62 | android:id="@+id/inside_conversation_unread" |
| 63 | android:title="@string/mark_unread" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 64 | app:showAsAction="always" |
Rohan Shah | 1c4cc9b | 2014-08-11 11:53:38 -0700 | [diff] [blame] | 65 | android:icon="@drawable/ic_menu_mark_unread_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 66 | |
Vikram Aggarwal | bd6c1d3 | 2012-02-21 10:14:32 -0800 | [diff] [blame] | 67 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 68 | <item |
Rohan Shah | aab9bc7 | 2013-02-07 14:18:05 -0800 | [diff] [blame] | 69 | android:id="@+id/move_to" |
Scott Kennedy | a85831d | 2013-04-12 15:54:22 -0700 | [diff] [blame] | 70 | android:title="@string/menu_move_to" |
Rohan Shah | efc8bf3 | 2014-08-27 15:27:13 -0700 | [diff] [blame] | 71 | app:showAsAction="@string/menu_move_to_state" |
Rohan Shah | 0c4c19b | 2014-08-27 16:15:23 -0700 | [diff] [blame] | 72 | android:icon="@drawable/ic_move_to_wht_24dp" /> |
Rohan Shah | aab9bc7 | 2013-02-07 14:18:05 -0800 | [diff] [blame] | 73 | |
| 74 | <!-- Always available --> |
| 75 | <item |
Andrew Sapperstein | 6c570db | 2013-08-06 17:21:36 -0700 | [diff] [blame] | 76 | android:id="@+id/change_folders" |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -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" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 79 | android:icon="@drawable/ic_change_labels_wht_24dp" /> |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -0700 | [diff] [blame] | 80 | |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 81 | <item |
| 82 | android:id="@+id/move_to_inbox" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 83 | app:showAsAction="never" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 84 | android:title="@string/menu_move_to_inbox" |
| 85 | android:icon="@drawable/ic_move_to_inbox_wht_24dp"/> |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 86 | |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -0700 | [diff] [blame] | 87 | <!-- Always available --> |
| 88 | <item |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 89 | android:id="@+id/mark_important" |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 90 | android:title="@string/mark_important" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 91 | |
Vikram Aggarwal | bd6c1d3 | 2012-02-21 10:14:32 -0800 | [diff] [blame] | 92 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 93 | <item |
| 94 | android:id="@+id/mark_not_important" |
| 95 | android:title="@string/mark_not_important" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 96 | android:visible="false" /> |
| 97 | |
Vikram Aggarwal | bd6c1d3 | 2012-02-21 10:14:32 -0800 | [diff] [blame] | 98 | <!-- Depends on AccountCapabilities.MUTE --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 99 | <item |
| 100 | android:id="@+id/mute" |
| 101 | android:title="@string/mute" /> |
Andrew Sapperstein | 6293ef0 | 2013-10-07 18:22:10 -0700 | [diff] [blame] | 102 | |
| 103 | <item android:id="@+id/print_all" |
| 104 | android:title="@string/print_all" |
| 105 | android:visible="false" /> |
| 106 | |
Andrew Sapperstein | 2fc6730 | 2013-04-29 18:24:56 -0700 | [diff] [blame] | 107 | <item |
| 108 | android:id="@+id/show_original" |
| 109 | android:title="@string/menu_show_original"/> |
Vikram Aggarwal | bd6c1d3 | 2012-02-21 10:14:32 -0800 | [diff] [blame] | 110 | <!-- Depends on AccountCapabilities.REPORT_SPAM --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 111 | <item |
| 112 | android:id="@+id/report_spam" |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 113 | android:title="@string/report_spam" /> |
Paul Westbrook | 77eee62 | 2012-07-10 13:41:57 -0700 | [diff] [blame] | 114 | <!-- Depends on AccountCapabilities.REPORT_SPAM --> |
| 115 | <item |
| 116 | android:id="@+id/mark_not_spam" |
| 117 | android:title="@string/mark_not_spam" |
Paul Westbrook | 77eee62 | 2012-07-10 13:41:57 -0700 | [diff] [blame] | 118 | android:visible="false" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 119 | |
Paul Westbrook | 76b2062 | 2012-07-12 11:45:43 -0700 | [diff] [blame] | 120 | <!-- Depends on AccountCapabilities.REPORT_PHISHING --> |
| 121 | <item |
| 122 | android:id="@+id/report_phishing" |
| 123 | android:title="@string/report_phishing" |
| 124 | android:visible="false" /> |
| 125 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 126 | </menu> |