Skip to content

Instantly share code, notes, and snippets.

@ZZANZU
Last active December 10, 2023 11:07
Show Gist options
  • Save ZZANZU/66366b07b6c459c7dd94bc86359b624c to your computer and use it in GitHub Desktop.
Save ZZANZU/66366b07b6c459c7dd94bc86359b624c to your computer and use it in GitHub Desktop.
<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:layoutDescription="@xml/MotionScene을 정의한 xml파일"
tools:context=".MainActivity">
<ImageView
android:id="@+id/iv_main"
android:layout_width="200dp"
android:layout_height="200dp"
android:src="@drawable/profile"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
/>
</androidx.constraintlayout.motion.widget.MotionLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment