Skip to content

Instantly share code, notes, and snippets.

@gilgoldzweig
Last active December 27, 2019 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilgoldzweig/0a6d29809315c68ae53e06f066b15316 to your computer and use it in GitHub Desktop.
Save gilgoldzweig/0a6d29809315c68ae53e06f066b15316 to your computer and use it in GitHub Desktop.
entire end constraint set
<ConstraintSet android:id="@+id/end">
<Constraint
android:id="@id/search_view"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:elevation="4dp"
motion:layout_constraintBottom_toTopOf="@+id/guideline_toolbar"
motion:layout_constraintEnd_toStartOf="@id/menu_icon"
motion:layout_constraintStart_toEndOf="@id/navigation_icon"
motion:layout_constraintTop_toTopOf="parent" />
<Constraint
android:id="@+id/toolbar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
motion:layout_constraintBottom_toTopOf="parent"
motion:layout_constraintStart_toEndOf="@id/navigation_icon" />
<Constraint
android:id="@+id/guideline_toolbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
motion:layout_constraintGuide_begin="65dp" />
<Constraint android:id="@id/navigation_icon">
<CustomAttribute
motion:attributeName="ColorFilter"
motion:customColorValue="#ffffff" />
</Constraint>
<Constraint android:id="@id/menu_icon">
<CustomAttribute
motion:attributeName="ColorFilter"
motion:customColorValue="#ffffff" />
</Constraint>
</ConstraintSet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment