Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding a gif image as an android loading icon? [closed]

I am currently trying to take an animated gif image and use it as an android loading icon. In other words, I am trying to take a gif and use it when I am waiting for a different screen to load. I realize I am able to do this with a series of pictures, but is it possible to do it with just an individual gif image? I'm really not sure how to do this.Thanks!

like image 955
saupton Avatar asked Jan 27 '15 01:01

saupton


People also ask

Can I use GIF as splash screen?

Android: Sure, add your individual splash screen graphics. Just replace the included splash. gif files with your own image file. Make sure to use GIF format (animated or static).

Why are my GIFs not working on android?

Android devices have not had built-in animated GIF support, which causes GIFs to load slower on some Android phones than on other OS.

Can we use GIF in android?

Graphics Interchange Format(GIF) pictures play a huge part in little picture movement. Actually Android doesn't provide any support for GIF animation in the image view, but displaying a GIF image in an android application is not an exhausting process.


1 Answers

Might not be exactly what you're looking for but you can definitely use an "image sequence" type of animation to as a loading screen.

Check the answer of this other question: Custom Progress Dialog With Squre Image Rotation With AsynTask

As for the GIF part, this might help as well: Problem with Animated gif on Android

Hope this helps.

like image 55
xemacobra Avatar answered Oct 20 '22 22:10

xemacobra