Example usage for Java android.view ViewPropertyAnimator fields, constructors, methods, implement or subclass
The text is from its open source code.
void | cancel() Cancels all property animations that are currently running or pending. |
long | getDuration() Returns the current duration of property animations. |
ViewPropertyAnimator | scaleX(float value) This method will cause the View's scaleX property to be animated to the specified value. |
ViewPropertyAnimator | setDuration(long duration) Sets the duration for the underlying animator that animates the requested properties. |
ViewPropertyAnimator | setInterpolator(TimeInterpolator interpolator) Sets the interpolator for the underlying animator that animates the requested properties. |
ViewPropertyAnimator | setListener(Animator.AnimatorListener listener) Sets a listener for events in the underlying Animators that run the property animations. |
ViewPropertyAnimator | setStartDelay(long startDelay) Sets the startDelay for the underlying animator that animates the requested properties. |
void | start() Starts the currently pending property animations immediately. |
ViewPropertyAnimator | translationX(float value) This method will cause the View's translationX property to be animated to the specified value. |
ViewPropertyAnimator | translationY(float value) This method will cause the View's translationY property to be animated to the specified value. |
ViewPropertyAnimator | translationYBy(float value) This method will cause the View's translationY property to be animated by the specified value. |
ViewPropertyAnimator | withEndAction(Runnable runnable) Specifies an action to take place when the next animation ends. |