summaryrefslogtreecommitdiff
path: root/res/values/attrs.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-15 16:11:24 -0700
committerAndrew Lee <anwlee@google.com>2014-05-16 12:36:51 -0700
commitb19038436ce8e4683eb19af02255eda9969a6a94 (patch)
treee77b60330d9ee881d93ff1bf466085f31f52a1e4 /res/values/attrs.xml
parentf0a95146bb220db05dd2104e76cd3e1cbab8002a (diff)
Open search ui on touch, and handle related scenarios.
- Add a touch listener to enter the search ui when the user touches the search bar. - Add a key listener to exit the search ui if the user closes the keyboard while the text input is empty. SearchEditTextLayout was added to facilitate this.. - Get rid of mFragmentsFrame, and control visibility of the favorites view by adjusting the alpha of the lists framgent instead, - Delete (hack) logic to change the background color. - Enter the search ui whenever the dialpad is shown, and exit if it is hidden and there is no query. - Handle showing/hiding the actionbar depending on whether the overlapping panel is displayed. This solution is a little hack, but what seems to be a weird frameowrk interaction prevents the desired solution of showing the action bar and then updating the hide offset. Bug: 14900155 Change-Id: I4e06e4ed8eae49ef48317c99a556c51ff2a206a5
Diffstat (limited to 'res/values/attrs.xml')
-rw-r--r--res/values/attrs.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index f734aae89..23f639fd2 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -31,4 +31,6 @@
<attr name="call_log_voicemail_status_action_text_color" format="color" />
</declare-styleable>
+ <declare-styleable name="SearchEditTextLayout" />
+
</resources>