diff options
| author | Yorke Lee <yorkelee@google.com> | 2014-04-29 18:13:46 -0700 |
|---|---|---|
| committer | Yorke Lee <yorkelee@google.com> | 2014-04-30 11:50:15 -0700 |
| commit | 53a2230258d105299c7f1b8bbd25de54fed5d66a (patch) | |
| tree | 5555a7370250124ed9f6414c6de04331cb06a79e /res/menu | |
| parent | 87cf81d2608fd4fa7b3e254c6ea1b509ff5bcc54 (diff) | |
| download | packages_apps_Dialer-53a2230258d105299c7f1b8bbd25de54fed5d66a.tar.gz packages_apps_Dialer-53a2230258d105299c7f1b8bbd25de54fed5d66a.tar.bz2 packages_apps_Dialer-53a2230258d105299c7f1b8bbd25de54fed5d66a.zip | |
Use EditText for search in ActionBar
SearchView is too limited in terms of customizability for the
kind of UI styling we are trying to do. All we really need is a
space to enter text into, so use a EditText embedded in a custom
ActionBar view instead.
Bug: 13932490
Change-Id: I7081684c46b29b416dd6d0e5fcff249ee6f00405
Diffstat (limited to 'res/menu')
| -rw-r--r-- | res/menu/dialtacts_options.xml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index a332030ff..17f4d9fe1 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -14,16 +14,11 @@ limitations under the License. --> <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"/> + android:title="@string/action_menu_call_history_description" /> <item android:id="@+id/menu_import_export" android:title="@string/menu_import_export" /> |
