blob: 53efb5af27bef7d43741258eaaf79c46ba01dad6 [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<!-- Action bar items for the tablet when viewing a conversation -->
19
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070020<menu xmlns:android="http://schemas.android.com/apk/res/android"
21 xmlns:app="http://schemas.android.com/apk/res-auto">
Andrew Sapperstein3047a9f2014-07-22 18:17:53 -070022
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080023 <item
Vikram Aggarwalc30fe412012-05-18 11:58:58 -070024 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"
Andrew Sapperstein7750adb2014-07-18 18:36:13 -070027 android:icon="@drawable/ic_archive_wht_24dp"
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080028 android:alphabeticShortcut="@string/trigger_y_char" />
Andrew Sapperstein3047a9f2014-07-22 18:17:53 -070029
Vikram Aggarwalef373992013-03-26 10:55:31 -070030 <item
31 android:id="@+id/remove_folder"
32 android:title="@string/remove_folder"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070033 app:showAsAction="always"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070034 android:icon="@drawable/ic_remove_label_wht_24dp"
Vikram Aggarwalef373992013-03-26 10:55:31 -070035 android:alphabeticShortcut="@string/trigger_y_char"
36 android:visible="false" />
37
Paul Westbrookef362542012-08-27 14:53:32 -070038 <!-- Depends on FolderCapabilities.DELETE -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080039 <item
40 android:id="@+id/delete"
41 android:title="@string/delete"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070042 app:showAsAction="always"
Andrew Sapperstein7750adb2014-07-18 18:36:13 -070043 android:icon="@drawable/ic_delete_wht_24dp" />
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070044
Paul Westbrookef362542012-08-27 14:53:32 -070045 <!-- 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 Sapperstein52882ff2014-07-27 12:30:18 -070049 app:showAsAction="always"
Andrew Sapperstein7750adb2014-07-18 18:36:13 -070050 android:icon="@drawable/ic_delete_wht_24dp"
Vikram Aggarwal613a1c72013-04-11 13:20:03 -070051 android:visible="false" />
Jin Cao512821c2014-05-30 15:54:04 -070052 <!-- 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 Sapperstein52882ff2014-07-27 12:30:18 -070056 app:showAsAction="always"
Jin Cao512821c2014-05-30 15:54:04 -070057 android:icon="@drawable/ic_delete_wht_24dp"
58 android:visible="false" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070059
60 <!-- Always available -->
61 <item
62 android:id="@+id/inside_conversation_unread"
63 android:title="@string/mark_unread"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070064 app:showAsAction="always"
Rohan Shah1c4cc9b2014-08-11 11:53:38 -070065 android:icon="@drawable/ic_menu_mark_unread_wht_24dp" />
Vikram Aggarwalef373992013-03-26 10:55:31 -070066
Vikram Aggarwalbd6c1d32012-02-21 10:14:32 -080067 <!-- Always available -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080068 <item
Rohan Shahaab9bc72013-02-07 14:18:05 -080069 android:id="@+id/move_to"
Scott Kennedya85831d2013-04-12 15:54:22 -070070 android:title="@string/menu_move_to"
Rohan Shahefc8bf32014-08-27 15:27:13 -070071 app:showAsAction="@string/menu_move_to_state"
Rohan Shah0c4c19b2014-08-27 16:15:23 -070072 android:icon="@drawable/ic_move_to_wht_24dp" />
Rohan Shahaab9bc72013-02-07 14:18:05 -080073
74 <!-- Always available -->
75 <item
Andrew Sapperstein6c570db2013-08-06 17:21:36 -070076 android:id="@+id/change_folders"
Scott Kennedy101fec52013-04-24 17:28:21 -070077 android:title="@string/menu_change_folders"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070078 app:showAsAction="never"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070079 android:icon="@drawable/ic_change_labels_wht_24dp" />
Scott Kennedy101fec52013-04-24 17:28:21 -070080
Scott Kennedydd2ec682013-06-03 19:16:13 -070081 <item
82 android:id="@+id/move_to_inbox"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070083 app:showAsAction="never"
Andrew Sappersteind90a3bb2014-08-02 12:34:10 -070084 android:title="@string/menu_move_to_inbox"
85 android:icon="@drawable/ic_move_to_inbox_wht_24dp"/>
Scott Kennedydd2ec682013-06-03 19:16:13 -070086
Scott Kennedy101fec52013-04-24 17:28:21 -070087 <!-- Always available -->
88 <item
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080089 android:id="@+id/mark_important"
Scott Kennedyb905d082013-05-07 16:44:34 -070090 android:title="@string/mark_important" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080091
Vikram Aggarwalbd6c1d32012-02-21 10:14:32 -080092 <!-- Always available -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080093 <item
94 android:id="@+id/mark_not_important"
95 android:title="@string/mark_not_important"
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080096 android:visible="false" />
97
Vikram Aggarwalbd6c1d32012-02-21 10:14:32 -080098 <!-- Depends on AccountCapabilities.MUTE -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080099 <item
100 android:id="@+id/mute"
101 android:title="@string/mute" />
Andrew Sapperstein6293ef02013-10-07 18:22:10 -0700102
103 <item android:id="@+id/print_all"
104 android:title="@string/print_all"
105 android:visible="false" />
106
Andrew Sapperstein2fc67302013-04-29 18:24:56 -0700107 <item
108 android:id="@+id/show_original"
109 android:title="@string/menu_show_original"/>
Vikram Aggarwalbd6c1d32012-02-21 10:14:32 -0800110 <!-- Depends on AccountCapabilities.REPORT_SPAM -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800111 <item
112 android:id="@+id/report_spam"
Scott Kennedyb905d082013-05-07 16:44:34 -0700113 android:title="@string/report_spam" />
Paul Westbrook77eee622012-07-10 13:41:57 -0700114 <!-- Depends on AccountCapabilities.REPORT_SPAM -->
115 <item
116 android:id="@+id/mark_not_spam"
117 android:title="@string/mark_not_spam"
Paul Westbrook77eee622012-07-10 13:41:57 -0700118 android:visible="false" />
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800119
Paul Westbrook76b20622012-07-12 11:45:43 -0700120 <!-- 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 Aggarwal5e5ac742011-12-19 08:14:16 -0800126</menu>