<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="140dp"> <androidx.appcompat.widget.AppCompatImageView android:layout_width="match_parent" android:background="@drawable/background_session_card" android:layout_height="match_parent" android:layout_marginTop="5dp" android:layout_marginStart="15dp" android:layout_marginEnd="15dp"/> <TextView android:layout_width="200dp" android:id="@+id/cardName" android:textSize="20sp" android:layout_marginStart="20dp" android:text="@string/last_session" android:textColor="@color/black" android:layout_marginEnd="20dp" android:maxLines="1" android:layout_marginTop="15dp" android:layout_height="wrap_content" android:fontFamily="@font/sora_medium" /> <ImageView android:id="@+id/cardDateImage" android:layout_width="20dp" android:layout_height="20dp" android:layout_below="@+id/cardName" android:layout_marginStart="20dp" android:layout_marginTop="7dp" app:srcCompat="@drawable/baseline_schedule_24" app:tint="@color/black" android:contentDescription="@string/clock_yo" /> <TextView android:id="@+id/cardDate" android:layout_toEndOf="@+id/cardDateImage" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/cardName" android:fontFamily="@font/sora_medium" android:layout_marginTop="5dp" android:layout_marginEnd="20dp" android:layout_marginStart="10dp" android:textColor="@color/black" android:gravity="center" android:text="@string/example_date" android:textSize="16sp"/> <ImageView android:id="@+id/cardQuestionImage" android:layout_width="20dp" android:layout_height="20dp" android:layout_below="@+id/cardDate" android:layout_marginStart="20dp" android:layout_marginTop="7dp" app:srcCompat="@drawable/baseline_question_mark_24" app:tint="@color/black" android:contentDescription="@string/question_mark" /> <TextView android:id="@+id/cardQuestions" android:layout_toEndOf="@+id/cardQuestionImage" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/cardDate" android:fontFamily="@font/sora_medium" android:textColor="@color/black" android:layout_marginEnd="20dp" android:layout_marginTop="5dp" android:layout_marginStart="10dp" android:gravity="center" android:text="@string/card_question" android:textSize="16sp"/> <ImageView android:id="@+id/cardDurationImage" android:layout_width="20dp" android:layout_height="20dp" android:layout_below="@+id/cardQuestionImage" android:layout_marginStart="20dp" android:layout_marginTop="7dp" app:srcCompat="@drawable/baseline_timer_24" app:tint="@color/black" android:contentDescription="@string/question_mark" /> <TextView android:id="@+id/cardDuration" android:layout_toEndOf="@+id/cardQuestionImage" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/cardQuestions" android:fontFamily="@font/sora_medium" android:textColor="@color/black" android:layout_marginEnd="20dp" android:layout_marginTop="5dp" android:layout_marginStart="10dp" android:gravity="center" android:text="@string/card_duration" android:textSize="16sp"/> <TextView android:id="@+id/border2" android:layout_width="match_parent" android:layout_height="2dp" android:layout_marginStart="15dp" android:layout_marginEnd="15dp" android:layout_alignParentBottom="true" android:background="@color/black"/> </RelativeLayout>