diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-18 21:55:37 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-18 21:55:37 +0100 |
commit | eaef2672c25baaf370c72158d5236f40f6fea01f (patch) | |
tree | 658ee831fc5db15dae455d013cf13ec263faa177 /app/src/main/res/layout/item_layout.xml | |
parent | f4d8a9c6fa8f805a9dedb626ef343aa37943c079 (diff) |
Preparing
Preparing the implementation of the API datas to our recycerview in a fragment.
Diffstat (limited to 'app/src/main/res/layout/item_layout.xml')
-rw-r--r-- | app/src/main/res/layout/item_layout.xml | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_layout.xml b/app/src/main/res/layout/item_layout.xml index 8500bc7..eb65d60 100644 --- a/app/src/main/res/layout/item_layout.xml +++ b/app/src/main/res/layout/item_layout.xml @@ -29,17 +29,28 @@ android:src="@mipmap/ic_launcher_round" android:contentDescription="@string/rv_image" /> - <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:text="@string/rv_title" - android:textColor="@color/strong_pink" - android:textSize="20sp"/> + <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:text="@string/rv_title" + android:textColor="@color/strong_pink" + android:textSize="30sp"/> + + <TextView + android:id="@+id/tv_rank" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@color/very_dark_purple" + android:text="@string/rv_rank" + android:textColor="@color/slightly_desaturated_magenta" + android:textSize="20sp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> |