Skip to content

Instantly share code, notes, and snippets.

@gilgoldzweig
Last active December 27, 2019 10:20
Show Gist options
  • Save gilgoldzweig/57270cc6f05a49f3b645e85776a0f93a to your computer and use it in GitHub Desktop.
Save gilgoldzweig/57270cc6f05a49f3b645e85776a0f93a to your computer and use it in GitHub Desktop.
MotionScene constraint search view|-|&tag=MotionLayout
<Constraint
android:id="@id/search_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:elevation="4dp"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@id/navigation_icon" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment