diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2015-03-10 01:06:02 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-03-10 01:06:03 +0000 |
commit | d1eca77c3c1294c8d48147ed9c500032d3dac57f (patch) | |
tree | a1045a1fe110818d44eeacc948f46e1f638d0b8a /core | |
parent | 0e9a8f6a8e5d4d58fc358d47848fed52a94cae04 (diff) | |
parent | 7340be7993fea97232fdf7b98dfa1a5bc9b8fd95 (diff) | |
download | frameworks_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.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 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; |