Open AlexSuvorov2k opened 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" /> ....
<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" /> ....
https://www.youtube.com/watch?v=8McWIOhh7aA&t=1087s
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" /> ....