<?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/mainBackColor" android:orientation="vertical"> <include layout="@layout/include_base_title" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_margin="@dimen/dp_10" android:layout_weight="1" android:background="@drawable/bg_solid_layout_white_radius_10" android:orientation="vertical"> <RelativeLayout style="@style/RelativeItemLayoutStyle"> <TextView android:id="@+id/tempView" style="@style/RelativeTextViewStyle" android:text="设施名称" /> <TextView android:id="@+id/facilitiesNameView" style="@style/RelativeTextViewStyle" android:layout_toStartOf="@id/ownerShipTempView" android:layout_toEndOf="@id/tempView" android:hint="请选择" android:singleLine="true" android:textColorHint="@color/hintTextColor" /> <ImageView android:id="@+id/ownerShipTempView" style="@style/RelativeRightImageStyle" /> </RelativeLayout> <View style="@style/DividerViewStyle" /> <RelativeLayout style="@style/RelativeItemLayoutStyle"> <TextView style="@style/RelativeTextViewStyle" android:text="设施数量" /> <EditText android:id="@+id/facilitiesCountView" style="@style/RelativeTextViewStyle" android:layout_alignParentEnd="true" android:layout_marginEnd="@dimen/dp_10" android:background="@null" android:hint="请输入设施数量" android:inputType="number" android:maxLength="20" android:paddingVertical="@dimen/dp_5" android:singleLine="true" android:textColorHint="@color/hintTextColor" /> </RelativeLayout> <View style="@style/DividerViewStyle" /> </LinearLayout> <Button android:id="@+id/submitButton" style="@style/MainButtonStyle" android:layout_margin="@dimen/dp_20" android:text="提交" /> </LinearLayout> </LinearLayout>