<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/xui_config_color_white"
    android:orientation="vertical"
    android:paddingTop="?attr/xui_bottom_sheet_grid_padding_vertical"
    android:paddingBottom="?attr/xui_bottom_sheet_grid_padding_vertical"
    tools:ignore="Overdraw">

    <HorizontalScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clipToPadding="false"
        android:scrollbars="none">

        <!-- 只有第一行时会在代码中去掉paddingBottom -->
        <LinearLayout
            android:id="@+id/bottom_sheet_first_linear_layout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingStart="?attr/xui_bottom_sheet_grid_line_padding_horizontal"
            android:paddingEnd="?attr/xui_bottom_sheet_grid_line_padding_horizontal"
            android:paddingBottom="?attr/xui_bottom_sheet_grid_line_vertical_space" />
    </HorizontalScrollView>

    <HorizontalScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clipToPadding="false"
        android:scrollbars="none">

        <LinearLayout
            android:id="@+id/bottom_sheet_second_linear_layout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:paddingStart="?attr/xui_bottom_sheet_grid_line_padding_horizontal"
            android:paddingEnd="?attr/xui_bottom_sheet_grid_line_padding_horizontal" />
    </HorizontalScrollView>

    <LinearLayout
        android:id="@+id/bottom_sheet_button_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="?attr/xui_bottom_sheet_grid_padding_vertical"
        android:background="?attr/xui_bottom_sheet_button_background"
        android:orientation="horizontal">

        <com.xuexiang.xui.widget.alpha.XUIAlphaTextView
            android:id="@+id/bottom_sheet_close_button"
            android:layout_width="match_parent"
            android:layout_height="?attr/xui_bottom_sheet_button_height"
            android:gravity="center"
            android:text="关 闭"
            android:textColor="?attr/xui_bottom_sheet_button_text_color"
            android:textSize="?attr/xui_bottom_sheet_button_text_size" />

    </LinearLayout>

</LinearLayout>