Merge "Ensure drag outline & crosshairs disappear on drag cancel" into honeycomb

This commit is contained in:
Patrick Dubroy authored and Android (Google) Code Review committed 2011-01-20 13:30:29 -08:00
commit b17e140a07
3 files changed
+16 -7

No files matched your search

+1 -3
View File
@@ -1342,9 +1342,7 @@ public class CellLayout extends ViewGroup implements VisibilityChangedListener {
lp.isDragging = false;
lp.dropped = true;
lp.animateDrop = animate;
if (animate) {
child.setVisibility(View.INVISIBLE);
}
child.setVisibility(animate ? View.INVISIBLE : View.VISIBLE);
child.requestLayout();
}
}