Code example for AnimationDrawable

Methods: getNumberOfFrames