diff options
author | Sai Cheemalapati <saicheems@google.com> | 2014-06-10 13:30:10 -0700 |
---|---|---|
committer | Sai Cheemalapati <saicheems@google.com> | 2014-06-10 13:33:32 -0700 |
commit | 6841f192723c34d2680ac45a852c75aef251b3e4 (patch) | |
tree | 9889cf94e73f2b4382799f5fa3dcf9969db5ba9a | |
parent | 6f009da749e307ebbd49658831e7f6bb8ee3e708 (diff) |
Fix bug where keyboard jumps in landscape.
Fixes bug where keyboard would jump up after exiting the
SearchFragment when the query text was empty.
Change-Id: I591b401a42c1abc7fa58d7dcc7aacd97b228886d
-rw-r--r-- | src/com/android/dialer/widget/SearchEditTextLayout.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/widget/SearchEditTextLayout.java b/src/com/android/dialer/widget/SearchEditTextLayout.java index f3e355d7c..3dcbc4bb1 100644 --- a/src/com/android/dialer/widget/SearchEditTextLayout.java +++ b/src/com/android/dialer/widget/SearchEditTextLayout.java @@ -230,7 +230,9 @@ public class SearchEditTextLayout extends FrameLayout { mVoiceSearchButtonView.setVisibility(collapsedViewVisibility); mOverflowButtonView.setVisibility(collapsedViewVisibility); mBackButtonView.setVisibility(expandedViewVisibility); - mExpandedSearchBox.setVisibility(expandedViewVisibility); + // TODO: Prevents keyboard from jumping up in landscape mode after exiting the + // SearchFragment when the query string is empty. More elegant fix? + //mExpandedSearchBox.setVisibility(expandedViewVisibility); mClearButtonView.setVisibility(expandedViewVisibility); } |