Skip to content

Instantly share code, notes, and snippets.

@rodrigomartind
Last active June 16, 2020 14:37
Show Gist options
  • Save rodrigomartind/9c2234e793731b46c048159dcf5d00e8 to your computer and use it in GitHub Desktop.
Save rodrigomartind/9c2234e793731b46c048159dcf5d00e8 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:showPaths="true"
app:layoutDescription="@xml/tinder_scene5"
tools:context=".scenes.TinderScene5Activity">
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardTwo"
android:layout_width="270dp"
android:layout_height="424dp"
app:cardBackgroundColor="@color/design_default_color_secondary"
app:cardCornerRadius="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
...
</androidx.constraintlayout.motion.widget.MotionLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment