Skip to content

Commit fef000e

Browse files
adampAndroid Git Automerger
authored andcommitted
am 482ae5f: Bug 6021294 - Contextual action bar animation tweaks
* commit '482ae5f2388a07d60d7f3b54432120172af25eee': Bug 6021294 - Contextual action bar animation tweaks
2 parents f5f5d61 + 482ae5f commit fef000e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/java/com/android/internal/widget/ActionBarContextView.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,7 @@ private Animator makeInAnimation() {
405405
View child = mMenuView.getChildAt(i);
406406
child.setScaleY(0);
407407
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
408-
a.setDuration(100);
409-
a.setStartDelay(j * 70);
408+
a.setDuration(300);
410409
b.with(a);
411410
}
412411
}
@@ -432,8 +431,7 @@ private Animator makeOutAnimation() {
432431
View child = mMenuView.getChildAt(i);
433432
child.setScaleY(0);
434433
ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
435-
a.setDuration(100);
436-
a.setStartDelay(i * 70);
434+
a.setDuration(300);
437435
b.with(a);
438436
}
439437
}

0 commit comments

Comments
 (0)