diff options
author | Andrew Lee <anwlee@google.com> | 2014-05-15 16:11:24 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-05-16 12:36:51 -0700 |
commit | b19038436ce8e4683eb19af02255eda9969a6a94 (patch) | |
tree | e77b60330d9ee881d93ff1bf466085f31f52a1e4 /tests | |
parent | f0a95146bb220db05dd2104e76cd3e1cbab8002a (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 'tests')
0 files changed, 0 insertions, 0 deletions