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 <!-- Action bar items for the tablet when viewing a conversation --> 19 20 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 21 <!-- Depends on AccountCapabilities.ARCHIVE and 22 FolderCapabilities.ARCHIVE. Only one of archive or 23 remove_folder are shown, and they have the same drawable, so 24 show the first one. 25 --> 26 <item 27 android:id="@+id/archive" 28 android:title="@string/archive" 29 android:showAsAction="never" 30 android:icon="@drawable/archive" 31 android:alphabeticShortcut="@string/trigger_y_char" /> 32 <item 33 android:id="@+id/remove_folder" 34 android:title="@string/remove_folder" 35 android:showAsAction="never" 36 android:icon="@drawable/ic_remove_label" 37 android:alphabeticShortcut="@string/trigger_y_char" 38 android:visible="false" /> 39 40 <!-- Depends on FolderCapabilities.DELETE --> 41 <item 42 android:id="@+id/delete" 43 android:title="@string/delete" 44 android:showAsAction="never" 45 android:icon="@drawable/trash" /> 46 <!-- Depends on the user viewing a draft label, and the above menu item not being shown --> 47 <item 48 android:id="@+id/discard_drafts" 49 android:title="@string/discard_drafts" 50 android:showAsAction="never" 51 android:icon="@drawable/trash" 52 android:visible="false" /> 53 54 <!-- Always available --> 55 <item 56 android:id="@+id/inside_conversation_unread" 57 android:title="@string/mark_unread" 58 android:showAsAction="never" 59 android:icon="@drawable/ic_menu_mark_unread_holo_light" /> 60 61 <!-- Always available --> 62 <item 63 android:id="@+id/move_to" 64 android:title="@string/menu_move_to" 65 android:showAsAction="never" 66 android:icon="@drawable/ic_menu_move_to_holo_light" /> 67 68 <!-- Always available --> 69 <item 70 android:id="@+id/change_folders" 71 android:title="@string/menu_change_folders" 72 android:showAsAction="never" 73 android:icon="@drawable/ic_menu_folders_holo_light" /> 74 75 <item 76 android:id="@+id/move_to_inbox" 77 android:showAsAction="never" 78 android:title="@string/menu_move_to_inbox" /> 79 80 <!-- Always available --> 81 <item 82 android:id="@+id/mark_important" 83 android:title="@string/mark_important" /> 84 85 <!-- Always available --> 86 <item 87 android:id="@+id/mark_not_important" 88 android:title="@string/mark_not_important" 89 android:visible="false" /> 90 91 <!-- Depends on AccountCapabilities.MUTE --> 92 <item 93 android:id="@+id/mute" 94 android:title="@string/mute" /> 95 <item 96 android:id="@+id/show_original" 97 android:title="@string/menu_show_original"/> 98 <!-- Depends on AccountCapabilities.REPORT_SPAM --> 99 <item 100 android:id="@+id/report_spam" 101 android:title="@string/report_spam" /> 102 <!-- Depends on AccountCapabilities.REPORT_SPAM --> 103 <item 104 android:id="@+id/mark_not_spam" 105 android:title="@string/mark_not_spam" 106 android:visible="false" /> 107 108 <!-- Depends on AccountCapabilities.REPORT_PHISHING --> 109 <item 110 android:id="@+id/report_phishing" 111 android:title="@string/report_phishing" 112 android:visible="false" /> 113 114 <!-- Always available --> 115 <item android:id="@+id/settings" 116 android:title="@string/menu_settings" /> 117 118 <!-- Always available --> 119 <item 120 android:id="@+id/feedback_menu_item" 121 android:title="@string/feedback" /> 122 123 <!-- Always available --> 124 <item 125 android:id="@+id/help_info_menu_item" 126 android:title="@string/help_and_info" /> 127 </menu> 128