1<?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<menu xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto"> 20 21 <!-- 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" 27 android:title="@string/add_file_attachment" 28 app:showAsAction="always"> 29 30 <menu> 31 <item android:id="@+id/add_file_attachment" 32 android:title="@string/add_file_attachment" 33 app:showAsAction="never" /> 34 35 <item android:id="@+id/add_photo_attachment" 36 android:title="@string/add_photo_attachment" 37 app:showAsAction="never" /> 38 39 <item android:id="@+id/attach_from_service_stub1" 40 android:title="@string/attach_from_service_stub1" 41 app:showAsAction="never" 42 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" 50 app:showAsAction="always" 51 android:alphabeticShortcut="@string/trigger_send_char" /> 52 53 <item android:id="@+id/save" 54 android:title="@string/save_draft" 55 app:showAsAction="never" 56 android:alphabeticShortcut="@string/trigger_save_char" /> 57 58 <item android:id="@+id/discard" 59 android:title="@string/discard" 60 app:showAsAction="never" 61 android:alphabeticShortcut="@string/trigger_delete_char" /> 62 63 <item android:id="@+id/settings" 64 android:title="@string/menu_settings" 65 app:showAsAction="never" 66 android:alphabeticShortcut="@string/trigger_settings_char" /> 67 68 <item android:id="@+id/help_info_menu_item" 69 android:title="@string/help_and_feedback" 70 android:alphabeticShortcut="@string/trigger_help_char" /> 71 72</menu> 73