<?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:id="@+id/rootView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/mainBackground"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/titleViewHeight">
<ImageView
android:id="@+id/leftBackView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingHorizontal="@dimen/dp_10"
android:rotation="-180"
android:src="@drawable/ic_right_black" />
<TextView
android:id="@+id/titleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:fontFamily="sans-serif-medium"
android:gravity="center"
android:singleLine="true"
android:text="委托需求"
android:textColor="@color/black"
android:textSize="@dimen/sp_16" />
<ImageView
android:id="@+id/pushEntrustView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:paddingHorizontal="@dimen/dp_10"
android:src="@drawable/ic_selected" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/borderThickness"
android:background="@color/hintColor" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/dp_10">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="送样人" />
<com.pengxh.kt.lite.widget.DeleteEditText
android:id="@+id/senderView"
style="@style/inputEditTextStyle"
android:hint="请输入" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="联系方式" />
<com.pengxh.kt.lite.widget.DeleteEditText
android:id="@+id/contactView"
style="@style/inputEditTextStyle"
android:hint="请输入"
android:inputType="phone" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="委托单创建时间" />
<TextClock
android:id="@+id/createEntrustDateView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="@dimen/dp_125"
android:layout_marginEnd="@dimen/dp_10"
android:format24Hour="yyyy-MM-dd"
android:gravity="end"
android:textColor="@color/black"
android:textSize="@dimen/sp_14" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="预计送到时间" />
<TextView
android:id="@+id/estimateTimeView"
style="@style/inputEditTextStyle"
android:hint="请选择预计送到时间" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="要求检完时间" />
<TextView
android:id="@+id/completedView"
style="@style/inputEditTextStyle"
android:hint="请选择要求检完时间" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="委托方名称" />
<TextView
android:id="@+id/entrustNameView"
style="@style/inputEditTextStyle"
android:hint="请选择委托方" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="委托方电话" />
<TextView
android:id="@+id/entrustContactView"
style="@style/inputEditTextStyle" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="委托方地址" />
<TextView
android:id="@+id/entrustAddressView"
style="@style/inputEditTextStyle" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="备注" />
<com.pengxh.kt.lite.widget.DeleteEditText
android:id="@+id/remarkView"
style="@style/inputEditTextStyle"
android:hint="请输入" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
<RelativeLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="附件" />
<TextView
android:id="@+id/annexView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/dp_125"
android:layout_marginEnd="@dimen/dp_10"
android:layout_toStartOf="@id/uploadFileButton"
android:gravity="end|center_vertical"
android:textColor="@color/black"
android:textSize="@dimen/sp_14" />
<Button
android:id="@+id/uploadFileButton"
android:layout_width="@dimen/dp_55"
android:layout_height="@dimen/dp_30"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="@dimen/dp_10"
android:background="@drawable/button_main_selector"
android:text="上传"
android:textColor="@color/white"
android:textSize="@dimen/sp_14" />
</RelativeLayout>
<include layout="@layout/include_line_view" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/dp_10"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<TextView
style="@style/textViewStyle"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_60"
android:text="证书类别" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/typeRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_10"
android:paddingHorizontal="@dimen/dp_5"
app:spanCount="2"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" />
<include layout="@layout/include_line_view" />
<LinearLayout style="@style/itemLayoutStyle">
<TextView
style="@style/textViewStyle"
android:text="是否加急" />
<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/dp_45"
android:orientation="horizontal">
<RadioButton
android:id="@+id/radioButton1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="是" />
<RadioButton
android:id="@+id/radioButton2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:checked="true"
android:text="否" />
</RadioGroup>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/dp_10"
android:background="@drawable/bg_solid_layout_white_radius_10"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_60"
android:orientation="horizontal">
<TextView
style="@style/textViewStyle"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="样品信息" />
<Button
android:id="@+id/selectSampleButton"
android:layout_width="@dimen/dp_55"
android:layout_height="@dimen/dp_30"
android:layout_marginEnd="@dimen/dp_10"
android:background="@drawable/button_main_selector"
android:text="选择"
android:textColor="@color/white"
android:textSize="@dimen/sp_14" />
<Button
android:id="@+id/writeSampleButton"
android:layout_width="@dimen/dp_55"
android:layout_height="@dimen/dp_30"
android:layout_marginEnd="@dimen/dp_10"
android:background="@drawable/button_main_selector"
android:text="写入"
android:textColor="@color/white"
android:textSize="@dimen/sp_14" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/sampleRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>