diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 12:19:21 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 12:19:21 +0100 |
commit | 64bd7c1aa8c5a9e75db10cdcb98b8dee9a7612c6 (patch) | |
tree | dea96f7da51854d2b53e933b40325655aa3e8ddb /app/src | |
parent | f650e3b9d80633d90e13b07b64e5695564d37359 (diff) |
Modifying, a bit, the layout.
Diffstat (limited to 'app/src')
-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> |