https://kotlinlang.org logo
#android
Title
# android
s

Sergey B

01/03/2020, 9:51 AM
hey guys. Is there any way to create a shared element transition from fragment to activity?
google 3
stackoverflow 2
l

Luca Nicoletti

01/03/2020, 10:20 AM
Well, your fragment is held by an activity, so it’s like making it from an activity to another, isn’t it?
s

Sergey B

01/03/2020, 10:23 AM
Sounds right. But activity-to-activity works very well. Fragment-to-activity is not working. Honestly didn't have enough time to debug it, probably there are some tricks to make it work..
I'm terribly sorry. It was my mistake. The size of the shared element was match_parent that's why it didn't work 🤦🏻‍♂️ thanks guys
3 Views