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

Wyndell Que
Wyndell Que
209 Points

Why is the button animation in Fun Facts app gone?

Why is there a button animation when the button is clicked in the Interactive Story app, while there is none in the Fun Facts app?

1 Answer

Akym Bonheur
Akym Bonheur
6,198 Points

The reason is simple. In the Interactive story the background is white and the textcolor is blue. Since the background of the interactive story stay white and you want to keep the user's focus on the ImageView there is no animation on the button.

On the other hand in the fun facts app, the button change color to have the same of the background. It's only for a design purpose.