diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2015-02-27 17:57:49 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2015-02-27 17:57:49 +0900 |
commit | 7340be7993fea97232fdf7b98dfa1a5bc9b8fd95 (patch) | |
tree | 1833fd51beb4bd826a167f3f50e284c6433d6e80 /core | |
parent | 6a873711cd1ed43c85f6cc93e8cf61fed7aeff0e (diff) | |
download | frameworks_base-7340be7993fea97232fdf7b98dfa1a5bc9b8fd95.zip frameworks_base-7340be7993fea97232fdf7b98dfa1a5bc9b8fd95.tar.gz frameworks_base-7340be7993fea97232fdf7b98dfa1a5bc9b8fd95.tar.bz2 |
Fix: Drag handles are not shown for selection/insertion
Bug: 19538371
Change-Id: I9017ae37bfd456272787aa4705d5a1608690f0cb
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/widget/Editor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index 1ba11da..c838a0d 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -3235,6 +3235,8 @@ public class Editor { mContainer.setSplitTouchEnabled(true); mContainer.setClippingEnabled(false); mContainer.setWindowLayoutType(WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL); + mContainer.setWidth(ViewGroup.LayoutParams.WRAP_CONTENT); + mContainer.setHeight(ViewGroup.LayoutParams.WRAP_CONTENT); mContainer.setContentView(this); mDrawableLtr = drawableLtr; |