* commit '482ae5f2388a07d60d7f3b54432120172af25eee':
Bug 6021294 - Contextual action bar animation tweaks
This commit is contained in:
@@ -405,8 +405,7 @@ public class ActionBarContextView extends AbsActionBarView implements AnimatorLi
|
|||||||
View child = mMenuView.getChildAt(i);
|
View child = mMenuView.getChildAt(i);
|
||||||
child.setScaleY(0);
|
child.setScaleY(0);
|
||||||
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
|
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
|
||||||
a.setDuration(100);
|
a.setDuration(300);
|
||||||
a.setStartDelay(j * 70);
|
|
||||||
b.with(a);
|
b.with(a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -432,8 +431,7 @@ public class ActionBarContextView extends AbsActionBarView implements AnimatorLi
|
|||||||
View child = mMenuView.getChildAt(i);
|
View child = mMenuView.getChildAt(i);
|
||||||
child.setScaleY(0);
|
child.setScaleY(0);
|
||||||
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
|
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
|
||||||
a.setDuration(100);
|
a.setDuration(300);
|
||||||
a.setStartDelay(i * 70);
|
|
||||||
b.with(a);
|
b.with(a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user