created AnimationDrawable

created an xml with for AnimationDrawable and play it in a imageView