<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <androidx.cardview.widget.CardView
        android:layout_width="160dp"
        android:layout_height="146dp"
        android:id="@+id/card"
        app:cardCornerRadius="16dp">
        <RelativeLayout
            android:gravity="center_horizontal"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <ImageView
                android:id="@+id/imPreview"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"
                android:layout_gravity="center_horizontal"
                tools:ignore="ContentDescription" />
            <FrameLayout
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:layout_marginStart="130dp">
                <ImageView
                    android:id="@+id/collect"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="@drawable/collect"
                    >
                </ImageView>
            </FrameLayout>
        </RelativeLayout>
        


    </androidx.cardview.widget.CardView>

</RelativeLayout>