<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView android:id="@+id/card_item"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="130dp"
    android:layout_height="wrap_content"

    android:clickable="true"
    android:focusable="true"

    android:foreground="?selectableItemBackground"
    app:cardBackgroundColor="@android:color/white"

    app:cardCornerRadius="5dp"
    app:cardElevation=".1dp"
    app:cardPreventCornerOverlap="true"
    android:layout_margin="5dp"
    xmlns:card_view="http://schemas.android.com/tools">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
        <androidx.cardview.widget.CardView
            android:id="@+id/cardPublicationCover"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clipChildren="false"
            android:clipToPadding="false"
            android:elevation="25dp"
            card_view:cardBackgroundColor="@color/White"
            card_view:cardCornerRadius="5dp"
            card_view:cardElevation="5dp"
            card_view:cardPreventCornerOverlap="false">

            <ImageView
                android:id="@+id/cover"
                android:layout_width="match_parent"
                android:layout_height="140dp"
                android:adjustViewBounds="true"
                android:scaleType="fitXY"
                android:background="@color/md_grey_placeholder"
                android:contentDescription="@string/app_name" />
        </androidx.cardview.widget.CardView>

        <com.kenmoica.views.custom.CustomTextViewBold
            android:id="@+id/articleLabel"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginLeft="@dimen/normalPadding"
            android:layout_marginTop="@dimen/top_text_subtitle_card"
            android:layout_marginRight="@dimen/normalPadding"
            android:textColor="@color/blackTextColor"
            android:textSize="@dimen/text_size_small"
            android:maxLines="2"
            android:background="@color/md_grey_placeholder"/>

        <com.kenmoica.views.custom.CustomTextViewRegular
            android:id="@+id/articleCategory"
            android:layout_width="100dp"
            android:layout_height="match_parent"
            android:layout_marginLeft="@dimen/normalPadding"
            android:layout_marginTop="@dimen/top_text_subtitle_card"
            android:layout_marginRight="@dimen/normalPadding"
            android:background="@color/md_grey_placeholder"
            android:textSize="@dimen/text_size_tiny"/>

        <com.kenmoica.views.custom.CustomTextViewBold
            android:id="@+id/articlePrice"
            android:layout_width="50dp"
            android:layout_height="match_parent"
            android:layout_marginLeft="@dimen/normalPadding"
            android:layout_marginTop="@dimen/top_text_subtitle_card"
            android:layout_marginRight="@dimen/normalPadding"
            android:textColor="@color/colorPrimary"
            android:maxLines="1"
            android:layout_marginBottom="5dp"
            android:background="@color/md_grey_placeholder"
            android:textSize="@dimen/text_size_small"/>

    </LinearLayout>

</androidx.cardview.widget.CardView>