Javier
11/29/2021, 2:30 PManimateContentSize
to expand the component from the center instead of from the left to right?Javier
11/29/2021, 2:37 PMDoris Liu
11/29/2021, 6:55 PManimateContentSize
on the direct child of Button instead of on the Button itself, like this: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]roidx/compose/animation/demos/AnimateContentSizeDemo.kt;l=105
This would preserve the corner shape of the button during animation.Doris Liu
11/29/2021, 6:57 PMJavier
11/30/2021, 12:18 PMJavier
11/30/2021, 12:21 PMJavier
11/30/2021, 12:24 PM