Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rodrigomartind/1c4c6c13db955e112b3e324d2ef728f7 to your computer and use it in GitHub Desktop.
Save rodrigomartind/1c4c6c13db955e112b3e324d2ef728f7 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
android:id="@+id/detailTransition"
app:constraintSetEnd="@+id/detailCard"
app:constraintSetStart="@id/start"
app:duration="1000">
<OnSwipe
app:dragDirection="dragUp"
app:onTouchUp="autoComplete"
app:touchRegionId="@id/cardCenter" />
</Transition>
</MotionScene>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment