Java android.view ViewPropertyAnimator fields, constructors, methods, implement or subclass

Example usage for Java android.view ViewPropertyAnimator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.view ViewPropertyAnimator.

The text is from its open source code.

Method

voidcancel()
Cancels all property animations that are currently running or pending.
longgetDuration()
Returns the current duration of property animations.
ViewPropertyAnimatorscaleX(float value)
This method will cause the View's scaleX property to be animated to the specified value.
ViewPropertyAnimatorsetDuration(long duration)
Sets the duration for the underlying animator that animates the requested properties.
ViewPropertyAnimatorsetInterpolator(TimeInterpolator interpolator)
Sets the interpolator for the underlying animator that animates the requested properties.
ViewPropertyAnimatorsetListener(Animator.AnimatorListener listener)
Sets a listener for events in the underlying Animators that run the property animations.
ViewPropertyAnimatorsetStartDelay(long startDelay)
Sets the startDelay for the underlying animator that animates the requested properties.
voidstart()
Starts the currently pending property animations immediately.
ViewPropertyAnimatortranslationX(float value)
This method will cause the View's translationX property to be animated to the specified value.
ViewPropertyAnimatortranslationY(float value)
This method will cause the View's translationY property to be animated to the specified value.
ViewPropertyAnimatortranslationYBy(float value)
This method will cause the View's translationY property to be animated by the specified value.
ViewPropertyAnimatorwithEndAction(Runnable runnable)
Specifies an action to take place when the next animation ends.