Ensure drag outline & crosshairs disappear on drag cancel

Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
This commit is contained in:
Patrick Dubroy
2011-01-20 10:43:40 -08:00
parent 8d60f2c204
commit e3887cc4ec
3 changed files with 16 additions and 7 deletions
+1 -3
View File
@@ -1356,9 +1356,7 @@ public class CellLayout extends ViewGroup implements Dimmable, VisibilityChanged
lp.isDragging = false;
lp.dropped = true;
lp.animateDrop = animate;
if (animate) {
child.setVisibility(View.INVISIBLE);
}
child.setVisibility(animate ? View.INVISIBLE : View.VISIBLE);
child.requestLayout();
}
}