Last active
December 27, 2019 10:13
-
-
Save gilgoldzweig/135ef6a373b7fcec4710e8cf5696ea46 to your computer and use it in GitHub Desktop.
MotionScene constraint end|-|&tag=MotionLayout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ConstraintSet android:id="@+id/end"> | |
<Constraint | |
android:id="@id/search_view" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_marginTop="16dp" | |
android:elevation="4dp" | |
motion:layout_constraintEnd_toStartOf="@id/menu_icon" | |
motion:layout_constraintStart_toEndOf="@id/navigation_icon" | |
motion:layout_constraintTop_toTopOf="parent" | |
motion:layout_constraintBottom_toBottomOf="@+id/toolbar" | |
android:layout_marginBottom="16dp" /> | |
<Constraint | |
android:id="@+id/toolbar_title" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:elevation="4dp" | |
motion:layout_constraintStart_toEndOf="@id/navigation_icon" | |
motion:layout_constraintBottom_toTopOf="parent" /> | |
<Constraint | |
android:id="@+id/guidline_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