Java android.view.animation AlphaAnimation fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

AlphaAnimation(Context context, AttributeSet attrs)
Constructor used when an AlphaAnimation is loaded from a resource.
AlphaAnimation(float fromAlpha, float toAlpha)
Constructor to use when building an AlphaAnimation from code

Method

voidsetAnimationListener(AnimationListener listener)

Binds an animation listener to this animation.

voidsetDuration(long durationMillis)
How long this animation should last.
voidsetFillAfter(boolean fillAfter)
If fillAfter is true, the transformation that this animation performed will persist when it is finished.
voidsetFillEnabled(boolean fillEnabled)
If fillEnabled is true, the animation will apply the value of fillBefore.
voidsetInterpolator(Interpolator i)
Sets the acceleration curve for this animation.
voidsetRepeatCount(int repeatCount)
Sets how many times the animation should be repeated.
voidsetRepeatMode(int repeatMode)
Defines what this animation should do when it reaches the end.
voidsetStartOffset(long startOffset)
When this animation should start relative to the start time.
voidstart()
Convenience method to start the animation the first time #getTransformation(long,Transformation) is invoked.