androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.08k stars 174 forks source link

dragScale is not working #576

Open AlexSuvorov2k opened 2 years ago

AlexSuvorov2k commented 2 years ago

What parameter is responsible for the speed of tracking a swipe? If I understood correctly, then this is a dragScale, but changing its value does not change anything.

Video: https://i.stack.imgur.com/0yrjt.gif

Layout: https://pastebin.com/Rcrdm2d1

Motion: https://pastebin.com/MfQihgxZ

Transition snippet: <Transition android:id="@+id/rightTransition" motion:constraintSetEnd="@+id/right" motion:constraintSetStart="@id/start" motion:motionInterpolator="linear" motion:duration="300"> <OnSwipe motion:dragDirection="dragRight" motion:springStopThreshold="1" motion:dragScale="4" motion:maxAcceleration="600" motion:onTouchUp="autoComplete" motion:touchAnchorSide="right" /> ....

jafu888 commented 2 years ago

https://www.youtube.com/watch?v=8McWIOhh7aA&t=1087s