Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2012 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"> |
Vikram Aggarwal | e5e917c | 2012-09-20 16:27:41 -0700 | [diff] [blame] | 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 | --> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 26 | <item |
| 27 | android:id="@+id/archive" |
| 28 | android:title="@string/archive" |
| 29 | android:showAsAction="ifRoom" |
| 30 | android:icon="@drawable/archive" |
| 31 | android:alphabeticShortcut="@string/trigger_y_char" /> |
Mindy Pereira | 01f3050 | 2012-08-14 10:30:51 -0700 | [diff] [blame] | 32 | <item |
| 33 | android:id="@+id/remove_folder" |
| 34 | android:title="@string/remove_folder" |
| 35 | android:showAsAction="ifRoom" |
Scott Kennedy | dc15030 | 2012-11-28 11:00:32 -0800 | [diff] [blame] | 36 | android:icon="@drawable/ic_remove_label" |
Vikram Aggarwal | e5e917c | 2012-09-20 16:27:41 -0700 | [diff] [blame] | 37 | android:alphabeticShortcut="@string/trigger_y_char" |
| 38 | android:visible="false" /> |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 39 | <!-- Depends on FolderCapabilities.DELETE --> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 40 | <item |
| 41 | android:id="@+id/delete" |
| 42 | android:title="@string/delete" |
| 43 | android:showAsAction="ifRoom" |
| 44 | android:icon="@drawable/trash" /> |
Paul Westbrook | ef36254 | 2012-08-27 14:53:32 -0700 | [diff] [blame] | 45 | <!-- Depends on the user viewing a draft label, and the above menu item not being shown --> |
| 46 | <item |
| 47 | android:id="@+id/discard_drafts" |
| 48 | android:title="@string/discard_drafts" |
| 49 | android:showAsAction="ifRoom" |
| 50 | android:icon="@drawable/trash" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 51 | |
| 52 | <!-- Always available --> |
| 53 | <item |
| 54 | android:id="@+id/change_folder" |
| 55 | android:title="@string/menu_change_folders" |
| 56 | android:showAsAction="ifRoom" |
| 57 | android:icon="@drawable/ic_menu_folders_holo_light" /> |
| 58 | |
| 59 | <item android:id="@+id/inside_conversation_unread" |
| 60 | android:title="@string/mark_unread" |
| 61 | android:showAsAction="ifRoom" |
| 62 | android:icon="@drawable/ic_menu_mark_unread_holo_light" /> |
| 63 | |
| 64 | <item |
| 65 | android:id="@+id/mark_important" |
| 66 | android:showAsAction="never" |
| 67 | android:title="@string/mark_important" /> |
| 68 | |
| 69 | <item |
| 70 | android:id="@+id/mark_not_important" |
| 71 | android:showAsAction="never" |
| 72 | android:title="@string/mark_not_important" /> |
| 73 | |
| 74 | <item |
| 75 | android:id="@+id/mute" |
| 76 | android:title="@string/mute" |
| 77 | android:showAsAction="never" /> |
| 78 | |
| 79 | <item |
| 80 | android:id="@+id/report_spam" |
| 81 | android:title="@string/report_spam" |
| 82 | android:showAsAction="never"/> |
| 83 | |
Paul Westbrook | 76b2062 | 2012-07-12 11:45:43 -0700 | [diff] [blame] | 84 | <!-- Depends on AccountCapabilities.REPORT_SPAM --> |
| 85 | <item |
| 86 | android:id="@+id/mark_not_spam" |
| 87 | android:title="@string/mark_not_spam" |
| 88 | android:showAsAction="never" |
| 89 | android:visible="false" /> |
| 90 | |
| 91 | <!-- Depends on AccountCapabilities.REPORT_PHISHING --> |
| 92 | <item |
| 93 | android:id="@+id/report_phishing" |
| 94 | android:title="@string/report_phishing" |
| 95 | android:showAsAction="never" |
| 96 | android:visible="false" /> |
| 97 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 98 | <item android:id="@+id/settings" |
| 99 | android:title="@string/menu_settings" |
| 100 | android:showAsAction="never" /> |
| 101 | |
| 102 | <item |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 103 | android:id="@+id/feedback_menu_item" |
| 104 | android:showAsAction="never" |
| 105 | android:icon="@android:drawable/ic_menu_send" |
| 106 | android:title="@string/feedback" /> |
| 107 | |
Mark Wei | 22297b1 | 2012-08-30 16:37:53 -0700 | [diff] [blame] | 108 | <item |
| 109 | android:id="@+id/help_info_menu_item" |
| 110 | android:showAsAction="never" |
| 111 | android:icon="@android:drawable/ic_menu_help" |
| 112 | android:title="@string/help_and_info" /> |
| 113 | |
Vikram Aggarwal | e5e917c | 2012-09-20 16:27:41 -0700 | [diff] [blame] | 114 | </menu> |