|
@@ -93,7 +93,6 @@
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_10"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -128,86 +127,9 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_1"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:background="@color/line_gray" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="水表位置"
|
|
|
- android:textColor="@color/color_333"
|
|
|
- android:textSize="@dimen/sp_16" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/ed_install_position"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:gravity="end"
|
|
|
- android:hint="定位获取、选择或输入位置坐标信息"
|
|
|
- android:textColor="@color/color_333"
|
|
|
- android:textColorHint="@color/color_999"
|
|
|
- android:textSize="@dimen/sp_16" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_1"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:background="@color/line_gray" />
|
|
|
-
|
|
|
- <include
|
|
|
- android:id="@+id/ll_map"
|
|
|
- layout="@layout/view_map"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_160"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_18" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_10"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
android:background="@color/line_gray" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_17"
|
|
|
- android:layout_marginBottom="@dimen/dp_17"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="@dimen/dp_4"
|
|
|
- android:layout_height="@dimen/dp_20"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_6"
|
|
|
- android:background="@color/blue" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="水表稽查"
|
|
|
- android:textColor="@color/color_333"
|
|
|
- android:textSize="@dimen/sp_20" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
<CheckBox
|
|
|
android:id="@+id/cb_base"
|
|
|
android:layout_width="match_parent"
|
|
@@ -232,7 +154,6 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -275,7 +196,7 @@
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_15"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -298,32 +219,48 @@
|
|
|
tools:text="实验小学" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cb_detail"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_15"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:background="#1a0671DD"
|
|
|
- android:button="@null"
|
|
|
- android:checked="true"
|
|
|
- android:drawableEnd="@drawable/select_checkbox"
|
|
|
- android:drawablePadding="@dimen/dp_10"
|
|
|
- android:minHeight="@dimen/dp_40"
|
|
|
- android:paddingStart="@dimen/dp_10"
|
|
|
- android:paddingEnd="@dimen/dp_13"
|
|
|
- android:text="详细信息"
|
|
|
- android:textColor="@color/color_333"
|
|
|
- android:textSize="@dimen/sp_20" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_detail"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="用水性质"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatSpinner
|
|
|
+ android:id="@+id/spinner_use_water_properties"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="@dimen/dp_20"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:background="@null"
|
|
|
+ android:minWidth="@dimen/dp_150"
|
|
|
+ android:paddingHorizontal="@dimen/dp_20"
|
|
|
+ android:spinnerMode="dropdown" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -338,12 +275,12 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="水表表号"
|
|
|
+ android:text="表册号"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_water_meter_num"
|
|
|
+ android:id="@+id/ed_qb_num"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -376,20 +313,19 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="水表口径(mm)"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="立户时间"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/ed_water_meter_caliber"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_install_time"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:background="@null"
|
|
|
android:drawableEnd="@mipmap/icon_edit"
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
android:gravity="end"
|
|
|
- android:inputType="number"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
@@ -402,70 +338,126 @@
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:background="@color/line_gray" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_sbwz"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_15"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="#1a0671DD"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
+ android:drawableEnd="@drawable/select_checkbox"
|
|
|
+ android:drawablePadding="@dimen/dp_10"
|
|
|
+ android:minHeight="@dimen/dp_40"
|
|
|
+ android:paddingStart="@dimen/dp_10"
|
|
|
+ android:paddingEnd="@dimen/dp_13"
|
|
|
+ android:text="水表位置"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_sbwz"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:text="水表类型"
|
|
|
+ android:text="*"
|
|
|
+ android:textColor="@color/red"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="表盘照片"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatSpinner
|
|
|
- android:id="@+id/spinner_water_type"
|
|
|
+ <TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:background="@null"
|
|
|
- android:minWidth="@dimen/dp_150"
|
|
|
- android:paddingHorizontal="@dimen/dp_20"
|
|
|
- android:spinnerMode="dropdown" />
|
|
|
- </RelativeLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" (支持上传多张)"
|
|
|
+ android:textColor="@color/color_999"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <View
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_bp_photo"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="@dimen/dp_10"
|
|
|
+ android:paddingTop="@dimen/dp_10"
|
|
|
+ android:paddingBottom="@dimen/dp_15"
|
|
|
+ android:src="@mipmap/icon_camera" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_list_bp"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:nestedScrollingEnabled="false" />
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/ll_map"
|
|
|
+ layout="@layout/view_map"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_160"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:background="@color/line_gray" />
|
|
|
+ android:layout_marginBottom="@dimen/dp_18" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:text="水表品牌"
|
|
|
+ android:text="水表位置"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatSpinner
|
|
|
- android:id="@+id/spinner_brand"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/ed_install_position"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
android:background="@null"
|
|
|
- android:gravity="right"
|
|
|
- android:minWidth="@dimen/dp_150"
|
|
|
- android:paddingHorizontal="@dimen/dp_20"
|
|
|
- android:spinnerMode="dropdown" />
|
|
|
- </RelativeLayout>
|
|
|
+ android:gravity="end"
|
|
|
+ android:hint="定位获取、选择或输入位置坐标信息"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textColorHint="@color/color_999"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
@@ -474,7 +466,7 @@
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:background="@color/line_gray" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -487,21 +479,29 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:text="用水性质"
|
|
|
+ android:text="*"
|
|
|
+ android:textColor="@color/red"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="用户地址"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatSpinner
|
|
|
- android:id="@+id/spinner_use_water_properties"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:background="@null"
|
|
|
- android:minWidth="@dimen/dp_150"
|
|
|
- android:paddingHorizontal="@dimen/dp_20"
|
|
|
- android:spinnerMode="dropdown" />
|
|
|
- </RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_user_addr"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:gravity="end"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textColorHint="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
@@ -510,25 +510,32 @@
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:background="@color/line_gray" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:text="安装时间"
|
|
|
+ android:text="*"
|
|
|
+ android:textColor="@color/red"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="详细地址"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_install_time"
|
|
|
+ android:id="@+id/et_detail_addr"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -539,7 +546,8 @@
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
- </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
@@ -561,12 +569,12 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="最近止码"
|
|
|
+ android:text="安装位置"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_recent_mark"
|
|
|
+ android:id="@+id/ed_install_position1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -574,8 +582,6 @@
|
|
|
android:drawableEnd="@mipmap/icon_edit"
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
android:gravity="end"
|
|
|
- android:inputType="number"
|
|
|
- android:text="0"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
@@ -602,12 +608,12 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="区本号"
|
|
|
+ android:text="水表箱号"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_qb_num"
|
|
|
+ android:id="@+id/ed_sbxh"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -615,6 +621,7 @@
|
|
|
android:drawableEnd="@mipmap/icon_edit"
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
android:gravity="end"
|
|
|
+ android:inputType="numberDecimal"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
@@ -641,19 +648,71 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="*"
|
|
|
- android:textColor="@color/red"
|
|
|
+ android:text="表位编号"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/ed_bwbh"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:background="@null"
|
|
|
+ android:drawableEnd="@mipmap/icon_edit"
|
|
|
+ android:drawablePadding="@dimen/dp_10"
|
|
|
+ android:gravity="end"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textColorHint="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_detail"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_15"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="#1a0671DD"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
+ android:drawableEnd="@drawable/select_checkbox"
|
|
|
+ android:drawablePadding="@dimen/dp_10"
|
|
|
+ android:minHeight="@dimen/dp_40"
|
|
|
+ android:paddingStart="@dimen/dp_10"
|
|
|
+ android:paddingEnd="@dimen/dp_13"
|
|
|
+ android:text="水表信息"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_detail"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="用户地址"
|
|
|
+ android:text="水表表身号"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_user_addr"
|
|
|
+ android:id="@+id/ed_water_meter_num"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -674,25 +733,60 @@
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:background="@color/line_gray" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:layout_marginBottom="@dimen/dp_13"
|
|
|
- android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="安装位置"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="水表品牌"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatSpinner
|
|
|
+ android:id="@+id/spinner_brand"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="@dimen/dp_20"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="right"
|
|
|
+ android:minWidth="@dimen/dp_150"
|
|
|
+ android:paddingHorizontal="@dimen/dp_20"
|
|
|
+ android:spinnerMode="dropdown" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="水表口径(mm)"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/ed_install_position1"
|
|
|
+ android:id="@+id/ed_water_meter_caliber"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
@@ -700,11 +794,47 @@
|
|
|
android:drawableEnd="@mipmap/icon_edit"
|
|
|
android:drawablePadding="@dimen/dp_10"
|
|
|
android:gravity="end"
|
|
|
+ android:inputType="number"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="水表种类"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatSpinner
|
|
|
+ android:id="@+id/spinner_water_type"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="@dimen/dp_20"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@null"
|
|
|
+ android:minWidth="@dimen/dp_150"
|
|
|
+ android:paddingHorizontal="@dimen/dp_20"
|
|
|
+ android:spinnerMode="dropdown" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
@@ -726,45 +856,66 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="*"
|
|
|
- android:textColor="@color/red"
|
|
|
+ android:text="水表量程"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/ed_sblc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="表盘照片"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:background="@null"
|
|
|
+ android:drawableEnd="@mipmap/icon_edit"
|
|
|
+ android:drawablePadding="@dimen/dp_10"
|
|
|
+ android:gravity="end"
|
|
|
android:textColor="@color/color_333"
|
|
|
+ android:textColorHint="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text=" (支持上传多张)"
|
|
|
- android:textColor="@color/color_999"
|
|
|
+ android:text="最近止码"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="@dimen/dp_1"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_bp_photo"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/ed_recent_mark"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingStart="@dimen/dp_10"
|
|
|
- android:paddingTop="@dimen/dp_10"
|
|
|
- android:paddingBottom="@dimen/dp_15"
|
|
|
- android:src="@mipmap/icon_camera" />
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:background="@null"
|
|
|
+ android:drawableEnd="@mipmap/icon_edit"
|
|
|
+ android:drawablePadding="@dimen/dp_10"
|
|
|
+ android:gravity="end"
|
|
|
+ android:inputType="number"
|
|
|
+ android:text="0"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textColorHint="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_16" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rv_list_bp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:nestedScrollingEnabled="false" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<CheckBox
|
|
@@ -797,7 +948,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
|
- android:text="描述"
|
|
|
+ android:text="异常描述"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/sp_16" />
|
|
|
|
|
@@ -811,7 +962,7 @@
|
|
|
android:layout_marginBottom="@dimen/dp_10"
|
|
|
android:background="@drawable/frame_gray"
|
|
|
android:gravity="start"
|
|
|
- android:hint="请输入描述"
|
|
|
+ android:hint="描述内容"
|
|
|
android:minHeight="@dimen/dp_78"
|
|
|
android:padding="@dimen/dp_8"
|
|
|
android:textColor="@color/color_888"
|
|
@@ -881,18 +1032,18 @@
|
|
|
android:minHeight="@dimen/dp_40"
|
|
|
android:paddingStart="@dimen/dp_10"
|
|
|
android:paddingEnd="@dimen/dp_13"
|
|
|
- android:visibility="gone"
|
|
|
android:text="图文导航"
|
|
|
android:textColor="@color/color_333"
|
|
|
- android:textSize="@dimen/sp_20" />
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_navit"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:visibility="gone"
|
|
|
android:layout_marginBottom="@dimen/dp_20"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|