<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2011 Google Inc. Licensed to The Android Open Source Project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- Action bar items when viewing a conversation --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/archive" android:title="@string/archive" app:showAsAction="always" android:icon="@drawable/ic_archive_wht_24dp" android:alphabeticShortcut="@string/trigger_archive_char" /> <item android:id="@+id/remove_folder" android:title="@string/remove_folder" app:showAsAction="always" android:icon="@drawable/ic_remove_label_wht_24dp" android:visible="false" android:alphabeticShortcut="@string/trigger_archive_char" /> <!-- Depends on FolderCapabilities.DELETE --> <item android:id="@+id/delete" android:title="@string/delete" app:showAsAction="always" android:icon="@drawable/ic_delete_wht_24dp" android:alphabeticShortcut="@string/trigger_delete_char" /> <!-- Depends on the user viewing a draft label, and the above menu item not being shown --> <item android:id="@+id/discard_drafts" android:title="@string/discard_drafts" app:showAsAction="always" android:icon="@drawable/ic_delete_wht_24dp" android:visible="false" android:alphabeticShortcut="@string/trigger_delete_char" /> <!-- Depends on the user viewing a outbox label and the setting supports delete --> <item android:id="@+id/discard_outbox" android:title="@string/discard_failed" app:showAsAction="always" android:icon="@drawable/ic_delete_wht_24dp" android:visible="false" android:alphabeticShortcut="@string/trigger_delete_char" /> <!-- Always available --> <item android:id="@+id/inside_conversation_unread" android:title="@string/mark_unread" app:showAsAction="always" android:icon="@drawable/ic_mark_unread_wht_24dp" /> <!-- Always available --> <item android:id="@+id/move_to" android:title="@string/menu_move_to" app:showAsAction="@string/menu_move_to_state" android:icon="@drawable/ic_move_to_wht_24dp" /> <!-- Always available --> <item android:id="@+id/change_folders" android:title="@string/menu_change_folders" app:showAsAction="never" android:icon="@drawable/ic_change_labels_wht_24dp" android:alphabeticShortcut="@string/trigger_change_label_char" /> <item android:id="@+id/move_to_inbox" app:showAsAction="never" android:title="@string/menu_move_to_inbox" android:icon="@drawable/ic_move_to_inbox_wht_24dp"/> <!-- Always available --> <item android:id="@+id/mark_important" android:title="@string/mark_important" /> <!-- Always available --> <item android:id="@+id/mark_not_important" android:title="@string/mark_not_important" android:visible="false" /> <!-- Depends on AccountCapabilities.MUTE --> <item android:id="@+id/mute" android:title="@string/mute" /> <item android:id="@+id/print_all" android:title="@string/print_all" android:visible="false" android:alphabeticShortcut="@string/trigger_print_char" /> <item android:id="@+id/show_original" android:title="@string/menu_show_original"/> <!-- Depends on AccountCapabilities.REPORT_SPAM --> <item android:id="@+id/report_spam" android:title="@string/report_spam" /> <!-- Depends on AccountCapabilities.REPORT_SPAM --> <item android:id="@+id/mark_not_spam" android:title="@string/mark_not_spam" android:visible="false" /> <!-- Depends on AccountCapabilities.REPORT_PHISHING --> <item android:id="@+id/report_phishing" android:title="@string/report_phishing" android:visible="false" /> <!-- These invisible menu items are used to enable keyboard shortcuts --> <item android:id="@+id/compose" android:title="@string/menu_compose" android:visible="false" android:alphabeticShortcut="@string/trigger_compose_char" /> <item android:id="@+id/reply" android:title="@string/reply" android:visible="false" android:alphabeticShortcut="@string/trigger_reply_char" /> <item android:id="@+id/reply_all" android:title="@string/reply_all" android:visible="false" android:alphabeticShortcut="@string/trigger_reply_all_char" /> <item android:id="@+id/toggle_read_unread" android:title="@string/toggle_read_unread" android:visible="false" android:alphabeticShortcut="@string/trigger_toggle_read_unread_char" /> <item android:id="@+id/toggle_drawer" android:title="@string/menu_toggle_drawer" android:visible="false" android:alphabeticShortcut="@string/trigger_toggle_drawer_char" /> <item android:id="@+id/settings" android:title="@string/menu_settings" android:visible="false" android:alphabeticShortcut="@string/trigger_settings_char" /> <item android:id="@+id/help_info_menu_item" android:title="@string/help_and_feedback" android:visible="false" android:alphabeticShortcut="@string/trigger_help_char" /> </menu>