AnimatedStateListDrawable

Class of android.graphics.drawable · AnimatedStateListDrawable.java · Android's reference

public class AnimatedStateListDrawable extends StateListDrawable

AnimatedStateListDrawable ← StateListDrawable ← DrawableContainer ← Drawable

A state list whose changes may animate. The transitions are kept but not played: the state's drawable shows at once, as a transition that has ended would leave it.

Constructors

public AnimatedStateListDrawable() empty body source

Methods

public void addState(int[] stateSet, Drawable drawable, int id) source
public <T extends Drawable & Animatable> void addTransition(int fromId, int toId, T transition, boolean reversible) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.