<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="4dp"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:id="@+id/imageLayout"
        app:layout_constraintDimensionRatio="1:1.15"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginEnd="8dp"
        app:strokeWidth="1dp"
        app:cardCornerRadius="4dp"
        app:strokeColor="@color/gray_1">
        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <ImageView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:id="@+id/image_category"
                android:src="@drawable/makanan_ringan"
                android:scaleType="centerCrop" />
            <com.google.android.material.card.MaterialCardView
                android:id="@+id/tv_category"
                android:backgroundTint="@color/blue_500"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                style="@style/MyCardView"
                android:padding="2dp"
                app:strokeWidth="1dp"
                app:strokeColor="@color/blue_500"
                app:layout_constraintBottom_toBottomOf="parent">
                <TextView
                    android:id="@+id/name"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginHorizontal="8dp"
                    android:textColor="@color/white"
                    android:lineSpacingExtra="0dp"
                    android:fontFamily="@font/dmsans_semibold"
                    android:textAlignment="center"
                    android:textSize="10sp"

                    android:text="@string/fragment_home_item_categories"/>
            </com.google.android.material.card.MaterialCardView>

        </androidx.constraintlayout.widget.ConstraintLayout>
    </androidx.cardview.widget.CardView>


</androidx.constraintlayout.widget.ConstraintLayout>