Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Created March 22, 2020 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmaxxdd/8894569b379b7e12e199f0952c480eee to your computer and use it in GitHub Desktop.
Save tmaxxdd/8894569b379b7e12e199f0952c480eee to your computer and use it in GitHub Desktop.
<ConstraintSet
android:id="@+id/end"
motion:deriveConstraintsFrom="@id/start">
<Constraint
android:id="@+id/card"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_marginStart="0dp"
android:layout_marginEnd="0dp"
android:layout_marginBottom="0dp"
motion:layout_constraintBottom_toBottomOf="parent"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent">
<CustomAttribute
motion:attributeName="radius"
motion:customDimension="8dp" />
<CustomAttribute
motion:attributeName="cardBackgroundColor"
motion:customColorValue="#ffffff" />
</Constraint>
</ConstraintSet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment