<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.qmuiteam.qmui.widget.QMUITopBar
        android:id="@+id/top_bar_prj_print"
        android:layout_width="match_parent"
        android:layout_height="@dimen/head_height"
        android:fitsSystemWindows="true"
        app:qmui_topbar_text_btn_color_state_list="@color/theme_white_color"
        app:qmui_topbar_title_color="@color/theme_white_color" />

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/layout_edit_prj_order_number"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_10"
        android:visibility="gone"
        android:layout_marginRight="@dimen/dp_10"
        android:orientation="horizontal"
        android:paddingTop="@dimen/dp_20"
        android:paddingBottom="@dimen/dp_20">

        <EditText
            android:id="@+id/ed_input_order_number"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/shape_login_edit_border"
            android:hint="請輸入訂單號"
            android:padding="@dimen/dp_10"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/iv_search_order_prj"
            android:layout_width="@dimen/dp_50"
            android:layout_height="0dp"
            android:padding="@dimen/dp_8"
            android:src="@drawable/ic_search"
            app:layout_constraintBottom_toBottomOf="@id/ed_input_order_number"
            app:layout_constraintRight_toRightOf="@id/ed_input_order_number"
            app:layout_constraintTop_toTopOf="@id/ed_input_order_number" />

        <View
            android:layout_width="@dimen/dp_0_5"
            android:layout_height="0dp"
            android:background="@color/color_aaa"
            app:layout_constraintBottom_toBottomOf="@id/iv_search_order_prj"
            app:layout_constraintRight_toLeftOf="@id/iv_search_order_prj"
            app:layout_constraintTop_toTopOf="@id/iv_search_order_prj" />
    </androidx.constraintlayout.widget.ConstraintLayout>

    <LinearLayout
        android:id="@+id/layout_prj_order_number"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_10"
        android:layout_marginRight="@dimen/dp_10"
        android:orientation="horizontal"
        android:paddingTop="@dimen/dp_20"
        android:paddingBottom="@dimen/dp_20"
        android:visibility="gone">

        <TextView
            android:id="@+id/tv_prj_record_order_number_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="訂單號："
            android:textColor="@color/theme_333_color"
            android:textSize="@dimen/dp_18"
            android:textStyle="bold"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <TextView
            android:id="@+id/tv_prj_record_order_id"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="@color/theme_333_color"
            android:textSize="@dimen/dp_18"
            app:layout_constraintLeft_toRightOf="@id/tv_prj_record_order_number_text"
            app:layout_constraintTop_toTopOf="parent"
            tools:text="746932158462315" />

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_10"
        android:layout_marginRight="@dimen/dp_10"
        android:background="@color/color_e4"
        android:orientation="horizontal"
        android:paddingLeft="@dimen/dp_10"
        android:paddingTop="@dimen/dp_5"
        android:paddingRight="@dimen/dp_10"
        android:paddingBottom="@dimen/dp_5">

        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:text="食品名稱"
            android:textColor="@color/theme_color"
            android:textSize="@dimen/dp_16" />

        <TextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_horizontal"
            android:text="打印狀態"
            android:textColor="@color/theme_color"
            android:textSize="@dimen/dp_16" />

        <TextView
            android:layout_width="0dp"
            android:layout_weight="0.5"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:text="操作"
            android:textColor="@color/theme_color"
            android:textSize="@dimen/dp_16" />
    </LinearLayout>

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/rv_prj_record_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginLeft="@dimen/dp_10"
        android:layout_marginRight="@dimen/dp_10" />

</LinearLayout>