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/xml/searchable.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/xml/searchable.xml')
-rw-r--r-- | res/xml/searchable.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml new file mode 100644 index 000000000..0e8242ddf --- /dev/null +++ b/res/xml/searchable.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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. +--> +<searchable xmlns:android="http://schemas.android.com/apk/res/android" + android:label="@string/applicationLabel" + android:hint="@string/dialer_hint_find_contact" + android:inputType="textNoSuggestions" + android:imeOptions="actionSearch" + android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" + />
\ No newline at end of file |