<?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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:padding="@dimen/dimen16dp">

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:maxHeight="@dimen/dimen320dp">

        <com.google.android.flexbox.FlexboxLayout
            android:id="@+id/labelsContainer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:flexWrap="wrap"
            app:justifyContent="flex_start"
            app:alignItems="flex_start"
            android:padding="@dimen/dimen4dp"/>

    </androidx.core.widget.NestedScrollView>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/filterButton"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/dimen54dp"
        android:layout_marginStart="@dimen/dimen16dp"
        android:layout_marginTop="@dimen/dimen8dp"
        android:layout_marginEnd="@dimen/dimen16dp"
        android:layout_marginBottom="@dimen/dimen8dp"
        android:layout_gravity="end"
        android:text="@string/strFilter"
        android:textColor="@color/colorWhite" />

</LinearLayout>
