<?xml version="1.0" encoding="utf-8"?>
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<data>
|
<variable
|
name="bean"
|
type="com.application.zhangshi_app_android.bean.MarriageInfoBean.OldSpouseBean" />
|
</data>
|
|
<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"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="姓名"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="@{bean.name}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_marginStart="40dp"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="婚姻状况"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="@{bean.marryStatus}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:drawableStart="@drawable/ic_radio_button"
|
android:drawablePadding="8dp"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="出生日期"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="@{bean.birthday}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_marginStart="40dp"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="户籍地址"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="@{bean.address}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="3dp"
|
android:background="@drawable/shape_ffebafb4_dash_line"
|
android:layout_marginVertical="18dp"
|
/>
|
|
</LinearLayout>
|
</layout>
|