Skip to content

Commit

Permalink
Centered point shop images more
Browse files Browse the repository at this point in the history
  • Loading branch information
leahlud committed Feb 14, 2024
1 parent 00e27bf commit 694594c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/src/main/res/layout/shop_tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.44" />
app:layout_constraintGuide_percent="0.45" />

<androidx.constraintlayout.widget.Guideline
android:id="@+id/guidelineSeparator2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.48" />

<ImageView
android:id="@+id/shopItemImageView"
Expand All @@ -39,9 +46,10 @@
android:layout_marginVertical="5dp"
android:scaleType="centerInside"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guidelineSeparator"
app:layout_constraintEnd_toStartOf="@+id/guidelineSeparator2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:srcCompat="@drawable/shop_potion_sticker" />

<TextView
Expand Down

0 comments on commit 694594c

Please sign in to comment.