blob: 0aa811e1adeb42dc01148a43a6c07c0722919275 [file] [log] [blame]
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08001<?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 Aggarwalef373992013-03-26 10:55:31 -070020 in the conversation list. Order is important! -->
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070021<menu xmlns:android="http://schemas.android.com/apk/res/android"
22 xmlns:app="http://schemas.android.com/apk/res-auto">
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080023 <item
Mindy Pereiraf98b3182012-02-22 11:07:13 -080024 android:id="@+id/archive"
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080025 android:title="@string/archive"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070026 app:showAsAction="always"
Jin Caoa6b45212014-09-18 13:46:54 -070027 android:icon="@drawable/ic_archive_wht_24dp" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070028
29 <item
30 android:id="@+id/remove_folder"
31 android:title="@string/remove_folder"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070032 app:showAsAction="always"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070033 android:icon="@drawable/ic_remove_label_wht_24dp"
Vikram Aggarwalef373992013-03-26 10:55:31 -070034 android:visible="false" />
35
Paul Westbrookef362542012-08-27 14:53:32 -070036 <!-- Depends on FolderCapabilities.DELETE -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080037 <item
38 android:id="@+id/delete"
39 android:title="@string/delete"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070040 app:showAsAction="always"
Jin Caoa6b45212014-09-18 13:46:54 -070041 android:icon="@drawable/ic_delete_wht_24dp" />
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070042
Paul Westbrookef362542012-08-27 14:53:32 -070043 <!-- 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 Sapperstein52882ff2014-07-27 12:30:18 -070047 app:showAsAction="always"
Andrew Sapperstein7750adb2014-07-18 18:36:13 -070048 android:icon="@drawable/ic_delete_wht_24dp"
Vikram Aggarwal613a1c72013-04-11 13:20:03 -070049 android:visible="false" />
Jin Cao512821c2014-05-30 15:54:04 -070050 <!-- 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 Sapperstein25768942014-08-28 18:04:05 -070054 app:showAsAction="always"
Jin Cao512821c2014-05-30 15:54:04 -070055 android:icon="@drawable/ic_delete_wht_24dp"
56 android:visible="false" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080057
Andrew Sapperstein43a1cc12013-05-03 10:21:02 -070058 <!-- Only one of mark read or mark unread is shown. -->
Vikram Aggarwalef373992013-03-26 10:55:31 -070059 <item
60 android:id="@+id/read"
61 android:title="@string/mark_read"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070062 app:showAsAction="always"
Rohan Shah1c4cc9b2014-08-11 11:53:38 -070063 android:icon="@drawable/ic_menu_mark_read_wht_24dp" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070064
65 <item
66 android:id="@+id/unread"
67 android:title="@string/mark_unread"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070068 app:showAsAction="always"
Rohan Shah1c4cc9b2014-08-11 11:53:38 -070069 android:icon="@drawable/ic_menu_mark_unread_wht_24dp" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070070
Scott Kennedy101fec52013-04-24 17:28:21 -070071 <item
72 android:id="@+id/move_to"
73 android:title="@string/menu_move_to"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070074 app:showAsAction="never"
Rohan Shah0c4c19b2014-08-27 16:15:23 -070075 android:icon="@drawable/ic_move_to_wht_24dp" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070076
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080077 <item
Andrew Sapperstein6c570db2013-08-06 17:21:36 -070078 android:id="@+id/change_folders"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070079 app:showAsAction="never"
Mindy Pereira30fd47b2012-03-09 09:24:00 -080080 android:title="@string/menu_change_folders"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070081 android:icon="@drawable/ic_change_labels_wht_24dp" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080082
Scott Kennedydd2ec682013-06-03 19:16:13 -070083 <item
84 android:id="@+id/move_to_inbox"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070085 app:showAsAction="never"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070086 android:title="@string/menu_move_to_inbox"
87 android:icon="@drawable/ic_move_to_inbox_wht_24dp" />
Scott Kennedydd2ec682013-06-03 19:16:13 -070088
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080089 <item android:id="@+id/star"
Mindy Pereira326c6602012-01-04 15:32:42 -080090 android:title="@string/add_star"
Andrew Sapperstein25768942014-08-28 18:04:05 -070091 app:showAsAction="never" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080092
Mindy Pereirafebeb5f2012-02-14 15:08:13 -080093 <item android:id="@+id/remove_star"
94 android:title="@string/remove_star"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070095 app:showAsAction="never" />
Mindy Pereirafebeb5f2012-02-14 15:08:13 -080096
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080097 <item
98 android:id="@+id/mark_important"
99 android:title="@string/mark_important"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700100 app:showAsAction="never" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800101
102 <item
103 android:id="@+id/mark_not_important"
104 android:title="@string/mark_not_important"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700105 app:showAsAction="never" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800106
Mindy Pereira830c00f2012-02-22 11:43:49 -0800107 <!-- Availability based on account -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800108 <item
109 android:id="@+id/mute"
110 android:title="@string/mute"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700111 app:showAsAction="never" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800112
Mindy Pereira830c00f2012-02-22 11:43:49 -0800113 <!-- Availability based on account -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800114 <item
115 android:id="@+id/report_spam"
116 android:title="@string/report_spam"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700117 app:showAsAction="never" />
Paul Westbrook77eee622012-07-10 13:41:57 -0700118 <!-- Availability based on account -->
119 <item
120 android:id="@+id/mark_not_spam"
121 android:title="@string/mark_not_spam"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700122 app:showAsAction="never" />
Paul Westbrook76b20622012-07-12 11:45:43 -0700123 <!-- Availability based on account -->
124 <item
125 android:id="@+id/report_phishing"
126 android:title="@string/report_phishing"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -0700127 app:showAsAction="never" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800128
129</menu>