<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
    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:background="?colorPrimary">

    <com.google.android.material.appbar.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="?android:toolbarStyle"
        app:elevation="0dp">


        <com.google.android.material.appbar.CollapsingToolbarLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="?colorPrimary"
            android:padding="@dimen/spacing_micro"
            app:expandedTitleGravity="bottom|center"
            app:layout_scrollFlags="scroll|exitUntilCollapsed"
            app:titleEnabled="false">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:paddingBottom="@dimen/spacing_normal"
                android:paddingEnd="@dimen/spacing_xs_large"
                android:paddingStart="@dimen/spacing_xs_large"
                android:paddingTop="@dimen/spacing_normal"
                app:layout_collapseMode="parallax">

                <com.fastaccess.ui.widgets.FontTextView
                    android:id="@+id/columnName"
                    style="@style/TextAppearance.AppCompat.Medium"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:ellipsize="marquee"
                    android:maxLines="3"
                    android:paddingBottom="@dimen/spacing_normal"
                    android:paddingTop="@dimen/spacing_normal"
                    tools:text="One must need the visitor in order to study the lord of great awareness."/>

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

                    <com.fastaccess.ui.widgets.ForegroundImageView
                        android:id="@+id/editColumn"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="?selectableItemBackgroundBorderless"
                        android:padding="@dimen/spacing_micro"
                        android:src="@drawable/ic_edit"/>

                    <com.fastaccess.ui.widgets.ForegroundImageView
                        android:id="@+id/addCard"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginEnd="@dimen/spacing_xs_large"
                        android:layout_marginStart="@dimen/spacing_xs_large"
                        android:background="?selectableItemBackgroundBorderless"
                        android:padding="@dimen/spacing_micro"
                        android:src="@drawable/ic_add"/>

                    <com.fastaccess.ui.widgets.ForegroundImageView
                        android:id="@+id/deleteColumn"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="?selectableItemBackgroundBorderless"
                        android:padding="@dimen/spacing_micro"
                        android:src="@drawable/ic_trash"/>

                </LinearLayout>
            </LinearLayout>
        </com.google.android.material.appbar.CollapsingToolbarLayout>
    </com.google.android.material.appbar.AppBarLayout>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_behavior="@string/scroll_behavior">

        <include layout="@layout/micro_grid_refresh_list"/>
    </LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>