<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <com.fastaccess.ui.widgets.ForegroundRelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/grid_spacing"
        android:layout_marginTop="@dimen/grid_spacing"
        android:layout_marginEnd="@dimen/grid_spacing"
        android:layout_marginBottom="@dimen/spacing_normal"
        android:background="?card_background"
        android:paddingTop="@dimen/spacing_normal"
        android:paddingBottom="@dimen/spacing_normal"
        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:layout_marginEnd="@dimen/spacing_normal"
                android:orientation="horizontal">

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

                <LinearLayout
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:layout_marginEnd="@dimen/spacing_normal"
                    android:layout_weight="1"
                    android:orientation="vertical">

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

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

                        <com.fastaccess.ui.widgets.FontTextView
                            android:id="@+id/date"
                            style="@style/TextAppearance.AppCompat.Caption"
                            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" />

                    </LinearLayout>

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/owner"
                        style="@style/TextAppearance.AppCompat.Small"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:maxLines="1"
                        android:textColor="?android:attr/textColorSecondary"
                        android:visibility="gone"
                        tools:text="@string/owner"
                        tools:visibility="visible" />
                </LinearLayout>

                <com.fastaccess.ui.widgets.ForegroundImageView
                    android:id="@+id/toggle"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="?selectableItemBackgroundBorderless"
                    android:contentDescription="@string/options"
                    android:padding="@dimen/spacing_micro"
                    android:src="@drawable/ic_add_emoji" />

                <com.fastaccess.ui.widgets.ForegroundImageView
                    android:id="@+id/commentMenu"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="?selectableItemBackgroundBorderless"
                    android:contentDescription="@string/options"
                    android:padding="@dimen/spacing_micro"
                    android:src="@drawable/ic_overflow" />
            </LinearLayout>

            <include layout="@layout/comments_dropdown_layout" />

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

            <HorizontalScrollView
                android:id="@+id/reactionsList"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="start"
                android:layout_marginStart="@dimen/spacing_xs_large"
                android:layout_marginEnd="@dimen/spacing_xs_large"
                android:paddingTop="@dimen/spacing_normal"
                android:paddingBottom="@dimen/spacing_normal"
                android:scrollbarStyle="insideOverlay"
                android:visibility="gone"
                tools:visibility="visible">

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

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/thumbsUpReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/thumbsDownReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/laughReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/hurrayReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/sadReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/heartReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/rocketReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                    <com.fastaccess.ui.widgets.FontTextView
                        android:id="@+id/eyeReaction"
                        style="@style/TextAppearance.AppCompat.Medium"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginEnd="@dimen/spacing_micro"
                        android:background="?android:selectableItemBackgroundBorderless"
                        android:gravity="center"
                        tools:text="100" />

                </LinearLayout>
            </HorizontalScrollView>

        </LinearLayout>

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

    <LinearLayout
        android:id="@+id/labelsHolder"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/grid_spacing"
        android:layout_marginTop="@dimen/spacing_normal"
        android:layout_marginEnd="@dimen/grid_spacing"
        android:layout_marginBottom="@dimen/spacing_normal"
        android:background="?card_background"
        android:paddingTop="@dimen/spacing_normal"
        android:paddingBottom="@dimen/spacing_normal"
        android:visibility="gone"
        tools:visibility="visible">

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/labels"
            style="@style/TextAppearance.AppCompat.Caption"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center" />
    </LinearLayout>

</LinearLayout>