<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    android:id="@+id/layoutHolder"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?android:windowBackground"
    android:orientation="vertical">

    <androidx.cardview.widget.CardView
        android:id="@+id/commitHolder"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/spacing_micro"
        android:layout_marginTop="@dimen/spacing_micro"
        app:cardBackgroundColor="?card_background"
        app:contentPaddingBottom="@dimen/spacing_normal"
        app:contentPaddingLeft="@dimen/spacing_xs_large"
        app:contentPaddingRight="@dimen/spacing_xs_large"
        app:contentPaddingTop="@dimen/spacing_normal">

        <com.google.android.material.textfield.TextInputLayout
            android:id="@+id/description"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:hintTextAppearance="@style/TextAppearance.AppCompat.Title">

            <com.google.android.material.textfield.TextInputEditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/commit_message"
                android:inputType="textMultiLine|textCapSentences"
                android:maxLines="3"/>

        </com.google.android.material.textfield.TextInputLayout>
    </androidx.cardview.widget.CardView>

    <androidx.cardview.widget.CardView
        android:id="@+id/fileNameHolder"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/spacing_micro"
        android:layout_marginTop="@dimen/spacing_micro"
        app:cardBackgroundColor="?card_background"
        app:contentPaddingBottom="@dimen/spacing_normal"
        app:contentPaddingLeft="@dimen/spacing_xs_large"
        app:contentPaddingRight="@dimen/spacing_xs_large"
        app:contentPaddingTop="@dimen/spacing_normal">

        <com.google.android.material.textfield.TextInputLayout
            android:id="@+id/fileName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:hintTextAppearance="@style/TextAppearance.AppCompat.Title">

            <com.google.android.material.textfield.TextInputEditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/file_name_hint"
                android:inputType="text"
                android:maxLines="1"/>

        </com.google.android.material.textfield.TextInputLayout>
    </androidx.cardview.widget.CardView>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:paddingBottom="@dimen/spacing_normal"
        android:paddingTop="@dimen/spacing_normal">

        <com.fastaccess.ui.widgets.FontButton
            android:id="@+id/cancel"
            style="@style/Widget.AppCompat.Button.Borderless.Colored"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/cancel"
            android:textAppearance="@style/TextAppearance.AppCompat.Title"
            android:textColor="?colorAccent"/>

        <com.fastaccess.ui.widgets.FontButton
            android:id="@+id/delete"
            style="@style/Widget.AppCompat.Button.Borderless.Colored"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/delete"
            android:textAppearance="@style/TextAppearance.AppCompat.Title"
            android:textColor="@color/material_pink_700"/>

    </LinearLayout>
</LinearLayout>