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

* commit '13a781168f134f62a83e17102a902de48acb277d':
  Fix bug: new items were invisible when added in spring-loaded mode
This commit is contained in:
Michael Jurka
2011-01-14 15:04:10 -08:00
committed by Android Git Automerger
+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();
}
}