Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit 2459c21

Browse files
committed
Fix text wrapping.
1 parent 165f87d commit 2459c21

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

app/src/main/res/layout/item_catalog.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,25 @@
3838
android:layout_marginStart="8dp"
3939
android:layout_marginTop="8dp"
4040
android:alpha=".87"
41-
android:text="@string/drink_name"
4241
android:textColor="@android:color/black"
4342
android:textSize="17sp"
4443
android:textStyle="bold"
4544
app:layout_constraintStart_toEndOf="@+id/imgDrinkImage"
46-
app:layout_constraintTop_toTopOf="parent" />
45+
app:layout_constraintTop_toTopOf="parent"
46+
tools:text="@string/drink_name" />
4747

4848
<TextView
4949
android:id="@+id/tvShortDesc"
5050
android:layout_width="0dp"
5151
android:layout_height="wrap_content"
5252
android:layout_marginStart="8dp"
53+
android:layout_marginEnd="8dp"
5354
android:alpha=".54"
54-
android:text="@string/contents_of_the_drink"
5555
android:textColor="@android:color/black"
56+
app:layout_constraintEnd_toEndOf="parent"
5657
app:layout_constraintStart_toEndOf="@+id/imgDrinkImage"
57-
app:layout_constraintTop_toBottomOf="@+id/tvItemName" />
58+
app:layout_constraintTop_toBottomOf="@+id/tvItemName"
59+
tools:text="@string/contents_of_the_drink" />
5860

5961
<TextView
6062
android:id="@+id/tvDrinkName"

0 commit comments

Comments
 (0)