Изменение скорости движения Motion Layout

Скорость движения задается через .xml.

Как можно изменить duration через код?

        <Transition
        motion:autoTransition="animateToEnd"
        motion:constraintSetEnd="@+id/start"
        motion:constraintSetStart="@+id/end"
        motion:duration="5000" />

Ответы (0 шт):