Motion-ShapeOfView icon indicating copy to clipboard operation
Motion-ShapeOfView copied to clipboard

Motion with Rounded Rectangle

Open dariadobsai opened this issue 4 years ago • 1 comments

Hello @florent37 ,

Thank you for the awesome lib!

Is there any way to implement motion layout with the Rounded Rectangle? I just need to change animate corner shape change on swipe, but cannot find any way to do so.

dariadobsai avatar May 15 '20 18:05 dariadobsai

hi, you can use RoundRectView with custom attribute in constraint for custom animation like this

<CustomAttribute
                motion:attributeName="bottomLeftRadiusDp"
                motion:customFloatValue="10" />

luthfipun avatar Aug 27 '20 12:08 luthfipun