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 Animations and Transitions Activity Transitions: Advanced Topics Use the Overlay for Shared Elements

The transition for the Activity below has shared elements in the overlay. Turn it off so that the animation runs in the

public class MainActivity extends Activity {

    // Some code omitted for brevity!

    public void setupTransitions() {
        Slide slide = new Slide(Gravity.BOTTOM);
        slide.excludeTarget(android.R.id.statusBarBackground, true);

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there! I received your request for assistance and you're doing terrific! You got bitten by the typo bug, and it happens to us all. You wrote:


But that should be:


Note the capitalization of the "L" in the second version vs the first. It should be lower case.

Hope this helps! :sparkles:

thnx a lot jen