<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    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:background="?android:attr/windowBackground"
    android:orientation="vertical">

    <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <android.support.v7.widget.Toolbar
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:contentInsetEnd="0dp"
            app:contentInsetLeft="0dp"
            app:contentInsetRight="0dp"
            app:contentInsetStart="0dp">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:paddingEnd="@dimen/spacing_normal"
                android:paddingStart="@dimen/spacing_normal">

                <com.fastaccess.ui.widgets.ForegroundImageView
                    android:id="@+id/cancel"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="?selectableItemBackgroundBorderless"
                    android:contentDescription="@string/back"
                    android:padding="@dimen/spacing_normal"
                    android:scaleType="centerCrop"
                    android:src="@drawable/ic_clear"/>

                <com.fastaccess.ui.widgets.FontTextView
                    android:id="@+id/title"
                    style="@style/TextAppearance.AppCompat.Title"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:padding="@dimen/spacing_xs_large"
                    android:textColor="?android:textColorPrimary"
                    android:textStyle="bold"
                    tools:text="How jolly. You loot like a mast."/>

                <com.fastaccess.ui.widgets.ForegroundImageView
                    android:id="@+id/add"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="?selectableItemBackgroundBorderless"
                    android:contentDescription="@string/add"
                    android:padding="@dimen/spacing_normal"
                    android:scaleType="centerCrop"
                    android:src="@drawable/ic_add"
                    android:visibility="gone"/>

                <com.fastaccess.ui.widgets.ForegroundImageView
                    android:id="@+id/ok"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="?selectableItemBackgroundBorderless"
                    android:contentDescription="@string/submit"
                    android:padding="@dimen/spacing_normal"
                    android:scaleType="centerCrop"
                    android:src="@drawable/ic_send"/>

            </LinearLayout>
        </android.support.v7.widget.Toolbar>
    </android.support.design.widget.AppBarLayout>

    <com.fastaccess.ui.widgets.recyclerview.DynamicRecyclerView
        android:id="@+id/recycler"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layoutManager="@string/linear_layout_manager"/>

</LinearLayout>