If I create a GIF with 100 frames, is there a way in Java/Android to tell it which frame to go to during my 'doProgress()' function?
Since Android does not do animated GIFs, no.
Is there another or better way to do custom loading graphics?
Option #1: Use a frame animation.
Option #2: Use a RotateAnimation
with a single image in an ImageView
.
Option #3: Use ViewPropertyAnimator
(using NineOldAndroids for the backport) to animate android:rotation
with a single image in an ImageView
.
There may be other options as well, though those are the three that come to mind.