all_in_one_title_bar.xml 2.1 KB
Newer Older
1 2 3 4 5 6
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
7

8
          http://www.apache.org/licenses/LICENSE-2.0
9

10 11 12 13 14 15 16
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

17 18
<menu
    xmlns:android="http://schemas.android.com/apk/res/android">
19 20 21
    <item android:id="@+id/action_search"
        android:alphabeticShortcut="f"
        android:title="@string/search"
Michael Chan's avatar
Michael Chan committed
22
        android:icon="@drawable/ic_menu_search_holo_light"
23
        android:showAsAction="never"
24
        android:actionViewClass="android.widget.SearchView" />
25
    <item
26 27 28
        android:id="@+id/action_today"
        android:alphabeticShortcut="t"
        android:title="@string/goto_today"
Michael Chan's avatar
Michael Chan committed
29
        android:icon="@drawable/ic_menu_today_holo_light"
30
        android:showAsAction="always" />
31 32
    <item
        android:id="@+id/action_create_event"
Erik's avatar
Erik committed
33
        android:alphabeticShortcut="n"
34
        android:title="@string/event_create"
Michael Chan's avatar
Michael Chan committed
35
        android:icon="@drawable/ic_menu_add_event_holo_light"
36
        android:showAsAction="never" />
37 38 39 40
    <item
        android:id="@+id/action_refresh"
        android:alphabeticShortcut="r"
        android:title="@string/calendar_refresh"
Michael Chan's avatar
Michael Chan committed
41
        android:icon="@drawable/ic_menu_refresh_holo_light" />
42 43 44 45 46
    <item
        android:id="@+id/action_select_visible_calendars"
        android:title="@string/menu_select_visible_calendars"
        android:icon="@drawable/ic_menu_select_visible_calendars_holo_light"
        android:showAsAction="never" />
47 48
    <item
        android:id="@+id/action_settings"
Erik's avatar
Erik committed
49
        android:alphabeticShortcut="s"
50
        android:title="@string/menu_preferences"
Michael Chan's avatar
Michael Chan committed
51
        android:icon="@drawable/ic_menu_settings_holo_light" />
52
</menu>