Home | History | Annotate | Download | only in menu
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <!-- Email activity menu options for the phone -->
     18 
     19 <menu xmlns:android="http://schemas.android.com/apk/res/android">
     20     <item
     21         android:id="@+id/compose"
     22         android:orderInCategory="100"
     23         android:alphabeticShortcut="c"
     24         android:title="@string/compose_action"
     25         android:icon="@drawable/ic_menu_compose_normal_holo_light"
     26         android:showAsAction="ifRoom"
     27     />
     28     <item
     29         android:id="@+id/search"
     30         android:orderInCategory="200"
     31         android:alphabeticShortcut="s"
     32         android:title="@string/search_action"
     33         android:icon="@drawable/ic_menu_search_holo_light"
     34         android:showAsAction="ifRoom"
     35     />
     36     <item
     37         android:id="@+id/show_all_mailboxes"
     38         android:orderInCategory="300"
     39         android:alphabeticShortcut="c"
     40         android:title="@string/mailbox_list_account_selector_show_all_folders"
     41         android:icon="@drawable/ic_menu_move_to_holo_light"
     42         android:showAsAction="ifRoom"
     43     />
     44     <item
     45         android:id="@+id/refresh"
     46         android:orderInCategory="400"
     47         android:alphabeticShortcut="r"
     48         android:title="@string/refresh_action"
     49         android:icon="@drawable/ic_menu_refresh_holo_light"
     50         android:showAsAction="ifRoom"
     51     />
     52     <!-- Note the order; we want to show them to the right of delete/move -->
     53     <item
     54         android:id="@+id/newer"
     55         android:orderInCategory="1500"
     56         android:icon="@drawable/menu_item_newer"
     57         android:showAsAction="always"
     58         android:visible="false"
     59     />
     60     <item
     61         android:id="@+id/older"
     62         android:orderInCategory="1600"
     63         android:icon="@drawable/menu_item_older"
     64         android:showAsAction="always"
     65         android:visible="false"
     66     />
     67     <item
     68         android:id="@+id/mailbox_settings"
     69         android:orderInCategory="2000"
     70         android:title="@string/mailbox_settings_action"
     71         android:icon="@android:drawable/ic_menu_preferences"
     72     />
     73     <item
     74         android:id="@+id/account_settings"
     75         android:orderInCategory="3000"
     76         android:title="@string/settings_action"
     77         android:icon="@android:drawable/ic_menu_preferences"
     78     />
     79 </menu>
     80