Skip to content

Instantly share code, notes, and snippets.

@gabbertini
Created August 23, 2018 14:17
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 gabbertini/ab2598e8088edfea48efc006510e6e27 to your computer and use it in GitHub Desktop.
Save gabbertini/ab2598e8088edfea48efc006510e6e27 to your computer and use it in GitHub Desktop.
<TextView
android:id="@+id/composition"
style="@style/StandardText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:maxWidth="200dp"
android:text="Composição: 85% Couro"
app:layout_constraintStart_toStartOf="@id/begin_margin"
app:layout_constraintTop_toBottomOf="@id/description" />
<TextView
android:id="@+id/color"
style="@style/StandardText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cor: Preto"
app:layout_constraintStart_toStartOf="@id/begin_margin"
app:layout_constraintTop_toBottomOf="@id/composition" />
<android.support.constraint.Barrier
android:id="@+id/barrier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="end"
app:constraint_referenced_ids="color,composition" />
<ImageView
android:id="@+id/thumb_tenis"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:src="@drawable/thumb_tenis"
app:layout_constraintEnd_toEndOf="@id/end_margin"
app:layout_constraintStart_toStartOf="@id/barrier"
app:layout_constraintTop_toBottomOf="@id/description"
tools:ignore="ContentDescription" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment