<?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="match_parent"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:background="@drawable/bottom_border"
        android:gravity="center"
        android:orientation="horizontal"
        android:padding="@dimen/spacing_normal">

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/changes"
            style="@style/TextAppearance.AppCompat.Small"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center|end"
            android:layout_marginEnd="@dimen/spacing_xs_large"
            android:background="?selectableItemBackgroundBorderless"
            android:drawablePadding="@dimen/spacing_micro"
            android:drawableTop="@drawable/ic_file_multi"
            android:gravity="center"
            tools:text="100"/>

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/addition"
            style="@style/TextAppearance.AppCompat.Small"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center|end"
            android:layout_marginEnd="@dimen/spacing_xs_large"
            android:background="?selectableItemBackgroundBorderless"
            android:drawablePadding="@dimen/spacing_micro"
            android:drawableTop="@drawable/ic_add"
            android:gravity="center"
            android:scaleType="centerCrop"
            tools:text="100"/>

        <com.fastaccess.ui.widgets.FontTextView
            android:id="@+id/deletion"
            style="@style/TextAppearance.AppCompat.Small"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center|end"
            android:background="?selectableItemBackgroundBorderless"
            android:drawablePadding="@dimen/spacing_micro"
            android:drawableTop="@drawable/ic_clear"
            android:gravity="center"
            tools:text="100"/>
    </LinearLayout>

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:ignore="MergeRootFrame">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">


            <com.fastaccess.ui.widgets.AppbarRefreshLayout
                android:id="@+id/refresh"
                android:layout_width="match_parent"
                android:layout_height="match_parent">

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

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

            <com.fastaccess.ui.widgets.recyclerview.scroll.RecyclerViewFastScroller
                android:id="@+id/fastScroller"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_alignBottom="@+id/refresh"
                android:layout_alignParentEnd="true"
                android:layout_alignTop="@+id/refresh"
                android:layout_centerHorizontal="true"/>
        </RelativeLayout>

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

    </FrameLayout>
</LinearLayout>