Last active
December 27, 2019 10:53
-
-
Save gilgoldzweig/7d998da2b1d3d8dcbe523ba9f06efbf8 to your computer and use it in GitHub Desktop.
start constraint set
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/start"> | |
<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" /> | |
<Constraint | |
android:id="@+id/toolbar_title" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:elevation="4dp" | |
motion:layout_constraintBottom_toBottomOf="@id/navigation_icon" | |
motion:layout_constraintStart_toEndOf="@id/navigation_icon" | |
motion:layout_constraintTop_toTopOf="@id/navigation_icon" /> | |
<Constraint android:id="@id/navigation_icon"> | |
<CustomAttribute | |
motion:attributeName="ColorFilter" | |
motion:customColorValue="#000000" /> | |
</Constraint> | |
<Constraint android:id="@id/menu_icon"> | |
<CustomAttribute | |
motion:attributeName="ColorFilter" | |
motion:customColorValue="#000000" /> | |
</Constraint> | |
</ConstraintSet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment