Merge "Fix: Drag handles are not shown for selection/insertion"

This commit is contained in:
Roozbeh Pournader
2015-03-10 01:06:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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;