Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Davy Nguessan
229 PointsIs someone here can tell me how to put an animated gif as background of my activity ? on android studio ?
on android studio
2 Answers
Ken Alger
Treehouse TeacherDavy;
Welcome to Treehouse!
To the best of my knowledge, Android has yet to implement support for animated GIFs. One method to achieve that user experience is to break the gif apart into individual frames and run it as a "movie".
There is a tutorial here which might get you started in the right direction. It is not as easy as one may think.
Hope it helps and post back with further questions.
Happy coding,
Ken
Davy Nguessan
229 PointsOk thanks