Added an AnimateDrawable adapted from API examples