app/src/main/res/layout/list_tag.xml
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:alpha="0.5"
android:clickable="true"
android:focusable="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/tag"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="1"
android:background="@color/red"
android:padding="16dp"
android:textAppearance="?attr/textAppearanceHeadline5">
</TextView>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>