summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-03-10 01:06:02 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-10 01:06:03 +0000
commitd1eca77c3c1294c8d48147ed9c500032d3dac57f (patch)
treea1045a1fe110818d44eeacc948f46e1f638d0b8a /core
parent0e9a8f6a8e5d4d58fc358d47848fed52a94cae04 (diff)
parent7340be7993fea97232fdf7b98dfa1a5bc9b8fd95 (diff)
downloadframeworks_base-d1eca77c3c1294c8d48147ed9c500032d3dac57f.zip
frameworks_base-d1eca77c3c1294c8d48147ed9c500032d3dac57f.tar.gz
frameworks_base-d1eca77c3c1294c8d48147ed9c500032d3dac57f.tar.bz2
Merge "Fix: Drag handles are not shown for selection/insertion"
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/Editor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java
index 8197b3d..0f99e88 100644
--- a/core/java/android/widget/Editor.java
+++ b/core/java/android/widget/Editor.java
@@ -3326,6 +3326,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;