| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2012 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 for the tablet when viewing a conversation in landscape mode. --> |
| <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_y_char" /> |
| |
| <item |
| android:id="@+id/remove_folder" |
| android:title="@string/remove_folder" |
| app:showAsAction="always" |
| android:icon="@drawable/ic_remove_label_wht_24dp" |
| android:alphabeticShortcut="@string/trigger_y_char" |
| android:visible="false" /> |
| |
| <!-- Depends on FolderCapabilities.DELETE --> |
| <item |
| android:id="@+id/delete" |
| android:title="@string/delete" |
| app:showAsAction="always" |
| android:icon="@drawable/ic_delete_wht_24dp" /> |
| |
| <!-- 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" /> |
| <!-- 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" /> |
| |
| <item |
| android:id="@+id/inside_conversation_unread" |
| android:title="@string/mark_unread" |
| app:showAsAction="always" |
| android:icon="@drawable/ic_menu_mark_unread_wht_24dp" /> |
| |
| <item |
| android:id="@+id/move_to" |
| android:title="@string/menu_move_to" |
| app:showAsAction="never" |
| 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" /> |
| |
| <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" /> |
| |
| <item |
| android:id="@+id/mark_important" |
| app:showAsAction="never" |
| android:title="@string/mark_important" /> |
| |
| <item |
| android:id="@+id/mark_not_important" |
| android:title="@string/mark_not_important" |
| app:showAsAction="never" /> |
| |
| <item |
| android:id="@+id/mute" |
| android:title="@string/mute" |
| app:showAsAction="never" /> |
| |
| <item android:id="@+id/print_all" |
| android:title="@string/print_all" |
| android:visible="false" /> |
| |
| <item |
| android:id="@+id/show_original" |
| android:title="@string/menu_show_original" |
| app:showAsAction="never"/> |
| |
| <item |
| android:id="@+id/report_spam" |
| android:title="@string/report_spam" |
| app:showAsAction="never"/> |
| |
| <!-- Depends on AccountCapabilities.REPORT_SPAM --> |
| <item |
| android:id="@+id/mark_not_spam" |
| android:title="@string/mark_not_spam" |
| app:showAsAction="never" |
| android:visible="false" /> |
| |
| <!-- Depends on AccountCapabilities.REPORT_PHISHING --> |
| <item |
| android:id="@+id/report_phishing" |
| android:title="@string/report_phishing" |
| app:showAsAction="never" |
| 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/refresh" |
| android:title="@string/refresh" |
| android:visible="false" |
| android:alphabeticShortcut="@string/trigger_refresh_char" /> |
| |
| </menu> |