Вы находитесь на странице: 1из 2

animation

These classes provide functionality for the property animation system, which allows you to
animate object properties of any type. int, float, and hexadecimal color values are supported
by default. You can animate any other type by telling the system how to calculate the values for
that given type with a custom TypeEvaluator.

You can set many different types of interpolators (contained in android.view.animation), specify
keyframes, or group animations to play sequentially or simultaneously (with AnimatorSet) to
further control your animation behaviors.

For a guide on how to use the property animation system, see the Animation developer guide.

Interfaces
Animator.AnimatorListener An animation listener receives notifications from an
animation.
LayoutTransition.TransitionListe This interface is used for listening to starting and
ner ending events for transitions.

A time interpolator defines the rate of change of an


TimeInterpolator
animation.

Interface for use with the


TypeEvaluator
setEvaluator(TypeEvaluator) function.

Implementors of this interface can add themselves


as update listeners to an ValueAnimator instance to
ValueAnimator.AnimatorUpdateL
receive callbacks on every animation frame, after
istener
the current frame's values have been calculated for
that ValueAnimator.

Classes
This is the superclass for classes which provide basic support
Animator for animations which can be started, ended, and have
AnimatorListeners added to them.

This class is used to instantiate menu XML files into Animator


AnimatorInflater
objects.

AnimatorListenerAda This adapter class provides empty implementations of the


pter methods from Animator.AnimatorListener.

This class plays a set of Animator objects in the specified


AnimatorSet
order.
The Builder object is a utility class to facilitate adding
AnimatorSet.Builder animations to a AnimatorSet along with the relationships
between the various animations.

This evaluator can be used to perform type interpolation


ArgbEvaluator
between integer values that represent ARGB colors.

This evaluator can be used to perform type interpolation


FloatEvaluator
between float values.

This evaluator can be used to perform type interpolation


IntEvaluator
between int values.

Keyframe This class holds a time/value pair for an animation.

This class enables automatic animations on layout changes in


LayoutTransition
ViewGroup objects.

This subclass of ValueAnimator provides support for animating


ObjectAnimator
properties on target objects.

PropertyValuesHolde This class holds information about a property and the values
r that that property should take on during an animation.

This class provides a simple timing engine for running


ValueAnimator animations which calculate animated values and set them on
target objects.

Вам также может понравиться