Ensure that rearranged widgets return to translationY=0

Change-Id: Ic29220624f8103eddfcbcc81d56f355f99322ca0
This commit is contained in:
Brandon Keely
2012-05-10 16:48:50 -07:00
parent 50ead3b2e8
commit faf22e15f1
+1 -1
View File
@@ -2010,7 +2010,7 @@ public class CellLayout extends ViewGroup {
ObjectAnimator.ofFloat(child, "scaleX", 1f),
ObjectAnimator.ofFloat(child, "scaleY", 1f),
ObjectAnimator.ofFloat(child, "translationX", 0f),
ObjectAnimator.ofFloat(child, "translationX", 0f)
ObjectAnimator.ofFloat(child, "translationY", 0f)
);
s.setDuration(REORDER_ANIMATION_DURATION);
s.setInterpolator(new android.view.animation.DecelerateInterpolator(1.5f));