<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Nextcloud - Android Client
  ~
  ~ SPDX-FileCopyrightText: 2020 Andy Scherzinger <info@andy-scherzinger>
  ~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
<LinearLayout 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="wrap_content"
    android:orientation="vertical">

    <RelativeLayout
        android:id="@+id/header_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/standard_margin"
        android:layout_marginTop="12dp"
        android:layout_marginEnd="@dimen/zero"
        android:layout_marginBottom="11dp">

        <LinearLayout
            android:id="@+id/title_container"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/buttonBar"
            android:layout_alignBottom="@+id/buttonBar"
            android:layout_alignParentStart="true"
            android:layout_toStartOf="@+id/buttonBar">

            <com.elyeproj.loaderviewlibrary.LoaderImageView
                android:id="@+id/type"
                android:layout_width="@dimen/synced_folders_item_type_layout_width"
                android:layout_height="@dimen/synced_folders_item_type_layout_height"
                android:layout_gravity="start|center_vertical"
                android:layout_marginEnd="@dimen/synced_folders_item_type_layout_right_end_margin"
                android:contentDescription="@null"
                app:corners="100" />

            <com.elyeproj.loaderviewlibrary.LoaderTextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:textStyle="bold" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/buttonBar"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true">

            <com.elyeproj.loaderviewlibrary.LoaderImageView
                android:id="@+id/syncStatusButton"
                android:layout_width="@dimen/synced_folders_item_type_layout_width"
                android:layout_height="@dimen/synced_folders_item_type_layout_height"
                android:layout_gravity="start|center_vertical"
                android:layout_marginStart="@dimen/standard_margin"
                android:layout_marginEnd="@dimen/standard_margin"
                android:contentDescription="@null"
                app:corners="100" />

            <com.elyeproj.loaderviewlibrary.LoaderImageView
                android:id="@+id/settingsButton"
                android:layout_width="16dp"
                android:layout_height="@dimen/synced_folders_item_type_layout_height"
                android:layout_gravity="start|center_vertical"
                android:layout_marginEnd="@dimen/standard_margin"
                android:contentDescription="@null" />

        </LinearLayout>
    </RelativeLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginEnd="-3dp"
        android:orientation="horizontal">

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="3dp"
        android:layout_marginEnd="-3dp"
        android:orientation="horizontal">

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

        <com.nextcloud.ui.SquareLoaderImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginEnd="3dp"
            android:layout_weight="1"
            android:contentDescription="@null" />

    </LinearLayout>

</LinearLayout>
