<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:background="@color/white"
    android:padding="@dimen/standard_padding">

    <TextView
        android:id="@+id/title"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/standard_half_margin"
        android:text="@string/actionbar_sort_title"
        android:textColor="@color/bottom_sheet_fragment_title_color"
        android:textSize="@dimen/two_line_primary_text_size"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <View
        android:id="@+id/divider"
        android:layout_width="0dp"
        android:layout_height="@dimen/bottom_sheet_fragment_divider_height"
        android:layout_marginTop="@dimen/standard_half_margin"
        android:background="@color/bottom_sheet_fragment_item_color"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/title" />

    <com.owncloud.android.presentation.common.BottomSheetFragmentItemView
        android:id="@+id/sort_by_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:itemIcon="@drawable/ic_sort_by_name"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/divider"
        app:title="@string/global_name" />

    <com.owncloud.android.presentation.common.BottomSheetFragmentItemView
        android:id="@+id/sort_by_date"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:itemIcon="@drawable/ic_sort_by_date"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/sort_by_name"
        app:title="@string/global_date" />

    <com.owncloud.android.presentation.common.BottomSheetFragmentItemView
        android:id="@+id/sort_by_size"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:itemIcon="@drawable/ic_sort_by_size"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/sort_by_date"
        app:title="@string/global_size" />

</androidx.constraintlayout.widget.ConstraintLayout>
