<?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/cardBgOption"
    android:layout_width="60dp"
    android:layout_height="44dp"
    android:layout_margin="3dp"
    app:cardCornerRadius="4dp"
    app:cardElevation="1dp"
    app:strokeWidth="0dp"
    app:cardBackgroundColor="#222222">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:gravity="center"
        android:padding="2dp">

        <ImageView
            android:id="@+id/imgBgThumb"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:scaleType="centerCrop"
            android:contentDescription="Background Thumb" />

        <TextView
            android:id="@+id/txtBgName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textColor="#FFFFFF"
            android:textSize="9sp"
            android:singleLine="true"
            android:ellipsize="end"
            android:text="BG" />
    </LinearLayout>
</com.google.android.material.card.MaterialCardView>
