Skip to content

Instantly share code, notes, and snippets.

@KunalChaubal
Created May 31, 2020 11:19
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 KunalChaubal/cb26a1b84739db27ff0b86bb36c43f21 to your computer and use it in GitHub Desktop.
Save KunalChaubal/cb26a1b84739db27ff0b86bb36c43f21 to your computer and use it in GitHub Desktop.
<ConstraintSet android:id="@+id/base">
<Constraint
android:id="@+id/iv_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_home"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<CustomAttribute
app:attributeName="crossfade"
app:customFloatValue="0" />
</Constraint>
<Constraint
android:id="@+id/iv_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_search"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintStart_toEndOf="@id/tv_home"
app:layout_constraintTop_toTopOf="parent">
<CustomAttribute
app:attributeName="crossfade"
app:customFloatValue="0" />
</Constraint>
<Constraint
android:id="@+id/iv_like"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_like"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintStart_toEndOf="@id/tv_search"
app:layout_constraintTop_toTopOf="parent">
<CustomAttribute
app:attributeName="crossfade"
app:customFloatValue="0" />
</Constraint>
<Constraint
android:id="@+id/iv_profile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_profile"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintStart_toEndOf="@id/tv_like"
app:layout_constraintTop_toTopOf="parent">
<CustomAttribute
app:attributeName="crossfade"
app:customFloatValue="0" />
</Constraint>
</ConstraintSet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment