Reputation: 9083
I wanted to animate my image logo from Screen A to Screen B. In XML based layouts it was possible using windowContentTransitions
& transitionName
. So I wanted to ask is something similar available in Jetpack Compose?
I have already seen this https://github.com/mobnetic/compose-shared-element
But, Is there something in-built functionality similar to the XML?
Upvotes: 8
Views: 5354
Reputation: 31
It has been impelemented recently. It is in alpha stage now though, but you can look at it:
https://developer.android.com/develop/ui/compose/animation/shared-elements
Upvotes: 1
Reputation: 7680
Not supported yet by compose. See this conversation on kotlin-lang: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1616517641495500?thread_ts=1616516302.494300&cid=CJLTWPH7S
Upvotes: 1