<?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:orientation="horizontal"
    android:paddingBottom="@dimen/spacing_micro"
    android:paddingEnd="@dimen/spacing_xs_large"
    android:paddingTop="@dimen/spacing_micro"
    tools:showIn="@layout/repo_file_layout"
    tools:ignore="RtlSymmetry">

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_weight="1"
        android:orientation="horizontal">

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:id="@+id/toParentFolder"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginEnd="@dimen/avatar_margin_end"
            android:layout_marginStart="@dimen/avatar_margin"
            android:background="?selectableItemBackgroundBorderless"
            android:contentDescription="@string/home"
            android:padding="@dimen/spacing_normal"
            android:src="@drawable/ic_home"/>

        <android.support.v7.widget.RecyclerView
            android:id="@+id/recycler"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginEnd="@dimen/spacing_normal"
            android:layout_weight="1"
            android:orientation="horizontal"
            app:layoutManager="@string/linear_layout_manager"
            tools:listitem="@layout/file_path_row_item"
            tools:ignore="NestedWeights"/>

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:id="@+id/downloadRepoFiles"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="?selectableItemBackgroundBorderless"
            android:contentDescription="@string/download"
            android:padding="@dimen/spacing_normal"
            android:src="@drawable/ic_download"/>

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:id="@+id/searchRepoFiles"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="?selectableItemBackgroundBorderless"
            android:contentDescription="@string/download"
            android:padding="@dimen/spacing_normal"
            android:src="@drawable/ic_search"/>
    </LinearLayout>

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="0.6"
        android:background="@drawable/left_border"
        android:orientation="horizontal">

        <com.fastaccess.ui.widgets.ForegroundImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginEnd="@dimen/avatar_margin_end"
            android:layout_marginStart="@dimen/avatar_margin"
            android:contentDescription="@string/switch_branch"
            android:padding="@dimen/spacing_normal"
            android:src="@drawable/ic_branch"/>

        <android.support.v7.widget.AppCompatSpinner
            android:id="@+id/branches"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:spinnerMode="dialog"
            app:backgroundTint="?colorAccent"
            tools:entries="@array/notification_types"
            tools:ignore="NestedWeights"/>

        <ProgressBar
            android:id="@+id/branchesProgress"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:layout_gravity="center"
            android:visibility="gone"/>


    </LinearLayout>

</LinearLayout>