Code example for AnimationDrawable

Methods: getNumberOfFramesstopgetCurrent, getFrame