Skip to content

Commit

Permalink
long shop item name stays on screen
Browse files Browse the repository at this point in the history
  • Loading branch information
leesunny790 committed Jan 21, 2024
1 parent 849f8d3 commit 9746cb6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/src/main/res/layout/shop_tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,22 @@

<TextView
android:id="@+id/shopItemTextView"
android:layout_width="wrap_content"
android:layout_height="38dp"
android:layout_marginStart="32dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="20dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:fontFamily="@font/montserrat_semi_bold"
android:gravity="center"
android:maxLines="2"
android:text="Potion Sticker"
android:text="Super Long Test Shop Test Shop Name"
android:textColor="@color/midnight"
app:autoSizeTextType="uniform"
app:autoSizeMinTextSize="3sp"
app:autoSizeMaxTextSize="14sp"
app:autoSizeStepGranularity="2sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/shopItemImageView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.4" />
Expand Down

0 comments on commit 9746cb6

Please sign in to comment.