Shared Element Transitions
suggest changeVersions
[{“Name”:“5.0”,“GroupName”:null},{“Name”:“5.1”,“GroupName”:null},{“Name”:“6.0”,“GroupName”:null},{“Name”:“7.0”,“GroupName”:null},{“Name”:“7.1”,“GroupName”:null}]
Introduction
Here you find examples for transition between Activities
or Fragments
using a shared element. An example for this behaviour is the Google Play Store App which translates an App’s icon from the list to the App’s details view.
Syntax
- transaction.addSharedElement(sharedElementView, “targetTransitionName”);
- fragment.setSharedElementEnterTransition(new CustomTransaction());
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents