Merge "Fix bug: new items were invisible when added in spring-loaded mode" into honeycomb

This commit is contained in:
Michael Jurka
2011-01-14 15:01:52 -08:00
committed by Android (Google) Code Review
+3 -1
View File
@@ -1390,7 +1390,9 @@ public class CellLayout extends ViewGroup implements Dimmable, VisibilityChanged
lp.isDragging = false;
lp.dropped = true;
lp.animateDrop = animate;
child.setVisibility(View.INVISIBLE);
if (animate) {
child.setVisibility(View.INVISIBLE);
}
child.requestLayout();
}
}