From b19038436ce8e4683eb19af02255eda9969a6a94 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 15 May 2014 16:11:24 -0700 Subject: 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 --- res/values/attrs.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'res/values') 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 @@ + + -- cgit v1.2.3