From 7340be7993fea97232fdf7b98dfa1a5bc9b8fd95 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Fri, 27 Feb 2015 17:57:49 +0900 Subject: Fix: Drag handles are not shown for selection/insertion Bug: 19538371 Change-Id: I9017ae37bfd456272787aa4705d5a1608690f0cb --- core/java/android/widget/Editor.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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; -- cgit v1.1