Motion-ShapeOfView
Motion-ShapeOfView copied to clipboard
Motion with Rounded Rectangle
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.
hi, you can use RoundRectView with custom attribute in constraint for custom animation like this
<CustomAttribute
motion:attributeName="bottomLeftRadiusDp"
motion:customFloatValue="10" />