Skip to content

Instantly share code, notes, and snippets.

@PiotrPrus
Created December 29, 2019 21:57
Show Gist options
  • Save PiotrPrus/99c8459398082a5bfe18faf08cd758e8 to your computer and use it in GitHub Desktop.
Save PiotrPrus/99c8459398082a5bfe18faf08cd758e8 to your computer and use it in GitHub Desktop.
an item view layout file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.motion.widget.MotionLayout
android:layout_width="match_parent"
android:layout_height="300dp"
app:layoutDescription="@xml/ml_scene">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView />
</LinearLayout>
</androidx.cardview.widget.CardView>
</>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment