blob: 31663e2f0f20e85c914463db0546e4045f9713a7 [file] [log] [blame]
Mindy Pereirab47f3e22011-12-13 14:25:04 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08003 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.
Mindy Pereirab47f3e22011-12-13 14:25:04 -080017-->
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070018<menu xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto">
Mindy Pereirab47f3e22011-12-13 14:25:04 -080020
Jin Caof8c02b62014-07-23 14:59:15 -070021 <!--
22 Nested menu on action bar allows the user to tap on the menu item to see an overflow
23 with the inner menu.
24 -->
25 <item android:id="@+id/add_attachment"
26 android:icon="@drawable/ic_attach_file_wht_24dp"
Andrew Sapperstein5cb71802013-10-01 18:31:20 -070027 android:title="@string/add_file_attachment"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070028 app:showAsAction="always">
Andrew Sapperstein5cb71802013-10-01 18:31:20 -070029
Jin Caof8c02b62014-07-23 14:59:15 -070030 <menu>
31 <item android:id="@+id/add_file_attachment"
32 android:title="@string/add_file_attachment"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070033 app:showAsAction="never" />
Andy Huang91ede362014-01-21 19:16:00 -080034
Jin Caof8c02b62014-07-23 14:59:15 -070035 <item android:id="@+id/add_photo_attachment"
36 android:title="@string/add_photo_attachment"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070037 app:showAsAction="never" />
Jin Caof8c02b62014-07-23 14:59:15 -070038
39 <item android:id="@+id/attach_from_service_stub1"
40 android:title="@string/attach_from_service_stub1"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070041 app:showAsAction="never"
Jin Caof8c02b62014-07-23 14:59:15 -070042 android:visible="false" />
43 </menu>
44
45 </item>
46
47 <item android:id="@+id/send"
48 android:icon="@drawable/ic_send_wht_24dp"
49 android:title="@string/send"
Jin Caoa6b45212014-09-18 13:46:54 -070050 app:showAsAction="always"
51 android:alphabeticShortcut="@string/trigger_send_char" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080052
Mindy Pereirab47f3e22011-12-13 14:25:04 -080053 <item android:id="@+id/save"
Mindy Pereira326c6602012-01-04 15:32:42 -080054 android:title="@string/save_draft"
Jin Caoa6b45212014-09-18 13:46:54 -070055 app:showAsAction="never"
56 android:alphabeticShortcut="@string/trigger_save_char" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080057
58 <item android:id="@+id/discard"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070059 android:title="@string/discard"
Jin Caoa6b45212014-09-18 13:46:54 -070060 app:showAsAction="never"
61 android:alphabeticShortcut="@string/trigger_delete_char" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080062
Mindy Pereira1f936682012-03-02 11:30:33 -080063 <item android:id="@+id/settings"
64 android:title="@string/menu_settings"
Jin Caoa6b45212014-09-18 13:46:54 -070065 app:showAsAction="never"
66 android:alphabeticShortcut="@string/trigger_settings_char" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080067
Jin Caoa6b45212014-09-18 13:46:54 -070068 <item android:id="@+id/help_info_menu_item"
69 android:title="@string/help_and_feedback"
70 android:alphabeticShortcut="@string/trigger_help_char" />
Mark Wei22297b12012-08-30 16:37:53 -070071
Mindy Pereirab47f3e22011-12-13 14:25:04 -080072</menu>