<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView 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"
    app:cardElevation="4dp"
    app:cardBackgroundColor="@color/background_secondary"
    app:cardCornerRadius="12dp">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <ImageView
            android:id="@+id/dragger"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="6dp"
            android:contentDescription="@string/content_description_modal_icon"
            android:src="@drawable/sheet_top"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <FrameLayout
            android:id="@+id/btnFilter"
            android:layout_width="52dp"
            android:layout_height="52dp"
            android:layout_marginStart="20dp"
            android:layout_marginTop="14dp"
            android:background="@drawable/rect_data_view_customize_view_button"
            app:layout_constraintStart_toEndOf="@+id/btnSort"
            app:layout_constraintTop_toBottomOf="@+id/dragger">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_dv_customize_panel_filter" />

        </FrameLayout>

        <FrameLayout
            android:id="@+id/btnView"
            android:layout_width="52dp"
            android:layout_height="52dp"
            android:layout_marginStart="16dp"
            android:layout_marginTop="14dp"
            android:background="@drawable/rect_data_view_customize_view_button"
            app:layout_constraintEnd_toStartOf="@+id/btnSettings"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/dragger">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_action_preview" />

        </FrameLayout>

        <FrameLayout
            android:id="@+id/btnSettings"
            android:layout_width="52dp"
            android:layout_height="52dp"
            android:layout_marginStart="20dp"
            android:layout_marginTop="14dp"
            android:background="@drawable/rect_data_view_customize_view_button"
            app:layout_constraintStart_toEndOf="@+id/btnView"
            app:layout_constraintTop_toBottomOf="@+id/dragger">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_dv_customize_panel_relations" />

        </FrameLayout>

        <FrameLayout
            android:id="@+id/btnSort"
            android:layout_width="52dp"
            android:layout_height="52dp"
            android:layout_marginStart="20dp"
            android:layout_marginTop="14dp"
            android:background="@drawable/rect_data_view_customize_view_button"
            app:layout_constraintEnd_toStartOf="@+id/btnFilter"
            app:layout_constraintStart_toEndOf="@+id/btnSettings"
            app:layout_constraintTop_toBottomOf="@+id/dragger">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_dv_customize_panel_sort" />

        </FrameLayout>

        <TextView
            android:id="@+id/tvView"
            style="@style/TextView.UXStyle.Captions.2.Regular"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:layout_marginBottom="13dp"
            android:text="@string/view"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="@+id/btnView"
            app:layout_constraintStart_toStartOf="@+id/btnView"
            app:layout_constraintTop_toBottomOf="@+id/btnView" />

        <TextView
            android:id="@+id/tvSettings"
            style="@style/TextView.UXStyle.Captions.2.Regular"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:layout_marginBottom="13dp"
            android:text="@string/settings"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="@+id/btnSettings"
            app:layout_constraintStart_toStartOf="@+id/btnSettings"
            app:layout_constraintTop_toBottomOf="@+id/btnSettings" />

        <TextView
            android:id="@+id/tvSort"
            style="@style/TextView.UXStyle.Captions.2.Regular"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:layout_marginBottom="13dp"
            android:text="@string/sort"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="@+id/btnSort"
            app:layout_constraintStart_toStartOf="@+id/btnSort"
            app:layout_constraintTop_toBottomOf="@+id/btnSort" />

        <TextView
            android:id="@+id/tvFilter"
            style="@style/TextView.UXStyle.Captions.2.Regular"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:layout_marginBottom="13dp"
            android:text="@string/filter"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="@+id/btnFilter"
            app:layout_constraintStart_toStartOf="@+id/btnFilter"
            app:layout_constraintTop_toBottomOf="@+id/btnFilter" />

    </androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>