diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_layout.xml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/app/src/main/res/layout/item_layout.xml b/app/src/main/res/layout/item_layout.xml index eb65d60..cb6e87e 100644 --- a/app/src/main/res/layout/item_layout.xml +++ b/app/src/main/res/layout/item_layout.xml @@ -31,15 +31,18 @@ <TextView android:id="@+id/tv_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintStart_toEndOf="@id/iv_image" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" + android:layout_width="0dp" + android:layout_height="match_parent" + android:fontFamily="@font/bangers" android:text="@string/rv_title" + android:textAlignment="center" android:textColor="@color/strong_pink" - android:textSize="30sp"/> + android:textSize="30sp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/iv_image" + app:layout_constraintTop_toTopOf="parent" + android:layout_marginHorizontal="10sp"/> <TextView android:id="@+id/tv_rank" @@ -50,7 +53,8 @@ android:textColor="@color/slightly_desaturated_magenta" android:textSize="20sp" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toTopOf="@id/tv_title"/> </androidx.constraintlayout.widget.ConstraintLayout> |