hi i tring to apply custom spinner image to progress dialod in android i use a .gif file for this purpose,and i apply it through this code,
dialog = new Prog
In Android, animated gif don't work in ImageView. You need to play them as movies as shown by the sample ApiDemos.
But you can explode your gif in multple files and create an animation ressource file. An animation file is an xml file describing the list of drawable to display and the duration of each frame (or the transformations to apply if you can use them). You can read the details in the official documentation here: http://developer.android.com/guide/topics/resources/animation-resource.html#Frame
This drawable should then work nicely in your ProgressDialog