Home | History | Annotate | Download | only in menu-sw600dp
      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 
     19 <menu xmlns:android="http://schemas.android.com/apk/res/android">
     20 
     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 
     27     <!-- Available only for accounts with SERVER_SEARCH and in a folder
     28       that supports FOLDER_SERVER_SEARCH -->
     29     <item android:id="@+id/search"
     30         android:title="@string/menu_search"
     31         android:showAsAction="always|collapseActionView"
     32         android:icon="@drawable/ic_menu_search_holo_light"
     33         android:actionLayout="@layout/mail_actionbar_searchview" />
     34 
     35     <item android:id="@+id/refresh"
     36         android:title="@string/refresh"
     37         android:showAsAction="never"
     38         android:alphabeticShortcut="@string/trigger_refresh_char" />
     39 
     40     <!-- Available only in the trash folder, when the account supports emptying it -->
     41     <item android:id="@+id/empty_trash"
     42         android:title="@string/empty_trash"
     43         android:showAsAction="never" />
     44 
     45     <!-- Available only in the spam folder, when the account supports emptying it -->
     46     <item android:id="@+id/empty_spam"
     47         android:title="@string/empty_spam"
     48         android:showAsAction="never" />
     49 
     50     <!-- Available for Folders with SUPPORTS_SETTINGS capability -->
     51     <item android:id="@+id/folder_options"
     52         android:title="@string/menu_folder_options"
     53         android:showAsAction="never"  />
     54 
     55     <item android:id="@+id/settings"
     56         android:title="@string/menu_settings"
     57         android:showAsAction="never" />
     58 
     59     <item
     60         android:id="@+id/feedback_menu_item"
     61         android:title="@string/feedback"
     62         android:showAsAction="never" />
     63 
     64     <!-- Available if the account specifies a help url -->
     65     <item
     66         android:id="@+id/help_info_menu_item"
     67         android:title="@string/help_and_info"
     68         android:showAsAction="never" />
     69 
     70 </menu>
     71