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 | |
| 19 | <!-- Menu for the action mode invoked when items are selected |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 20 | in the conversation list. Order is important! --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 21 | <menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 23 | <item |
Mindy Pereira | f98b318 | 2012-02-22 11:07:13 -0800 | [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" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 27 | android:icon="@drawable/ic_archive_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 28 | |
| 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" |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 34 | android:visible="false" /> |
| 35 | |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 36 | <!-- Depends on FolderCapabilities.DELETE --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 37 | <item |
| 38 | android:id="@+id/delete" |
| 39 | android:title="@string/delete" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 40 | app:showAsAction="always" |
Jin Cao | a6b4521 | 2014-09-18 13:46:54 -0700 | [diff] [blame] | 41 | android:icon="@drawable/ic_delete_wht_24dp" /> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 42 | |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 43 | <!-- Depends on the user viewing a draft label, and the above menu item not being shown --> |
| 44 | <item |
| 45 | android:id="@+id/discard_drafts" |
| 46 | android:title="@string/discard_drafts" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 47 | app:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 48 | android:icon="@drawable/ic_delete_wht_24dp" |
Vikram Aggarwal | 613a1c7 | 2013-04-11 13:20:03 -0700 | [diff] [blame] | 49 | android:visible="false" /> |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 50 | <!-- Depends on the user viewing a outbox label and the setting supports delete --> |
| 51 | <item |
| 52 | android:id="@+id/discard_outbox" |
| 53 | android:title="@string/discard_failed" |
Andrew Sapperstein | 2576894 | 2014-08-28 18:04:05 -0700 | [diff] [blame] | 54 | app:showAsAction="always" |
Jin Cao | 512821c | 2014-05-30 15:54:04 -0700 | [diff] [blame] | 55 | android:icon="@drawable/ic_delete_wht_24dp" |
| 56 | android:visible="false" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 57 | |
Andrew Sapperstein | 43a1cc1 | 2013-05-03 10:21:02 -0700 | [diff] [blame] | 58 | <!-- Only one of mark read or mark unread is shown. --> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 59 | <item |
| 60 | android:id="@+id/read" |
| 61 | android:title="@string/mark_read" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 62 | app:showAsAction="always" |
Rohan Shah | 1c4cc9b | 2014-08-11 11:53:38 -0700 | [diff] [blame] | 63 | android:icon="@drawable/ic_menu_mark_read_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 64 | |
| 65 | <item |
| 66 | android:id="@+id/unread" |
| 67 | android:title="@string/mark_unread" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 68 | app:showAsAction="always" |
Rohan Shah | 1c4cc9b | 2014-08-11 11:53:38 -0700 | [diff] [blame] | 69 | android:icon="@drawable/ic_menu_mark_unread_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 70 | |
Scott Kennedy | 101fec5 | 2013-04-24 17:28:21 -0700 | [diff] [blame] | 71 | <item |
| 72 | android:id="@+id/move_to" |
| 73 | android:title="@string/menu_move_to" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 74 | app:showAsAction="never" |
Rohan Shah | 0c4c19b | 2014-08-27 16:15:23 -0700 | [diff] [blame] | 75 | android:icon="@drawable/ic_move_to_wht_24dp" /> |
Vikram Aggarwal | ef37399 | 2013-03-26 10:55:31 -0700 | [diff] [blame] | 76 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 77 | <item |
Andrew Sapperstein | 6c570db | 2013-08-06 17:21:36 -0700 | [diff] [blame] | 78 | android:id="@+id/change_folders" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 79 | app:showAsAction="never" |
Mindy Pereira | 30fd47b | 2012-03-09 09:24:00 -0800 | [diff] [blame] | 80 | android:title="@string/menu_change_folders" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 81 | android:icon="@drawable/ic_change_labels_wht_24dp" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 82 | |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 83 | <item |
| 84 | android:id="@+id/move_to_inbox" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 85 | app:showAsAction="never" |
Andrew Sapperstein | d90a3bb | 2014-08-02 12:34:10 -0700 | [diff] [blame] | 86 | android:title="@string/menu_move_to_inbox" |
| 87 | android:icon="@drawable/ic_move_to_inbox_wht_24dp" /> |
Scott Kennedy | dd2ec68 | 2013-06-03 19:16:13 -0700 | [diff] [blame] | 88 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 89 | <item android:id="@+id/star" |
Mindy Pereira | 326c660 | 2012-01-04 15:32:42 -0800 | [diff] [blame] | 90 | android:title="@string/add_star" |
Andrew Sapperstein | 2576894 | 2014-08-28 18:04:05 -0700 | [diff] [blame] | 91 | app:showAsAction="never" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 92 | |
Mindy Pereira | febeb5f | 2012-02-14 15:08:13 -0800 | [diff] [blame] | 93 | <item android:id="@+id/remove_star" |
| 94 | android:title="@string/remove_star" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 95 | app:showAsAction="never" /> |
Mindy Pereira | febeb5f | 2012-02-14 15:08:13 -0800 | [diff] [blame] | 96 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 97 | <item |
| 98 | android:id="@+id/mark_important" |
| 99 | android:title="@string/mark_important" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 100 | app:showAsAction="never" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 101 | |
| 102 | <item |
| 103 | android:id="@+id/mark_not_important" |
| 104 | android:title="@string/mark_not_important" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 105 | app:showAsAction="never" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 106 | |
Mindy Pereira | 830c00f | 2012-02-22 11:43:49 -0800 | [diff] [blame] | 107 | <!-- Availability based on account --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 108 | <item |
| 109 | android:id="@+id/mute" |
| 110 | android:title="@string/mute" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 111 | app:showAsAction="never" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 112 | |
Mindy Pereira | 830c00f | 2012-02-22 11:43:49 -0800 | [diff] [blame] | 113 | <!-- Availability based on account --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 114 | <item |
| 115 | android:id="@+id/report_spam" |
| 116 | android:title="@string/report_spam" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 117 | app:showAsAction="never" /> |
Paul Westbrook | 77eee62 | 2012-07-10 13:41:57 -0700 | [diff] [blame] | 118 | <!-- Availability based on account --> |
| 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 | <!-- Availability based on account --> |
| 124 | <item |
| 125 | android:id="@+id/report_phishing" |
| 126 | android:title="@string/report_phishing" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 127 | app:showAsAction="never" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 128 | |
| 129 | </menu> |