diff --git a/lib/src/main/java/com/yalantis/contextmenu/lib/MenuAdapter.java b/lib/src/main/java/com/yalantis/contextmenu/lib/MenuAdapter.java index 511b7e5..3740293 100644 --- a/lib/src/main/java/com/yalantis/contextmenu/lib/MenuAdapter.java +++ b/lib/src/main/java/com/yalantis/contextmenu/lib/MenuAdapter.java @@ -285,6 +285,8 @@ private void toggleIsMenuOpen() { public void setAnimationDuration(int durationMillis) { mAnimationDurationMilis = durationMillis; + mAnimatorSetShowMenu.setDuration(mAnimationDurationMilis); + mAnimatorSetHideMenu.setDuration(mAnimationDurationMilis); } private Animator.AnimatorListener mCloseOpenAnimatorListener = new Animator.AnimatorListener() {