Skip to content

Instantly share code, notes, and snippets.

@rodrigomartind
Created June 16, 2020 16:22
Show Gist options
  • Save rodrigomartind/fc924fdafe7f7bebfc5188edccbd9293 to your computer and use it in GitHub Desktop.
Save rodrigomartind/fc924fdafe7f7bebfc5188edccbd9293 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<Transition
app:constraintSetEnd="@+id/detail"
app:constraintSetStart="@id/start"
app:duration="500">
<OnClick
app:clickAction="toggle"
app:targetId="@id/detailButton" />
</Transition>
...
</MotionScene>
@nowiwr01w
Copy link

UPD: Solved the second issue by replacing the current version of ConstraintLayout to 'androidx.constraintlayout:constraintlayout:2.0.0-beta4' lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment