<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 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: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/pushSampleView" 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:layout_margin="@dimen/dp_10" 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/sampleNameView" 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/modelView" 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/factoryNumberView" 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/entrustNameView" 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/entrustContactView" 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="委托方邮编" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/emailCodeView" 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/entrustAddressView" 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/checkCycleView" style="@style/inputEditTextStyle" android:hint="请输入检定周期,单位:月" android:inputType="number" /> </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/manufacturerView" 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/countryView" 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/factoryDateView" style="@style/inputEditTextStyle" android:hint="请选择出厂年月" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="ABC" /> <TextView android:id="@+id/abcView" 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/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/senderContactView" 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="检定项目" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/checkProjectView" style="@style/inputEditTextStyle" android:hint="请输入检定项目" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="说明书" /> <TextView android:id="@+id/instructionsView" 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> </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> </LinearLayout> </androidx.core.widget.NestedScrollView> </LinearLayout>