Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 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 | |
| 19 | <menu xmlns:android="http://schemas.android.com/apk/res/android"> |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 20 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 21 | <item android:id="@+id/compose" |
| 22 | android:title="@string/menu_compose" |
| 23 | android:showAsAction="always" |
| 24 | android:icon="@drawable/ic_menu_compose_normal_holo_light" |
| 25 | android:alphabeticShortcut="@string/trigger_compose_char" /> |
| 26 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 27 | <!-- Available only for accounts with SERVER_SEARCH and in a folder |
| 28 | that suppors FOLDER_SERVER_SEARCH --> |
| 29 | <item android:id="@+id/search" android:title="@string/menu_search" |
| 30 | android:showAsAction="always|collapseActionView" |
| 31 | android:icon="@drawable/ic_menu_search_holo_light" |
| 32 | android:actionLayout="@layout/mail_actionbar_searchview" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 33 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 34 | <!-- Always available --> |
Mindy Pereira | f645288 | 2012-02-14 18:13:13 -0800 | [diff] [blame] | 35 | <item android:id="@+id/show_all_folders" |
| 36 | android:title="@string/show_all_folders" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 37 | android:showAsAction="ifRoom" |
| 38 | android:icon="@drawable/ic_menu_labels_holo_light" /> |
| 39 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 40 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 41 | <item android:id="@+id/refresh" |
| 42 | android:title="@string/refresh" |
| 43 | android:showAsAction="ifRoom" |
| 44 | android:icon="@drawable/ic_menu_refresh_holo_light" |
| 45 | android:alphabeticShortcut="@string/trigger_refresh_char" /> |
| 46 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 47 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 48 | <item android:id="@+id/label_options" |
| 49 | android:title="@string/menu_label_options" |
| 50 | android:showAsAction="never" /> |
| 51 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 52 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 53 | <item android:id="@+id/preferences" |
| 54 | android:title="@string/menu_preferences" |
| 55 | android:showAsAction="never" |
| 56 | android:icon="@android:drawable/ic_menu_preferences" /> |
| 57 | |
Paul Westbrook | 94e440d | 2012-02-24 11:03:47 -0800 | [diff] [blame] | 58 | <!-- Available if the account specifies a help url --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 59 | <item |
| 60 | android:id="@+id/help_info_menu_item" |
| 61 | android:icon="@android:drawable/ic_menu_help" |
| 62 | android:showAsAction="never" |
| 63 | android:title="@string/help_and_info" /> |
| 64 | |
Vikram Aggarwal | 2175d0a | 2012-02-17 16:04:23 -0800 | [diff] [blame] | 65 | <!-- Always available --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 66 | <item |
| 67 | android:id="@+id/feedback_menu_item" |
| 68 | android:icon="@android:drawable/ic_menu_send" |
| 69 | android:showAsAction="never" |
| 70 | android:title="@string/feedback" /> |
| 71 | |
| 72 | </menu> |