<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/fragme"
    android:layout_width="270dp"
    android:layout_height="180dp"
    app:cardCornerRadius="8dp"
    app:cardElevation="0dp">

<ImageView
android:id="@+id/image_view"
android:scaleType="centerCrop"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

    </androidx.cardview.widget.CardView>