<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/cd_home_screen_analyze"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="8dp"
    app:cardCornerRadius="0dp"
    app:strokeColor="@color/greenGeneral"
    app:strokeWidth="1dp">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/rl_home_screen_card_analyze"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:gravity="center"
        android:paddingHorizontal="25dp"
        android:paddingVertical="20dp">

        <com.google.android.material.card.MaterialCardView
            android:id="@+id/card_result_diagnosis"
            android:layout_width="75dp"
            android:layout_height="75dp"
            app:cardCornerRadius="0dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent">

            <ImageView
                android:id="@+id/img_result_diagnosis"
                android:layout_width="75dp"
                android:layout_height="75dp"
                android:scaleType="fitXY"
                android:src="@drawable/hs_wereng_img" />
        </com.google.android.material.card.MaterialCardView>

        <TextView
            android:id="@+id/date_result_diagnosis"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="11 November 2023"
            android:layout_marginStart="@dimen/margin_component"
            android:textColor="@color/grayFont"
            android:textSize="12sp"
            android:textStyle="bold"
            app:layout_constraintStart_toEndOf="@id/card_result_diagnosis"
            app:layout_constraintTop_toTopOf="@id/card_result_diagnosis" />

        <TextView
            android:id="@+id/title_result_diagnosis"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/date_result_diagnosis"
            android:text="Algal Leaf"
            android:textColor="@color/greenGeneral"
            android:textSize="20sp"
            android:textStyle="bold"
            app:layout_constraintTop_toBottomOf="@id/date_result_diagnosis"
            app:layout_constraintStart_toStartOf="@id/date_result_diagnosis"/>

        <TextView
            android:id="@+id/confidence_result_diagnosis"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/title_result_diagnosis"
            android:text="Confidence: "
            android:textColor="@color/grayFont"
            android:textSize="12sp"
            android:textStyle="bold"
            app:layout_constraintTop_toBottomOf="@id/title_result_diagnosis"
            app:layout_constraintStart_toStartOf="@id/title_result_diagnosis"/>

        <ImageView
            android:id="@+id/img_arrow2"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:layout_below="@id/date_result_diagnosis"
            android:layout_alignParentEnd="true"
            android:contentDescription="TODO"
            android:scaleType="fitXY"
            android:rotation="180"
            android:src="@drawable/back_button"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

    </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>