summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorMason Tang <masontang@google.com>2010-07-26 15:55:36 -0700
committerMason Tang <masontang@google.com>2010-07-27 13:27:32 -0700
commit0948785d981b618447c2c067a6374725b7acefda (patch)
tree5e7452e650e0006568364bccbf6e0f8e5fd0cbf9 /res/menu
parent4484b04707d5570a6de4a5a4b228a9bb273bbab7 (diff)
downloadandroid_packages_apps_Calendar-0948785d981b618447c2c067a6374725b7acefda.tar.gz
android_packages_apps_Calendar-0948785d981b618447c2c067a6374725b7acefda.tar.bz2
android_packages_apps_Calendar-0948785d981b618447c2c067a6374725b7acefda.zip
Added search to the action bar, clearing out events with new searches
- Search is now accessible from the menu and the action bar - When searching, the agenda view list is cleared out and "loading..." is displayed Change-Id: If8878671ff2c41075c2fd533b6cb1208d86fc6dd
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/all_in_one_title_bar.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/res/menu/all_in_one_title_bar.xml b/res/menu/all_in_one_title_bar.xml
index eaf132e5..bdec4daf 100644
--- a/res/menu/all_in_one_title_bar.xml
+++ b/res/menu/all_in_one_title_bar.xml
@@ -17,11 +17,6 @@
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item
- android:id="@+id/action_refresh"
- android:alphabeticShortcut="r"
- android:title="@string/calendar_refresh"
- android:icon="@drawable/ic_menu_refresh" />
- <item
android:id="@+id/action_day"
android:alphabeticShortcut="d"
android:title="@string/day_view"
@@ -57,6 +52,15 @@
android:title="@string/event_create"
android:icon="@android:drawable/ic_menu_add"
android:showAsAction="always" />
+ <item android:id="@+id/action_search"
+ android:alphabeticShortcut="f"
+ android:title="@string/search"
+ android:icon="@android:drawable/ic_menu_search" />
+ <item
+ android:id="@+id/action_refresh"
+ android:alphabeticShortcut="r"
+ android:title="@string/calendar_refresh"
+ android:icon="@drawable/ic_menu_refresh" />
<item
android:id="@+id/action_manage_calendars"
android:alphabeticShortcut="c"