public void setAnimated ( boolean animated ) { mIsAnimated = animated ; mOpenAnimatorSet . setDuration ( animated ? ANIMATION_DURATION : 0 ) ; mCloseAnimatorSet . setDuration ( animated ? ANIMATION_DURATION : 0 ) ; }
Sets whether open and close actions should be animated