<?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/mainBackColor" android:orientation="vertical"> <com.pengxh.kt.lite.widget.TitleBarView android:id="@+id/titleView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/mainThemeColor" app:tbv_smaller_title="true" app:tbv_text="人员信息" /> <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <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"> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="姓名" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/workerNameView" style="@style/LinearLayoutEditTextStyle" android:hint="请入场人员名称" /> </LinearLayout> <View style="@style/DividerViewStyle" /> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="性别" /> <TextView android:id="@+id/genderView" style="@style/LinearLayoutTextViewStyle" android:layout_width="match_parent" android:gravity="end|center" android:hint="请选择" android:textColor="@color/subTextColor" android:textColorHint="@color/hintTextColor" /> </LinearLayout> <View style="@style/DividerViewStyle" /> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="所属单位" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/ownerShipView" style="@style/LinearLayoutEditTextStyle" android:hint="请输入入场人员所属单位名称" /> </LinearLayout> <View style="@style/DividerViewStyle" /> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="联系方式" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/phoneNumberView" style="@style/LinearLayoutEditTextStyle" android:hint="请输入入场人员联系方式" android:inputType="phone" android:maxLength="11" /> </LinearLayout> <View style="@style/DividerViewStyle" /> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="身份证号" /> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/idCardView" style="@style/LinearLayoutEditTextStyle" android:hint="请输入入场人员证件号" android:maxLength="18" /> </LinearLayout> <View style="@style/DividerViewStyle" /> <LinearLayout style="@style/LinearLayoutStyle"> <TextView style="@style/LinearLayoutTextViewStyle" android:text="入场原因" /> <TextView android:id="@+id/inputLengthView" style="@style/LinearLayoutTextViewStyle" android:layout_width="match_parent" android:gravity="end|center" android:text="0/100" android:textColor="@color/subTextColor" /> </LinearLayout> <com.pengxh.kt.lite.widget.DeleteEditText android:id="@+id/enterReasonView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/dp_10" android:background="@drawable/bg_stroke_layout_radius_3" android:gravity="top" android:inputType="textMultiLine" android:padding="@dimen/dp_3" android:paddingVertical="@dimen/dp_5" android:textColor="@color/subTextColor" android:textColorHint="@color/hintTextColor" /> <TextView android:layout_width="match_parent" android:layout_height="@dimen/itemLayoutHeight" android:gravity="center_vertical" android:paddingHorizontal="@dimen/dp_10" android:text="人脸注册" android:textColor="@color/mainTextColor" android:textSize="@dimen/sp_16" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/addImageRecyclerView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dp_10" android:paddingHorizontal="@dimen/dp_10" app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" app:spanCount="3" /> </LinearLayout> </androidx.core.widget.NestedScrollView> <Button android:id="@+id/confirmApplyButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/dp_10" android:text="确定入场" /> </LinearLayout>