<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView 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="match_parent"
    android:background="@color/theme_background_color"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/theme_background_color"
        android:orientation="vertical">

        <com.lihang.ShadowLayout
            android:id="@+id/layout_business_chart"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_7"
            android:layout_marginTop="@dimen/dp_7"
            android:layout_marginRight="@dimen/dp_7"
            android:paddingBottom="@dimen/dp_15"
            app:hl_cornerRadius="@dimen/dp_4"
            app:hl_dy="@dimen/main_shadow_dy"
            app:hl_shadowBackColor="@color/white"
            app:hl_shadowColor="@color/shadow_color"
            app:hl_shadowLimit="@dimen/main_shadow_limit">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:paddingRight="@dimen/dp_10">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_10"
                    android:layout_marginTop="@dimen/dp_10"
                    android:gravity="center_vertical"
                    android:orientation="horizontal">

                    <TextView
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:text="營業金額"
                        android:textColor="#181818"
                        android:textSize="@dimen/sp_17" />

                    <TextView
                        android:id="@+id/tv_start_time"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textColor="#181818"
                        android:textSize="@dimen/sp_10" />

                    <com.gingersoft.gsa.cloud.ui.view.TriangleView
                        android:id="@+id/iv_time_triangle"
                        android:layout_marginLeft="@dimen/dp_2"
                        android:layout_width="@dimen/dp_8"
                        app:trv_direction="bottom"
                        android:layout_height="@dimen/dp_5" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="@dimen/dp_7"
                        android:text="到"
                        android:textColor="#999"
                        android:textSize="@dimen/sp_10" />

                    <TextView
                        android:id="@+id/tv_end_time"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="@dimen/dp_7"
                        android:text="2020-02-14"
                        android:textColor="#181818"
                        android:textSize="@dimen/sp_10" />
                </LinearLayout>

                <com.gingersoft.gsa.cloud.ui.AAChartCore.AAChartCoreLib.AAChartConfiger.AAChartView
                    android:id="@+id/report_business_chart"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/dp_150"
                    android:layout_marginTop="@dimen/dp_10" />
            </LinearLayout>

        </com.lihang.ShadowLayout>

        <com.lihang.ShadowLayout
            android:id="@+id/layout_business_info"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_7"
            android:layout_marginTop="@dimen/dp_4"
            android:layout_marginRight="@dimen/dp_7"
            app:hl_cornerRadius="@dimen/dp_4"
            app:hl_dy="@dimen/main_shadow_dy"
            app:hl_shadowBackColor="@color/white"
            app:hl_shadowColor="@color/shadow_color"
            app:hl_shadowLimit="@dimen/main_shadow_limit">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_10"
                    android:layout_marginTop="@dimen/dp_10"
                    android:text="營業詳情"
                    android:textColor="#181818"
                    android:textSize="@dimen/sp_17" />

                <TextView
                    android:id="@+id/tv_restaurant_name"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="@dimen/dp_20"
                    android:layout_marginBottom="@dimen/dp_10"
                    android:focusable="true"
                    android:focusableInTouchMode="true"
                    android:text="餐廳名稱"
                    android:textColor="#3c3c3c"
                    android:textSize="@dimen/dp_16" />

                <include layout="@layout/include_horizontal_color_ccc_dividing_line" />

                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/rv_business_details"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent" />
            </LinearLayout>
        </com.lihang.ShadowLayout>


    </LinearLayout>

</androidx.core.widget.NestedScrollView>