Skip to content

Instantly share code, notes, and snippets.

@yashwantGowla
Created March 12, 2021 11:06
Show Gist options
  • Save yashwantGowla/c814b969c680a5f2fe9444b0b91867b8 to your computer and use it in GitHub Desktop.
Save yashwantGowla/c814b969c680a5f2fe9444b0b91867b8 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:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/motionLayout"
app:layoutDescription="@xml/sceneExample"
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:id="@+id/button"
android:layout_width="32dp"
android:layout_height="32dp"
android:text="Motion Layout" />
</androidx.constraintlayout.motion.widget.MotionLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment