<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.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:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/spacing_micro"
    android:foreground="?android:selectableItemBackground"
    app:cardBackgroundColor="?card_background"
    app:contentPaddingBottom="@dimen/spacing_normal"
    app:contentPaddingLeft="@dimen/spacing_xs_large"
    app:contentPaddingRight="@dimen/spacing_xs_large"
    app:contentPaddingTop="@dimen/spacing_normal"
    tools:ignore="RtlSymmetry">

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

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/title"
            style="@style/TextAppearance.AppCompat.Medium"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:ellipsize="marquee"
            android:maxLines="2"
            android:textColor="?android:textColorPrimary"
            android:textStyle="bold"
            tools:text="When one acquires music and afterlife, one is able to capture heaven."/>

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/description"
            style="@style/TextAppearance.AppCompat.Body1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/spacing_micro"
            android:layout_marginTop="@dimen/spacing_micro"
            android:ellipsize="marquee"
            android:maxLines="4"
            android:textColor="?android:textColorSecondary"
            tools:text="When one acquires music and afterlife, one is able to capture heaven."/>

        <com.fastaccess.ui.widgets.AutoLinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/spacing_micro"
            android:orientation="horizontal"
            app:auto_gravity="start"
            app:auto_orientation="horizontal">

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/stars"
                style="@style/TextAppearance.AppCompat.Caption"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/spacing_micro"
                android:drawablePadding="@dimen/spacing_micro"
                android:drawableStart="@drawable/ic_star_small"
                android:gravity="start|center"
                android:textColor="?android:attr/textColorSecondary"
                app:drawableColor="?android:attr/textColorSecondary"
                tools:text="10000"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/forks"
                style="@style/TextAppearance.AppCompat.Caption"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/spacing_micro"
                android:drawablePadding="@dimen/spacing_micro"
                android:drawableStart="@drawable/ic_fork_small"
                android:gravity="start|center"
                android:textColor="?android:attr/textColorSecondary"
                app:drawableColor="?android:attr/textColorSecondary"
                tools:text="50000"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/todayStars"
                style="@style/TextAppearance.AppCompat.Caption"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:drawablePadding="@dimen/spacing_micro"
                android:drawableStart="@drawable/ic_star_small"
                android:gravity="start|center"
                android:textColor="?android:attr/textColorSecondary"
                app:drawableColor="?android:attr/textColorSecondary"
                tools:text="50 minutes ago"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/language"
                style="@style/TextAppearance.AppCompat.Caption"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/spacing_normal"
                android:drawablePadding="@dimen/spacing_micro"
                android:drawableStart="@drawable/ic_language_small"
                android:gravity="start|center"
                android:textColor="?android:attr/textColorSecondary"
                android:visibility="gone"
                app:drawableColor="?android:attr/textColorSecondary"
                tools:text="10000"/>

        </com.fastaccess.ui.widgets.AutoLinearLayout>
    </LinearLayout>

</android.support.v7.widget.CardView>