|
@@ -112,199 +112,204 @@
|
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/round_corner_top_letf_right"
|
|
|
- android:minHeight="44dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:padding="10dp"
|
|
|
-
|
|
|
- android:text="地址:"
|
|
|
- android:textColor="@color/coler_evnet"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toRightOf="@+id/tv"
|
|
|
- android:gravity="right"
|
|
|
- android:text='@{(TextUtils.isEmpty(viewModel.address)?"":viewModel.address)}'
|
|
|
- android:textColor="#181818"
|
|
|
- android:textSize="12dp" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/round_corner_top_letf_right"
|
|
|
- android:minHeight="44dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv1"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:padding="10dp"
|
|
|
-
|
|
|
- android:text="联系人:"
|
|
|
- android:textColor="@color/coler_evnet"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toRightOf="@+id/tv1"
|
|
|
- android:gravity="right"
|
|
|
- android:text='@{(TextUtils.isEmpty(viewModel.contact)?"":viewModel.contact)}'
|
|
|
- android:textColor="#181818"
|
|
|
- android:textSize="12dp" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/rl_call"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/round_corner_top_letf_right"
|
|
|
- android:minHeight="44dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:padding="10dp"
|
|
|
-
|
|
|
- android:text="联系方式:"
|
|
|
- android:textColor="@color/coler_evnet"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_call"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toLeftOf="@+id/iv_call"
|
|
|
- android:layout_toRightOf="@+id/tv2"
|
|
|
- android:gravity="right"
|
|
|
- android:text='@{(TextUtils.isEmpty(viewModel.phone)?"":viewModel.phone)}'
|
|
|
- android:textColor="#181818"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_call"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/icon_call" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/round_corner_top_letf_right"
|
|
|
- android:minHeight="44dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv3"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:padding="10dp"
|
|
|
-
|
|
|
- android:text="行政单位:"
|
|
|
- android:textColor="@color/coler_evnet"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toRightOf="@+id/tv3"
|
|
|
- android:gravity="right"
|
|
|
- android:text='@{(TextUtils.isEmpty(viewModel.deptName)?"":viewModel.deptName)}'
|
|
|
- android:textColor="#181818"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- android:background="@drawable/round_corner_top_letf_right"
|
|
|
- android:minHeight="44dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv4"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:padding="10dp"
|
|
|
-
|
|
|
- android:text="行管单位:"
|
|
|
- android:textColor="@color/coler_evnet"
|
|
|
- android:textSize="12dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_toRightOf="@+id/tv4"
|
|
|
- android:gravity="right"
|
|
|
- android:text='@{(TextUtils.isEmpty(viewModel.deptNameAdm)?"":viewModel.deptNameAdm)}'
|
|
|
- android:textColor="#181818"
|
|
|
- android:textSize="12dp" />
|
|
|
- </RelativeLayout>
|
|
|
+ android:orientation="vertical">
|
|
|
+ </LinearLayout>
|
|
|
+<!-- <RelativeLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_gravity="center_vertical"-->
|
|
|
+<!-- android:layout_marginLeft="15dp"-->
|
|
|
+<!-- android:layout_marginTop="10dp"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/round_corner_top_letf_right"-->
|
|
|
+<!-- android:minHeight="44dp"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:padding="10dp"-->
|
|
|
+
|
|
|
+<!-- android:text="地址:"-->
|
|
|
+<!-- android:textColor="@color/coler_evnet"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_alignParentRight="true"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginLeft="20dp"-->
|
|
|
+<!-- android:layout_marginRight="10dp"-->
|
|
|
+<!-- android:layout_toRightOf="@+id/tv"-->
|
|
|
+<!-- android:gravity="right"-->
|
|
|
+<!-- android:text='@{(TextUtils.isEmpty(viewModel.address)?"":viewModel.address)}'-->
|
|
|
+<!-- android:textColor="#181818"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+<!-- </RelativeLayout>-->
|
|
|
+
|
|
|
+<!-- <RelativeLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_gravity="center_vertical"-->
|
|
|
+<!-- android:layout_marginLeft="15dp"-->
|
|
|
+<!-- android:layout_marginTop="10dp"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/round_corner_top_letf_right"-->
|
|
|
+<!-- android:minHeight="44dp"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv1"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:padding="10dp"-->
|
|
|
+
|
|
|
+<!-- android:text="联系人:"-->
|
|
|
+<!-- android:textColor="@color/coler_evnet"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_alignParentRight="true"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginLeft="20dp"-->
|
|
|
+<!-- android:layout_marginRight="10dp"-->
|
|
|
+<!-- android:layout_toRightOf="@+id/tv1"-->
|
|
|
+<!-- android:gravity="right"-->
|
|
|
+<!-- android:text='@{(TextUtils.isEmpty(viewModel.contact)?"":viewModel.contact)}'-->
|
|
|
+<!-- android:textColor="#181818"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+<!-- </RelativeLayout>-->
|
|
|
+
|
|
|
+<!-- <RelativeLayout-->
|
|
|
+<!-- android:id="@+id/rl_call"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_gravity="center_vertical"-->
|
|
|
+<!-- android:layout_marginLeft="15dp"-->
|
|
|
+<!-- android:layout_marginTop="10dp"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/round_corner_top_letf_right"-->
|
|
|
+<!-- android:minHeight="44dp"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv2"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:padding="10dp"-->
|
|
|
+
|
|
|
+<!-- android:text="联系方式:"-->
|
|
|
+<!-- android:textColor="@color/coler_evnet"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv_call"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginLeft="20dp"-->
|
|
|
+<!-- android:layout_marginRight="10dp"-->
|
|
|
+<!-- android:layout_toLeftOf="@+id/iv_call"-->
|
|
|
+<!-- android:layout_toRightOf="@+id/tv2"-->
|
|
|
+<!-- android:gravity="right"-->
|
|
|
+<!-- android:text='@{(TextUtils.isEmpty(viewModel.phone)?"":viewModel.phone)}'-->
|
|
|
+<!-- android:textColor="#181818"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <ImageView-->
|
|
|
+<!-- android:id="@+id/iv_call"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_alignParentRight="true"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/icon_call" />-->
|
|
|
+<!-- </RelativeLayout>-->
|
|
|
+
|
|
|
+<!-- <RelativeLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_gravity="center_vertical"-->
|
|
|
+<!-- android:layout_marginLeft="15dp"-->
|
|
|
+<!-- android:layout_marginTop="10dp"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/round_corner_top_letf_right"-->
|
|
|
+<!-- android:minHeight="44dp"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv3"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:padding="10dp"-->
|
|
|
+
|
|
|
+<!-- android:text="行政单位:"-->
|
|
|
+<!-- android:textColor="@color/coler_evnet"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_alignParentRight="true"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginLeft="20dp"-->
|
|
|
+<!-- android:layout_marginRight="10dp"-->
|
|
|
+<!-- android:layout_toRightOf="@+id/tv3"-->
|
|
|
+<!-- android:gravity="right"-->
|
|
|
+<!-- android:text='@{(TextUtils.isEmpty(viewModel.deptName)?"":viewModel.deptName)}'-->
|
|
|
+<!-- android:textColor="#181818"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+
|
|
|
+<!-- </RelativeLayout>-->
|
|
|
+
|
|
|
+<!-- <RelativeLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_gravity="center_vertical"-->
|
|
|
+<!-- android:layout_marginLeft="15dp"-->
|
|
|
+<!-- android:layout_marginTop="10dp"-->
|
|
|
+<!-- android:layout_marginRight="15dp"-->
|
|
|
+<!-- android:background="@drawable/round_corner_top_letf_right"-->
|
|
|
+<!-- android:minHeight="44dp"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/tv4"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:padding="10dp"-->
|
|
|
+
|
|
|
+<!-- android:text="行管单位:"-->
|
|
|
+<!-- android:textColor="@color/coler_evnet"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_alignParentRight="true"-->
|
|
|
+<!-- android:layout_centerVertical="true"-->
|
|
|
+<!-- android:layout_marginLeft="20dp"-->
|
|
|
+<!-- android:layout_marginRight="10dp"-->
|
|
|
+<!-- android:layout_toRightOf="@+id/tv4"-->
|
|
|
+<!-- android:gravity="right"-->
|
|
|
+<!-- android:text='@{(TextUtils.isEmpty(viewModel.deptNameAdm)?"":viewModel.deptNameAdm)}'-->
|
|
|
+<!-- android:textColor="#181818"-->
|
|
|
+<!-- android:textSize="12dp" />-->
|
|
|
+<!-- </RelativeLayout>-->
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|