<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
    android:id="@+id/prReviewHolder"
    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_marginBottom="@dimen/fab_margin"
    android:layout_marginEnd="@dimen/fab_spacing"
    android:layout_marginStart="@dimen/fab_margin"
    android:layout_marginTop="@dimen/fab_margin"
    android:focusable="true"
    android:visibility="gone"
    app:cardBackgroundColor="?colorAccent"
    app:contentPadding="@dimen/spacing_normal"
    app:layout_anchor="@+id/fab"
    app:layout_anchorGravity="start|center"
    tools:visibility="visible">

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

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/reviewsCount"
            style="@style/TextAppearance.AppCompat.Small"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="@drawable/circle_shape"
            android:backgroundTint="?colorPrimary"
            android:gravity="center"
            android:minHeight="24dp"
            android:minWidth="24dp"
            android:padding="@dimen/spacing_micro"
            tools:text="1"/>

        <com.fastaccess.ui.widgets.FontTextView
            style="@style/TextAppearance.AppCompat.Small"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginStart="@dimen/spacing_normal"
            android:layout_weight="1"
            android:text="@string/pull_request_reviews"
            android:textColor="@color/white"/>

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:id="@+id/cancelReview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="?selectableItemBackgroundBorderless"
            android:padding="@dimen/spacing_micro"
            android:src="@drawable/ic_clear"
            android:tint="@color/white"/>

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:id="@+id/submitReviews"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="?selectableItemBackgroundBorderless"
            android:padding="@dimen/spacing_micro"
            android:src="@drawable/ic_send"
            android:tint="@color/white"/>


    </LinearLayout>

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