Home | History | Annotate | Download | only in menu
      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="never"
     27         android:alphabeticShortcut="@string/trigger_delete_char" />
     28 
     29     <!-- Available only in the spam folder, when the account supports emptying it -->
     30     <item
     31         android:id="@+id/empty_spam"
     32         android:title="@string/empty_spam"
     33         app:showAsAction="never"
     34         android:alphabeticShortcut="@string/trigger_delete_char" />
     35 
     36     <!-- Available only for accounts with SERVER_SEARCH and in a folder
     37       that supports FOLDER_SERVER_SEARCH -->
     38     <item android:id="@+id/search"
     39         android:title="@string/menu_search"
     40         app:showAsAction="ifRoom|collapseActionView"
     41         android:icon="@drawable/ic_menu_search" />
     42 
     43     <!-- These invisible menu item are used to enable keyboard shortcuts -->
     44     <item
     45         android:id="@+id/compose"
     46         android:title="@string/menu_compose"
     47         android:visible="false"
     48         android:alphabeticShortcut="@string/trigger_compose_char" />
     49 
     50     <item
     51         android:id="@+id/refresh"
     52         android:title="@string/refresh"
     53         android:visible="false"
     54         android:alphabeticShortcut="@string/trigger_refresh_char" />
     55 
     56     <item
     57         android:id="@+id/toggle_read_unread"
     58         android:title="@string/toggle_read_unread"
     59         android:visible="false"
     60         android:alphabeticShortcut="@string/trigger_toggle_read_unread_char" />
     61 
     62     <item
     63         android:id="@+id/toggle_drawer"
     64         android:title="@string/menu_toggle_drawer"
     65         android:visible="false"
     66         android:alphabeticShortcut="@string/trigger_toggle_drawer_char" />
     67 
     68     <item
     69         android:id="@+id/settings"
     70         android:title="@string/menu_settings"
     71         android:visible="false"
     72         android:alphabeticShortcut="@string/trigger_settings_char" />
     73 
     74     <item
     75         android:id="@+id/help_info_menu_item"
     76         android:title="@string/help_and_feedback"
     77         android:visible="false"
     78         android:alphabeticShortcut="@string/trigger_help_char" />
     79 </menu>
     80