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

Fun challenge!

Inspired by my girlfriend, I added a bit of functionality to the app. See if you can get the background to change to a blue gradient instead of orange when the current temperature drops below a certain temperature (we chose 40 degrees)!

1 Answer

Beatriz Fuentes
Beatriz Fuentes
2,207 Points

probably use an if statement once data is retrived , that would be the easiest way