diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-02 16:49:38 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-14 17:57:27 -0700 |
commit | 86e21f733049560e77b92f17a58474312d72ec3e (patch) | |
tree | ca0923ca401f1b73f19c7e3ff30ae3478fb97886 /res/menu/dialtacts_options.xml | |
parent | fb8080e7627b91f25e4c13a270d2a7de8e5c609b (diff) |
Add actionbar to Dialer
Initial changes to replace the fake actionbar affordances in Dialer
with an actual actionBar. This puts the dialer in an intermediate
hybrid state where we are now using the system actionbar for search,
but the searchview is not yet themed to look like our old search
bar, so this is definitely still WIP UI.
This CL retains the fake action bar at the bottom of the screen to
continue allowing quick access to call history while other changes
are underway, but replaces the searchview and the overflow menu
with framework provided actionbar functionality.
Other related changes:
* The searchview (in the top actionbar) is hidden when scrolling to
devote the entire screen area to the speeddial list
https://folio.googleplex.com/phone/L/0407/#/03.png
* Functionality provided by the fake overflow menu has been moved to
the real actionbar overflow menu
* Various modifications to child fragments/listviews to take into
account the existence of an actionbar
* Cleaned up unneeded styles and related-dead code
Bug: 13933082
Change-Id: Ifd855bd67af7bf2d2a403ef9556ade54e8d57ee6
Diffstat (limited to 'res/menu/dialtacts_options.xml')
-rw-r--r-- | res/menu/dialtacts_options.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index 7e84818a1..71d095a14 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -15,6 +15,16 @@ --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item + android:id="@+id/menu_search" + android:title="@string/description_search_button" + android:showAsAction="always" + android:actionViewClass="android.widget.SearchView"/> + <item + android:id="@+id/menu_history" + android:icon="@drawable/ic_menu_history_lt" + android:title="@string/action_menu_call_history_description" + android:showAsAction="ifRoom"/> + <item android:id="@+id/menu_import_export" android:title="@string/menu_import_export" /> <item |