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 | |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 19 | <menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 21 | |
Andrew Sapperstein | f5077fa | 2014-07-27 10:43:17 -0700 | [diff] [blame] | 22 | <!-- Available only in the trash folder, when the account supports emptying it --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 23 | <item |
| 24 | android:id="@+id/empty_trash" |
| 25 | android:title="@string/empty_trash" |
Rohan Shah | e6a52d6 | 2014-09-04 17:41:42 -0700 | [diff] [blame] | 26 | app:showAsAction="never" /> |
Andrew Sapperstein | f5077fa | 2014-07-27 10:43:17 -0700 | [diff] [blame] | 27 | |
| 28 | <!-- Available only in the spam folder, when the account supports emptying it --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 29 | <item |
| 30 | android:id="@+id/empty_spam" |
| 31 | android:title="@string/empty_spam" |
Rohan Shah | e6a52d6 | 2014-09-04 17:41:42 -0700 | [diff] [blame] | 32 | app:showAsAction="never" /> |
Jin Cao | e7bc3cc | 2014-09-02 15:32:59 -0700 | [diff] [blame] | 33 | |
| 34 | <!-- Available only for accounts with SERVER_SEARCH and in a folder |
| 35 | that supports FOLDER_SERVER_SEARCH --> |
| 36 | <item android:id="@+id/search" |
| 37 | android:title="@string/menu_search" |
| 38 | app:showAsAction="ifRoom|collapseActionView" |
| 39 | android:icon="@drawable/ic_menu_search" /> |
Andrew Sapperstein | f5077fa | 2014-07-27 10:43:17 -0700 | [diff] [blame] | 40 | |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 41 | <!-- These invisible menu item are used to enable keyboard shortcuts --> |
| 42 | <item |
| 43 | android:id="@+id/compose" |
| 44 | android:title="@string/menu_compose" |
| 45 | android:visible="false" |
| 46 | android:alphabeticShortcut="@string/trigger_compose_char" /> |
| 47 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 48 | <item android:id="@+id/refresh" |
| 49 | android:title="@string/refresh" |
Andrew Sapperstein | 3047a9f | 2014-07-22 18:17:53 -0700 | [diff] [blame] | 50 | android:visible="false" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 51 | android:alphabeticShortcut="@string/trigger_refresh_char" /> |
| 52 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 53 | </menu> |