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" 20 xmlns:app="http://schemas.android.com/apk/res-auto"> 21 22 <!-- Available only in the trash folder, when the account supports emptying it --> 23 <item 24 android:id="@+id/empty_trash" 25 android:title="@string/empty_trash" 26 app:showAsAction="always|withText" /> 27 28 <!-- Available only in the spam folder, when the account supports emptying it --> 29 <item 30 android:id="@+id/empty_spam" 31 android:title="@string/empty_spam" 32 app:showAsAction="always|withText" /> 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" android:title="@string/menu_search" 37 app:showAsAction="ifRoom|collapseActionView" 38 android:icon="@drawable/ic_menu_search" 39 app:actionLayout="@layout/mail_actionbar_searchview" /> 40 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 48 <item android:id="@+id/refresh" 49 android:title="@string/refresh" 50 android:visible="false" 51 android:alphabeticShortcut="@string/trigger_refresh_char" /> 52 53</menu> 54