diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 20:33:21 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 20:33:21 +0100 |
commit | 13fdfd28b10cdac6e5b901d3947ba02fa744df4b (patch) | |
tree | ae8a23f78c410a6afe9d4d619069d9de103197c7 /app/src/main/res/layout | |
parent | 485d3ca989bd4cce1788eae17bcc7587d5ef2c90 (diff) |
Adding scores to the recyclerview layout.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_layout.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_layout.xml b/app/src/main/res/layout/item_layout.xml index 32bea24..8d7a792 100644 --- a/app/src/main/res/layout/item_layout.xml +++ b/app/src/main/res/layout/item_layout.xml @@ -26,7 +26,7 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - android:src="@mipmap/ic_launcher_round" + android:src="@mipmap/ic_launcher" android:contentDescription="@string/rv_image" /> <TextView @@ -56,6 +56,17 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toTopOf="@id/tv_title"/> + <TextView + android:id="@+id/tv_score" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@color/very_dark_purple" + android:text="@string/rv_score" + android:textColor="@color/slightly_desaturated_magenta" + android:textSize="20sp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@id/tv_title"/> </androidx.constraintlayout.widget.ConstraintLayout> </androidx.cardview.widget.CardView>
\ No newline at end of file |