diff options
| author | Dianne Hackborn <hackbod@google.com> | 2011-01-01 13:21:50 -0800 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2011-01-01 13:32:30 -0800 |
| commit | 7eab094722af54717859b7dcce3cc050f059e00b (patch) | |
| tree | cb31ec7f969c946cc63e6f16c09059e2e1f0f5e0 /core/java/android/widget | |
| parent | f6254ba7f0e48515bca3c08bbb71f916448bf0d1 (diff) | |
Fix flicker issue in IME.
When IME is being moved as part of a window going away, it could flicker
as it immediately moves behind the window. Fix this.
Also make the default soft input mode for PopupWindow to be to not change
the IME visibility, since it is a rare pop-up window that should cause your
IME to close.
Change-Id: I0b43e080ad012739e9a3e5842794c778c859ac1a
Diffstat (limited to 'core/java/android/widget')
| -rw-r--r-- | core/java/android/widget/PopupWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java index 591a2d47d28d..5a5b6f49f532 100644 --- a/core/java/android/widget/PopupWindow.java +++ b/core/java/android/widget/PopupWindow.java @@ -84,7 +84,7 @@ public class PopupWindow { private View mPopupView; private boolean mFocusable; private int mInputMethodMode = INPUT_METHOD_FROM_FOCUSABLE; - private int mSoftInputMode; + private int mSoftInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED; private boolean mTouchable = true; private boolean mOutsideTouchable = false; private boolean mClippingEnabled = true; |
