Hey, guys. I'm trying to make a container transfor...
# compose
g
Hey, guys. I'm trying to make a container transform between a FAB and a screen with new shared element apis but no success yet. https://kstatic.googleusercontent.com/files/ba0be42ae71266d6e68503fe131ff522c906a23622af8dd[…]45d9328b9acf84674f526c59a67d91b5ea49ef63a7404b3b95fe47 Basically i trying to implement the third example, but the better i get is this, one container is overlaying the other
w
You need to use
sharedBounds
. Although that motion example is misleading. Shared transition API currently has no easy way to change the corner radius like that. It's a lot of manual work.
g
yeah, i'm using the sharedBounds. the api have a parameter to make the rounded corners but i have the problem above when use it. about the shadow, i don't found way to make it
n
Check property for make shadow
Shapes seems like