blob: 693afdcb04574159314e82d0f33e4501b9bba586 [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"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070050 app:showAsAction="always" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080051
Mindy Pereirab47f3e22011-12-13 14:25:04 -080052 <item android:id="@+id/save"
Mindy Pereira326c6602012-01-04 15:32:42 -080053 android:title="@string/save_draft"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070054 app:showAsAction="never" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080055
56 <item android:id="@+id/discard"
Mindy Pereira578bd6b2012-05-15 10:11:57 -070057 android:title="@string/discard"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070058 app:showAsAction="never" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080059
Mindy Pereira1f936682012-03-02 11:30:33 -080060 <item android:id="@+id/settings"
61 android:title="@string/menu_settings"
Andrew Sapperstein52882ff2014-07-27 12:30:18 -070062 app:showAsAction="never" />
Mindy Pereirab47f3e22011-12-13 14:25:04 -080063
64 <item
Mark Wei22297b12012-08-30 16:37:53 -070065 android:id="@+id/help_info_menu_item"
Ray Chena57da3c2014-06-10 16:01:40 +020066 android:title="@string/help_and_feedback" />
Mark Wei22297b12012-08-30 16:37:53 -070067
Mindy Pereirab47f3e22011-12-13 14:25:04 -080068</menu>