Shared element transition among fragments that belong to different activities in Android lollipop
问题 I have a shared element in a fragment that belongs to one Activity. I want to make a shared element transition in Android Lollipop with an element that is part of a fragment that belongs to another activity. Is it possible? How can I achieve that? 回答1: It's possible. First, when you detect in your fragment that transition is about to happen, build a array of Pair<View, String> which you populate with view and transition name. For example, if you want to animate from thumbnail image to full