Android Guides | Samples

Android.Animation Namespace

These classes provide functionality for the property animation system, which allows you to animate object properties of any type.

Remarks

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 ITypeEvaluator.

For more information, see the Animation guide.

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

Classes

TypeReason
AnimatorThis is the superclass for classes which provide basic support for animations which can be started, ended, and have AnimatorListeners added to them.
Animator+AnimationCancelEventArgs
Animator+AnimationEndEventArgs
Animator+AnimationPauseEventArgsProvides data for the Animator.AnimationPause event.
Animator+AnimationRepeatEventArgs
Animator+AnimationResumeEventArgsProvides data for the Animator.AnimationResume event.
Animator+AnimationStartEventArgs
Animator+IAnimatorListener
Animator+IAnimatorPauseListener
AnimatorInflaterThis class is used to instantiate animator XML files into Animator objects.
AnimatorListenerAdapterThis adapter class provides empty implementations of the methods from NoType:android/animation/Animator$AnimatorListener;Href=../../../reference/android/animation/Animator.AnimatorListener.html.
AnimatorSetThis class plays a set of Animator objects in the specified order.
AnimatorSet+BuilderThe Builder object is a utility class to facilitate adding animations to a AnimatorSet along with the relationships between the various animations.
ArgbEvaluatorThis evaluator can be used to perform type interpolation between integer values that represent ARGB colors.
BidirectionalTypeConverterAbstract base class used convert type T to another type V and back again.
FloatArrayEvaluatorThis evaluator can be used to perform type interpolation between float[] values.
FloatEvaluatorThis evaluator can be used to perform type interpolation between float values.
IntArrayEvaluatorThis evaluator can be used to perform type interpolation between int[] values.
IntEvaluatorThis evaluator can be used to perform type interpolation between int values.
ITimeInterpolatorA time interpolator defines the rate of change of an animation.
ITypeEvaluatorInterface for use with the ValueAnimator.SetEvaluator(ITypeEvaluator) function.
KeyframeThis class holds a time/value pair for an animation.
LayoutTransitionThis class enables automatic animations on layout changes in ViewGroup objects.
LayoutTransition+EndTransitionEventArgsProvides data for the LayoutTransition.EndTransition event.
LayoutTransition+ITransitionListenerThis interface is used for listening to starting and ending events for transitions.
LayoutTransition+StartTransitionEventArgsProvides data for the LayoutTransition.StartTransition event.
LayoutTransitionTypeEnumerates values returned by several types and taken as a parameter of several types.
ObjectAnimatorThis subclass of ValueAnimator provides support for animating properties on target objects.
PointFEvaluatorThis evaluator can be used to perform type interpolation between PointF values.
PropertyValuesHolderThis class holds information about a property and the values that that property should take on during an animation.
RectEvaluatorThis evaluator can be used to perform type interpolation between Rect values.
StateListAnimatorLets you define a number of Animators that will run on the attached View depending on the View's drawable state.
TimeAnimatorThis class provides a simple callback mechanism to listeners that is synchronized with all other animators in the system.
TimeAnimator+ITimeListenerImplementors of this interface can set themselves as update listeners to a TimeAnimator instance to receive callbacks on every animation frame to receive the total time since the animator started and the delta time since the last frame.
TimeAnimator+TimeEventArgsProvides data for the TimeAnimator.Time event.
TypeConverterAbstract base class used convert type T to another type V.
ValueAnimatorThis class provides a simple timing engine for running animations which calculate animated values and set them on target objects.
ValueAnimator+AnimatorUpdateEventArgsProvides data for the ValueAnimator.Update event.
ValueAnimator+IAnimatorUpdateListenerImplementors of this interface can add themselves as update listeners to an ValueAnimator instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that ValueAnimator.
ValueAnimatorRepeatModeEnumerates values returned by several types.