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

Android

Using animated images in view background

So I thought I'd make a change to the "stormy weather app" built during one of the Android courses here on Treehouse. We already have the weather icon changing depending on what the Forecast API returns, I thought it would be a nice touch to change the background as well. Then I though what about an animated background. rather than a picture of some rain, whats if the animation was rain drops hitting the screen like a live wallpaper.

Has anyone had experiance with this? I hear Android doesn't have much support if any for GIFs.

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

John;

Great idea. You are correct that Android doesn't support animated Gifs at this point. I have seen projects with animations but it takes some effort involving making a "movie" by breaking the individual frames apart. Take a look at this tutorial for some potential ideas.

Hope it helps and happy coding,
Ken