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 | <menu xmlns:android="http://schemas.android.com/apk/res/android"> |
| 19 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 20 | <item android:id="@+id/search" |
| 21 | android:title="@string/menu_search" |
| 22 | android:showAsAction="always|collapseActionView" |
James Lemieux | 70dc188 | 2014-06-17 13:41:20 -0700 | [diff] [blame] | 23 | android:icon="@drawable/ic_menu_search" |
Mindy Pereira | 20f30f7 | 2012-05-15 12:49:26 -0700 | [diff] [blame] | 24 | android:actionLayout="@layout/mail_actionbar_searchview" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 25 | |
| 26 | <item |
| 27 | android:id="@+id/delete" |
| 28 | android:title="@string/delete" |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame^] | 29 | android:showAsAction="always" |
Andrew Sapperstein | 7750adb | 2014-07-18 18:36:13 -0700 | [diff] [blame] | 30 | android:icon="@drawable/ic_delete_wht_24dp" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 31 | |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame^] | 32 | <item |
| 33 | android:id="@+id/inside_conversation_unread" |
| 34 | android:title="@string/mark_read" |
| 35 | android:showAsAction="always" |
| 36 | android:icon="@drawable/ic_markunread_wht_24dp" /> |
| 37 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 38 | <item |
Andrew Sapperstein | 6c570db | 2013-08-06 17:21:36 -0700 | [diff] [blame] | 39 | android:id="@+id/change_folders" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 40 | android:title="@string/menu_change_folders" |
| 41 | android:showAsAction="never" |
| 42 | android:icon="@drawable/ic_menu_folders_holo_light" /> |
| 43 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 44 | <item |
| 45 | android:id="@+id/mark_important" |
| 46 | android:title="@string/mark_important" |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 47 | android:showAsAction="never" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 48 | |
| 49 | <item |
| 50 | android:id="@+id/mark_not_important" |
| 51 | android:title="@string/mark_not_important" |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 52 | android:showAsAction="never" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 53 | |
| 54 | <item |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 55 | android:id="@+id/report_spam" |
| 56 | android:title="@string/report_spam" |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 57 | android:showAsAction="never" /> |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 58 | |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame^] | 59 | <!-- This invisible menu items are used to enable keyboard shortcuts --> |
| 60 | <item |
| 61 | android:id="@+id/compose" |
| 62 | android:title="@string/menu_compose" |
| 63 | android:visible="false" |
| 64 | android:alphabeticShortcut="@string/trigger_compose_char" /> |
| 65 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 66 | <item android:id="@+id/refresh" |
| 67 | android:title="@string/refresh" |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame^] | 68 | android:visible="false" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 69 | android:alphabeticShortcut="@string/trigger_refresh_char" /> |
| 70 | |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 71 | </menu> |