I am following http://developer.android.com/guide/topics/graphics/view-animation.html#frame-animation with minor changes. I have decided to make the animation loop and want
You need to give time to UI manager create appropiate resources BEFORE starting animation. Correct pattern is
a) Create animation object in onCreate. b) Start animation object elsewhere.
Don't create and start in same method.