blob: 3a743456a33e4d579ea19107b85b4adf11db37ad [file] [log] [blame]
Mindy Pereira578bd6b2012-05-15 10:11:57 -07001<?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 Aggarwalef373992013-03-26 10:55:31 -070018<!-- Action bar items for the tablet when viewing a conversation in landscape mode. -->
Mindy Pereira578bd6b2012-05-15 10:11:57 -070019<menu xmlns:android="http://schemas.android.com/apk/res/android">
20
Vikram Aggarwalef373992013-03-26 10:55:31 -070021 <!-- Since we show the conversation list in landscape mode, we show compose and search
22 even in the conversation view. -->
Mindy Pereira578bd6b2012-05-15 10:11:57 -070023 <item android:id="@+id/compose"
24 android:title="@string/menu_compose"
Scott Kennedyb905d082013-05-07 16:44:34 -070025 android:showAsAction="always"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070026 android:icon="@drawable/ic_menu_compose_normal_holo_light"
27 android:alphabeticShortcut="@string/trigger_compose_char" />
28
29 <item android:id="@+id/search"
30 android:title="@string/menu_search"
Scott Kennedyb905d082013-05-07 16:44:34 -070031 android:showAsAction="always|collapseActionView"
Mindy Pereira20f30f72012-05-15 12:49:26 -070032 android:icon="@drawable/ic_menu_search_holo_light"
33 android:actionLayout="@layout/mail_actionbar_searchview" />
Mindy Pereira578bd6b2012-05-15 10:11:57 -070034
Vikram Aggarwale5e917c2012-09-20 16:27:41 -070035 <!-- Depends on AccountCapabilities.ARCHIVE and
36 FolderCapabilities.ARCHIVE. Only one of archive or
37 remove_folder are shown, and they have the same drawable, so
38 show the first one.
39 -->
Mindy Pereira578bd6b2012-05-15 10:11:57 -070040 <item
Mindy Pereira21980a62012-05-15 12:45:12 -070041 android:id="@+id/archive"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070042 android:title="@string/archive"
Scott Kennedyb905d082013-05-07 16:44:34 -070043 android:showAsAction="never"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070044 android:icon="@drawable/archive"
45 android:alphabeticShortcut="@string/trigger_y_char" />
Mindy Pereira01f30502012-08-14 10:30:51 -070046 <item
47 android:id="@+id/remove_folder"
48 android:title="@string/remove_folder"
Scott Kennedyb905d082013-05-07 16:44:34 -070049 android:showAsAction="never"
Scott Kennedydc150302012-11-28 11:00:32 -080050 android:icon="@drawable/ic_remove_label"
Vikram Aggarwale5e917c2012-09-20 16:27:41 -070051 android:alphabeticShortcut="@string/trigger_y_char"
52 android:visible="false" />
Paul Westbrookef362542012-08-27 14:53:32 -070053 <!-- Depends on FolderCapabilities.DELETE -->
Mindy Pereira578bd6b2012-05-15 10:11:57 -070054 <item
55 android:id="@+id/delete"
56 android:title="@string/delete"
Scott Kennedyb905d082013-05-07 16:44:34 -070057 android:showAsAction="never"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070058 android:icon="@drawable/trash" />
Paul Westbrookef362542012-08-27 14:53:32 -070059 <!-- Depends on the user viewing a draft label, and the above menu item not being shown -->
60 <item
61 android:id="@+id/discard_drafts"
62 android:title="@string/discard_drafts"
Scott Kennedyb905d082013-05-07 16:44:34 -070063 android:showAsAction="never"
Vikram Aggarwal613a1c72013-04-11 13:20:03 -070064 android:icon="@drawable/trash"
65 android:visible="false" />
Mindy Pereira578bd6b2012-05-15 10:11:57 -070066
Vikram Aggarwalef373992013-03-26 10:55:31 -070067 <item
68 android:id="@+id/inside_conversation_unread"
69 android:title="@string/mark_unread"
Scott Kennedyb905d082013-05-07 16:44:34 -070070 android:showAsAction="never"
Vikram Aggarwalef373992013-03-26 10:55:31 -070071 android:icon="@drawable/ic_menu_mark_unread_holo_light" />
72
Scott Kennedy101fec52013-04-24 17:28:21 -070073 <item
74 android:id="@+id/move_to"
75 android:title="@string/menu_move_to"
Scott Kennedyb905d082013-05-07 16:44:34 -070076 android:showAsAction="never"
Scott Kennedyfb4cb382013-04-26 18:13:35 -070077 android:icon="@drawable/ic_menu_move_to_holo_light" />
Scott Kennedy101fec52013-04-24 17:28:21 -070078
Mindy Pereira578bd6b2012-05-15 10:11:57 -070079 <!-- Always available -->
80 <item
81 android:id="@+id/change_folder"
82 android:title="@string/menu_change_folders"
Scott Kennedyb905d082013-05-07 16:44:34 -070083 android:showAsAction="never"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070084 android:icon="@drawable/ic_menu_folders_holo_light" />
85
Mindy Pereira578bd6b2012-05-15 10:11:57 -070086 <item
Scott Kennedydd2ec682013-06-03 19:16:13 -070087 android:id="@+id/move_to_inbox"
88 android:showAsAction="never"
89 android:title="@string/menu_move_to_inbox" />
90
91 <item
Mindy Pereira578bd6b2012-05-15 10:11:57 -070092 android:id="@+id/mark_important"
93 android:showAsAction="never"
94 android:title="@string/mark_important" />
95
96 <item
97 android:id="@+id/mark_not_important"
98 android:title="@string/mark_not_important"
99 android:showAsAction="never" />
100
101 <item
102 android:id="@+id/mute"
103 android:title="@string/mute"
104 android:showAsAction="never" />
Andrew Sapperstein2fc67302013-04-29 18:24:56 -0700105 <item
106 android:id="@+id/show_original"
107 android:title="@string/menu_show_original"
108 android:showAsAction="never"/>
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700109
110 <item
111 android:id="@+id/report_spam"
112 android:title="@string/report_spam"
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700113 android:showAsAction="never"/>
114
Paul Westbrook76b20622012-07-12 11:45:43 -0700115 <!-- Depends on AccountCapabilities.REPORT_SPAM -->
116 <item
117 android:id="@+id/mark_not_spam"
118 android:title="@string/mark_not_spam"
119 android:showAsAction="never"
120 android:visible="false" />
121
122 <!-- Depends on AccountCapabilities.REPORT_PHISHING -->
123 <item
124 android:id="@+id/report_phishing"
125 android:title="@string/report_phishing"
126 android:showAsAction="never"
127 android:visible="false" />
128
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700129 <item android:id="@+id/refresh"
130 android:title="@string/refresh"
131 android:showAsAction="never"
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700132 android:alphabeticShortcut="@string/trigger_refresh_char" />
133
134 <!-- Available for Folders with SUPPORTS_SETTINGS capability -->
135 <item android:id="@+id/folder_options"
136 android:title="@string/menu_folder_options"
137 android:showAsAction="never" />
138
139 <item android:id="@+id/settings"
140 android:title="@string/menu_settings"
141 android:showAsAction="never" />
142
143 <item
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700144 android:id="@+id/feedback_menu_item"
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700145 android:title="@string/feedback"
146 android:showAsAction="never" />
147
Mark Wei22297b12012-08-30 16:37:53 -0700148 <item
149 android:id="@+id/help_info_menu_item"
Mark Wei22297b12012-08-30 16:37:53 -0700150 android:title="@string/help_and_info"
151 android:showAsAction="never" />
152
Mindy Pereira578bd6b2012-05-15 10:11:57 -0700153</menu>