Code example for AnimationDrawable

Methods: addFrame, setExitFadeDuration, setOneShot, start