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 trialStanley Aaron Meki
6,345 PointsThe 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);
getWindow().setEnterTransition(slide);
getWindow().setSharedElementsUseOverLay(false);
}
}
1 Answer
Jennifer Nordell
Treehouse TeacherHi 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:
.setSharedElementsUseOverLay
But that should be:
.setSharedElementsUseOverlay
Note the capitalization of the "L" in the second version vs the first. It should be lower case.
Hope this helps!
Stanley Aaron Meki
6,345 PointsStanley Aaron Meki
6,345 Pointsthnx a lot jen