Code example for AnimationDrawable

Methods: getDuration, getNumberOfFrames, start