|
@@ -0,0 +1,145 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"
|
|
|
+ android:background="@drawable/bg_white6">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ 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:gravity="center_vertical"
|
|
|
+ android:minHeight="@dimen/dp_50"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_type"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@mipmap/icon_data_normal" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ tools:text="物业管理公司" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_people"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_5"
|
|
|
+ android:textColor="@color/color_888"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ tools:text="张三" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_5"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:textColor="@color/color_888"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ tools:text="06-27 11:12:40" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:background="@color/line_gray" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="@dimen/dp_10">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="水表编号:"
|
|
|
+ android:textColor="@color/color_999"
|
|
|
+ android:textSize="@dimen/sp_18" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_table_number"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ tools:text="CH093231500" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="@dimen/dp_10">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_tvname1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="电子身份:"
|
|
|
+ android:textColor="@color/color_999"
|
|
|
+ android:textSize="@dimen/sp_18" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_electronic_identity"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ tools:text="F6D5200D" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginVertical="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="@dimen/dp_10">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_tvname2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="对象类型:"
|
|
|
+ android:textColor="@color/color_999"
|
|
|
+ android:textSize="@dimen/sp_18" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_object_type"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ tools:text="水表" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_state"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginTop="@dimen/dp_60"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:background="@mipmap/icon_draft" />
|
|
|
+
|
|
|
+</RelativeLayout>
|