app/src/main/res/layout/item_profile.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- https://qiita.com/ntsk/items/dac92596742e18470a55 -->
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/selectableItemBackground"
app:cardCornerRadius="15dp"
app:cardPreventCornerOverlap="false"
app:cardUseCompatPadding="true">
<ImageView
android:id="@+id/item_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/blindly_blue"
android:contentDescription="@string/background_description"
android:scaleType="centerCrop" />
<Button
android:id="@+id/play_audio_profile_button"
style="@style/Widget.Theme.Blindly.Play.Audio.Button"
android:layout_width="373dp"
android:layout_height="285dp"
android:layout_gravity="center_horizontal|center_vertical" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/item_name_age"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="26sp"
android:textStyle="bold" />
<TextView
android:id="@+id/item_gender"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/item_name_age"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/item_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/item_gender"
android:textSize="20sp"
android:textStyle="bold" />
</RelativeLayout>
</androidx.cardview.widget.CardView>