<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/mal_list_card"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginStart="@dimen/mal_baseline_half"
    android:layout_marginLeft="@dimen/mal_baseline_half"
    android:layout_marginTop="@dimen/mal_baseline_half"
    android:layout_marginEnd="@dimen/mal_baseline_half"
    android:layout_marginRight="@dimen/mal_baseline_half"
    android:paddingStart="@dimen/mal_baseline_half"
    android:paddingLeft="@dimen/mal_baseline_half"
    android:paddingTop="@dimen/mal_baseline"
    android:paddingEnd="@dimen/mal_baseline_half"
    android:paddingRight="@dimen/mal_baseline_half"
    android:paddingBottom="@dimen/mal_baseline"
    app:cardBackgroundColor="?mal_card_background"
    app:cardCornerRadius="@dimen/mal_card_radius"
    app:cardElevation="@dimen/mal_card_elevation"
    app:cardPreventCornerOverlap="false"
    app:cardUseCompatPadding="true">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <TextView
            android:id="@+id/mal_list_card_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/mal_baseline"
            android:layout_marginLeft="@dimen/mal_baseline"
            android:layout_marginTop="@dimen/mal_baseline"
            android:layout_marginEnd="@dimen/mal_baseline"
            android:layout_marginRight="@dimen/mal_baseline"
            android:layout_marginBottom="@dimen/mal_baseline_half"
            android:textAppearance="@style/TextAppearance.AppCompat.Body2"
            android:textColor="?mal_color_primary"
            tools:text="Author" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/mal_card_recyclerview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clipToPadding="false"
            android:paddingTop="@dimen/mal_baseline_half"
            android:paddingBottom="@dimen/mal_baseline_half" />

    </LinearLayout>

</androidx.cardview.widget.CardView>