Android Question How to implement Shared Element Transition?

corwin42

Expert
Licensed User
Longtime User
I did a try on this and I guess it is not possible.

I attached an Example which should do the transition between the images. The starting transition does not work and I guess this is because Actvity_Create (and loading the layout) is called too late in the activity lifecycle. (Or I have done a mistake somewhere?)

The back transition works and looks great.

Maybe Erel has an idea how it can be done.
 

Attachments

  • SharedElementTransitionTest.zip
    86.3 KB · Views: 364
Last edited:
Upvote 0

corwin42

Expert
Licensed User
Longtime User
Maybe there is a solution. Will try it later...

Edit: Here we go
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…