summaryrefslogtreecommitdiffstats
path: root/res/menu-land
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2011-01-07 18:16:38 -0800
committerMichael Chan <mchan@android.com>2011-01-10 16:11:02 -0800
commit2ea19fc7a1ae47035a8f84bbb6a18bd90b6f1091 (patch)
tree6b3d1ec09e2116359222a54dabf9ea18a30072ea /res/menu-land
parent5339de50f1bf186329b1eff0024202f3271659da (diff)
downloadandroid_packages_apps_Calendar-2ea19fc7a1ae47035a8f84bbb6a18bd90b6f1091.tar.gz
android_packages_apps_Calendar-2ea19fc7a1ae47035a8f84bbb6a18bd90b6f1091.tar.bz2
android_packages_apps_Calendar-2ea19fc7a1ae47035a8f84bbb6a18bd90b6f1091.zip
b/3326392 Make room for the action bar in portrait mode
Change-Id: Iad7a84a893dd9983c281c8b67a4aad8b856d6854
Diffstat (limited to 'res/menu-land')
-rw-r--r--res/menu-land/all_in_one_title_bar.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/menu-land/all_in_one_title_bar.xml b/res/menu-land/all_in_one_title_bar.xml
new file mode 100644
index 00000000..5b71c221
--- /dev/null
+++ b/res/menu-land/all_in_one_title_bar.xml
@@ -0,0 +1,47 @@
+<?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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ 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.
+-->
+
+<menu
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/action_search"
+ android:alphabeticShortcut="f"
+ android:title="@string/search"
+ android:icon="@drawable/ic_menu_search_holo_light"
+ android:showAsAction="ifRoom"
+ android:actionViewClass="android.widget.SearchView" />
+ <item
+ android:id="@+id/action_today"
+ android:alphabeticShortcut="t"
+ android:title="@string/goto_today"
+ android:icon="@drawable/ic_menu_today_holo_light"
+ android:showAsAction="withText|always" />
+ <item
+ android:id="@+id/action_create_event"
+ android:alphabeticShortcut="n"
+ android:title="@string/event_create"
+ android:icon="@drawable/ic_menu_add_event_holo_light"
+ android:showAsAction="always" />
+ <item
+ android:id="@+id/action_refresh"
+ android:alphabeticShortcut="r"
+ android:title="@string/calendar_refresh"
+ android:icon="@drawable/ic_menu_refresh_holo_light" />
+ <item
+ android:id="@+id/action_settings"
+ android:alphabeticShortcut="s"
+ android:title="@string/menu_preferences"
+ android:icon="@drawable/ic_menu_settings_holo_light" />
+</menu>