<?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:background="?card_background"
    android:paddingBottom="@dimen/spacing_normal"
    android:paddingTop="@dimen/spacing_normal"
    app:cardBackgroundColor="?card_background"
    tools:ignore="RtlSymmetry">

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

        <LinearLayout
            android:id="@+id/toggleHolder"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">

            <com.fastaccess.ui.widgets.AvatarLayout
                android:id="@+id/avatarView"
                android:layout_width="34dp"
                android:layout_height="34dp"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/avatar_margin_end"
                android:layout_marginStart="@dimen/avatar_margin"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/name"
                style="@style/TextAppearance.AppCompat.Medium"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginEnd="@dimen/spacing_normal"
                android:layout_weight="1"
                android:ellipsize="end"
                android:maxLines="2"
                android:textColor="?android:textColorPrimary"
                tools:text="When one acquires"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/date"
                style="@style/TextAppearance.AppCompat.Small"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:maxLines="1"
                android:textColor="?android:attr/textColorSecondary"
                tools:text="50 minutes"/>

            <android.support.v7.widget.AppCompatImageView
                android:id="@+id/toggle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginStart="@dimen/spacing_micro"
                android:background="?selectableItemBackgroundBorderless"
                android:padding="@dimen/spacing_normal"
                android:src="@drawable/ic_overflow"/>
        </LinearLayout>

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/comment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/spacing_normal"
            android:layout_marginEnd="@dimen/spacing_xs_large"
            android:layout_marginStart="@dimen/avatar_margin"
            android:layout_marginTop="@dimen/spacing_normal"
            android:textIsSelectable="true"/>

    </LinearLayout>

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