Home | History | Annotate | Download | only in menu
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 <menu xmlns:android="http://schemas.android.com/apk/res/android"
     18       xmlns:app="http://schemas.android.com/apk/res-auto">
     19     <group android:id="@+id/menu_items">
     20         <item
     21             android:id="@+id/menu_item_search"
     22             android:icon="@android:drawable/ic_menu_search"
     23             android:imeOptions="actionSearch"
     24             android:orderInCategory="1"
     25             android:title="@android:string/search_go"
     26             android:visible="false"
     27             app:actionViewClass="android.support.v7.widget.SearchView"
     28             app:showAsAction="ifRoom"/>
     29         <item
     30             android:id="@+id/menu_item_sort"
     31             android:title="@string/menu_item_sort_by_gmt_offset"
     32             app:showAsAction="never"/>
     33         <item
     34             android:id="@+id/menu_item_night_mode"
     35             android:icon="@android:drawable/ic_menu_preferences"
     36             android:title="@string/menu_item_night_mode"/>
     37         <item
     38             android:id="@+id/menu_item_settings"
     39             android:icon="@android:drawable/ic_menu_preferences"
     40             android:title="@string/menu_item_settings"/>
     41         <item
     42             android:id="@+id/menu_item_help"
     43             android:icon="@android:drawable/ic_menu_preferences"
     44             android:title="@string/menu_item_help"/>
     45     </group>
     46 </menu>