This course will be retired on December 9, 2019.
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Let's review what we learned about Shared Element Transitions in this section.
Let's recap what we've learned about activity transitions.
Activity transitions allow us to define the animations of individual views
when moving back and forth between activities.
We can define what transitions to use for
the views that are conceptually shared between both activities.
As well as how the rest of the views are supposed to move onto or off the screen.
In order to precisely control how things should move at different times for
each of the views, Android allows us to specify enter [SOUND], exit [SOUND],
re-enter [SOUND] and return [SOUND] transitions for
both content and shared element transitions.
Most of the time though, we only need to configure half of these transitions and
the system will automatically reverse the transition for the other half.
Finally although we didn't specifically talk about transitions for fragments.
They work pretty much the same way as those for activities.
You need to sign up for Treehouse in order to download course files.Sign up