diff options
author | Yorke Lee <yorkelee@google.com> | 2014-05-20 17:21:25 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-05-20 18:20:42 -0700 |
commit | c7b2a0e30aba4505a041a9ad0f8889f4891d30f8 (patch) | |
tree | 632263146b6a74e7ae4e90de2e3391783ef176ff /res | |
parent | 11ca39eae2bd8ed5c3e21e8c4fa09c9b2b6bda51 (diff) |
Clean up some interactions in entering/exiting searchUI
Entering/exiting the search UI should now behave as a state machine
that is described as follows:
* Tapping on the search box or the dialpad brings up the search UI
* If back is pressed when in the search UI, one of three things happens
1) If the dialpad or IME is up and a query exists in the searchbox or the
dialpad, the IME/dialpad is hidden to allow the user to scroll search
results.
2) If the dialpad or IME is up and the query is empty, hide the dialpad and
IME, and exit the search UI.
3) If the dialpad or IME is not up and the query is not empty, clear the
search query and exit the search UI.
Change-Id: I9ba21227e1f1fcba4cde1101b3516009ee55da12
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/dialtacts_activity.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index e0049b5e4..c7a788da8 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -98,6 +98,7 @@ </FrameLayout> <!-- Host container for the contact tile drag shadow --> <FrameLayout + android:id="@+id/activity_overlay" android:layout_height="match_parent" android:layout_width="match_parent"> <ImageView |