<?xml version="1.0" encoding="utf-8"?>
<com.fastaccess.ui.widgets.ForegroundRelativeLayout
    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/grid_spacing"
    android:foreground="?android:selectableItemBackground"
    android:paddingBottom="@dimen/spacing_normal"
    android:paddingEnd="@dimen/spacing_xs_large"
    android:paddingTop="@dimen/spacing_normal"
    tools:ignore="RtlSymmetry">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:orientation="horizontal">

        <FrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">

            <com.fastaccess.ui.widgets.AvatarLayout
                android:id="@+id/avatarLayout"
                android:layout_width="48dp"
                android:layout_height="48dp"
                android:layout_marginEnd="@dimen/avatar_margin_end"
                android:layout_marginStart="@dimen/avatar_margin"
                android:visibility="gone"
                tools:visibility="visible"/>

            <android.support.v7.widget.AppCompatImageView
                android:id="@+id/issue_state"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|end"
                android:layout_marginEnd="@dimen/spacing_normal"
                android:visibility="gone"
                tools:src="@drawable/ic_issue_closed_small"/>
        </FrameLayout>

        <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="end"
                android:maxLines="2"
                android:textColor="?android:textColorPrimary"
                android:textStyle="bold"
                tools:text="When one acquires music and afterlife, one is able to capture heaven."/>

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

                <com.fastaccess.ui.widgets.FontTextView
                    android:id="@+id/details"
                    style="@style/TextAppearance.AppCompat.Small"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:layout_weight="1"
                    android:textColor="?android:attr/textColorSecondary"
                    app:drawableColor="?android:attr/textColorSecondary"
                    tools:text="1000"/>

                <com.fastaccess.ui.widgets.FontTextView
                    android:id="@+id/commentsNo"
                    style="@style/TextAppearance.AppCompat.Small"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:layout_marginStart="@dimen/spacing_normal"
                    android:drawablePadding="@dimen/spacing_normal"
                    android:drawableStart="@drawable/ic_comment_small"
                    android:gravity="center|start"
                    android:textColor="?android:attr/textColorSecondary"
                    app:drawableColor="?android:attr/textColorSecondary"
                    tools:text="1000"/>
            </LinearLayout>

        </LinearLayout>
    </LinearLayout>

</com.fastaccess.ui.widgets.ForegroundRelativeLayout>