The duration of animation in milliseconds.
The interpolator to be used by this animation. A value of null will result in android.view.animation.LinearInterpolator
animate(long,TimeInterpolator) Method
Animates associated series with specified duration.
Syntax
void animate( 
   long duration,
   android.animation.TimeInterpolator interpolator
)

Parameters

duration
The duration of animation in milliseconds.
interpolator
The interpolator to be used by this animation. A value of null will result in android.view.animation.LinearInterpolator
See Also