Linjiajia
2023-07-25 82e57df230ecb744af6c8865f80870ba03c86d89
app/src/main/res/layout/pop_basic_information.xml
@@ -1,15 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools">
    <data>
        <variable
            name="spouseBean"
            type="com.application.zhangshi_app_android.bean.HomeRootBean" />
        <variable
            name="selfBean"
            type="com.application.zhangshi_app_android.bean.HomeRootBean" />
    </data>
    <ScrollView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/transparent"
    xmlns:app="http://schemas.android.com/apk/res-auto">
        >
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:background="@color/transparent"
        >
            android:background="@color/transparent">
        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
@@ -17,24 +31,28 @@
            app:cardBackgroundColor="#F6FFFFFF"
            app:cardElevation="10dp"
            android:layout_marginHorizontal="10dp"
            android:layout_marginVertical="15dp"
            >
                android:layout_marginVertical="15dp">
            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginEnd="7dp"
                android:layout_marginStart="10dp"
                android:layout_marginVertical="24dp"
                >
                    android:layout_marginVertical="24dp">
                <androidx.constraintlayout.utils.widget.ImageFilterView
                    android:id="@+id/iv_photo"
                    android:layout_width="105dp"
                    android:layout_height="105dp"
                        android:layout_width="0dp"
                        android:layout_height="0dp"
                        app:layout_constraintDimensionRatio="1"
                        app:layout_constraintWidth_percent="0.3"
                    android:background="@color/teal_200"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    app:round="10dp" />
                        app:layout_constraintBottom_toBottomOf="@id/layout_personal_3"
                        app:round="10dp"
                        app:imageUrl="@{selfBean.img}"
                        />
                <TextView
                    android:id="@+id/tv_basic_personal_information"
@@ -46,25 +64,23 @@
                    android:textSize="10sp"
                    app:layout_constraintStart_toEndOf="@+id/iv_photo"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintBottom_toTopOf="@id/layout_personal_1"
                    app:layout_constraintVertical_chainStyle="spread_inside"
                    />
                <LinearLayout
                    android:id="@+id/layout_personal_1"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    app:layout_constraintHorizontal_chainStyle="spread_inside"
                    app:layout_constraintBottom_toTopOf="@id/layout_personal_2"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintStart_toStartOf="@+id/tv_basic_personal_information"
                    app:layout_constraintTop_toBottomOf="@id/tv_basic_personal_information">
                        app:layout_constraintTop_toBottomOf="@id/tv_basic_personal_information"
                        android:layout_marginTop="10dp"
                        >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -77,30 +93,32 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent"
                                >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="姓名"
                                    android:text="@{selfBean.nickName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    tools:text="aaaaaaaaaaaaaaaaaaaaaaaaa"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
@@ -112,28 +130,28 @@
                            android:paddingVertical="3dp"
                            android:text="性别"
                            android:textColor="#FF000000"
                            android:textSize="12sp" />
                                android:textSize="12sp"
                                />
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent"
                                >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="女"
                                    android:text="@{selfBean.sex==1?`男`:`女`}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
@@ -147,13 +165,14 @@
                    app:layout_constraintStart_toStartOf="@+id/tv_basic_personal_information"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintTop_toBottomOf="@+id/layout_personal_1"
                    app:layout_constraintBottom_toTopOf="@id/layout_personal_3"
                        android:layout_marginTop="8dp"
                    >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -166,63 +185,67 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent"
                                >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="第一代"
                                    android:text="@{`第`+ selfBean.identity + `代`}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
                            android:layout_marginStart="10dp">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="@drawable/shape_fffad1e0_10_10_0_10"
                            android:paddingHorizontal="6dp"
                            android:paddingVertical="3dp"
                            android:text="年龄"
                                android:text="生日"
                            android:textColor="#FF000000"
                            android:textSize="12sp" />
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                <androidx.appcompat.widget.AppCompatTextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="18"
                                    android:text="@{selfBean.birth}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    app:autoSizeTextType="uniform"
                                    app:autoSizeMaxTextSize="16sp"
                                    app:autoSizeMinTextSize="10sp"
                                    android:ellipsize="end"
                                    android:maxLines="1"
                                    android:layout_gravity="center"
                                    tools:text="2001-01-01"
                                    />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
@@ -232,16 +255,17 @@
                    android:id="@+id/layout_personal_3"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    app:layout_constraintBottom_toBottomOf="@+id/iv_photo"
                    app:layout_constraintStart_toStartOf="@+id/tv_basic_personal_information"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintTop_toBottomOf="@+id/layout_personal_2">
                        app:layout_constraintTop_toBottomOf="@+id/layout_personal_2"
                        android:layout_marginTop="8dp"
                        >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -254,33 +278,33 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent"
                                >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张四"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{selfBean.oldName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
                            android:layout_marginStart="10dp">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -293,24 +317,24 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="汉族"
                                    android:text="@{selfBean.nation}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
@@ -323,13 +347,12 @@
                    android:layout_marginTop="24dp"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toBottomOf="@+id/iv_photo">
                        app:layout_constraintTop_toBottomOf="@id/layout_personal_3">
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -343,17 +366,18 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="已婚"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{selfBean.maritalStatusStr}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    />
                            <View
                                android:layout_width="match_parent"
@@ -365,7 +389,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -381,15 +405,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张四"
                                    android:text="@{spouseBean.nickName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -414,9 +438,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -430,17 +453,18 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="广东省广州市"
                                    android:text="@{selfBean.locationAddress}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    />
                            <View
                                android:layout_width="match_parent"
@@ -452,7 +476,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -468,15 +492,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="5dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:text="@{selfBean.phoneNumber}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -501,9 +525,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -517,15 +540,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="广东省广州市"
                                    android:text="@{selfBean.alwaysAddress}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -539,7 +562,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -555,15 +578,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:text="@{selfBean.wxNo}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -588,9 +611,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -604,15 +626,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="共产党员"
                                    android:text="@{selfBean.politicalOutlook}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -626,7 +648,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -642,15 +664,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:text="@{selfBean.qqNo}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -675,9 +697,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -691,15 +712,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张氏公司"
                                    android:text="@{selfBean.unit}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -707,14 +728,13 @@
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -730,24 +750,25 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="经理"
                                    android:text="@{selfBean.position}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    tools:text="职务"
                                    />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFFAD1E0"
                                />
                                    android:background="#FFFAD1E0" />
                        </FrameLayout>
                    </LinearLayout>
@@ -756,33 +777,39 @@
            </androidx.constraintlayout.widget.ConstraintLayout>
        </androidx.cardview.widget.CardView>
        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:cardCornerRadius="6dp"
            app:cardBackgroundColor="#F6FFFFFF"
            app:cardElevation="10dp"
            android:layout_marginHorizontal="10dp"
            android:layout_marginVertical="15dp"
                android:layout_marginHorizontal="10dp"
            >
            <androidx.constraintlayout.widget.ConstraintLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginStart="10dp"
                android:layout_marginEnd="7dp"
                android:layout_marginVertical="24dp"
                android:visibility="invisible"
                    android:visibility="@{spouseBean==null?2:1}"
                >
                <androidx.constraintlayout.utils.widget.ImageFilterView
                    android:id="@+id/iv_spouse_photo"
                    android:layout_width="105dp"
                    android:layout_height="105dp"
                        android:layout_width="0dp"
                        android:layout_height="0dp"
                        app:layout_constraintDimensionRatio="1"
                        app:layout_constraintWidth_percent="0.3"
                    android:background="@color/teal_200"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    android:layout_marginStart="10dp"
                    app:round="10dp" />
                        app:layout_constraintBottom_toBottomOf="@id/layout_spouse_3"
                        app:round="10dp"
                        app:imageUrl="@{spouseBean.img}"
                        />
                <TextView
                    android:id="@+id/tv_spouse_basic_information"
@@ -793,26 +820,24 @@
                    android:textSize="10sp"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintBottom_toTopOf="@id/layout_spouse_1"
                    app:layout_constraintVertical_chainStyle="spread_inside"
                    />
                <LinearLayout
                    android:id="@+id/layout_spouse_1"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    app:layout_constraintHorizontal_chainStyle="spread_inside"
                    app:layout_constraintBottom_toTopOf="@id/layout_spouse_2"
                    app:layout_constraintEnd_toStartOf="@id/iv_spouse_photo"
                    app:layout_constraintStart_toStartOf="@+id/tv_spouse_basic_information"
                    app:layout_constraintTop_toBottomOf="@id/tv_spouse_basic_information"
                        android:layout_marginTop="10dp"
                        android:layout_marginEnd="10dp"
                    >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -825,30 +850,30 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent"
                                >
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="姓名"
                                    android:text="@{spouseBean.nickName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
@@ -864,24 +889,22 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="女"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"                                    android:text="@{spouseBean.sex==1?`男`:`女`}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
@@ -895,13 +918,15 @@
                    app:layout_constraintStart_toStartOf="@+id/tv_spouse_basic_information"
                    app:layout_constraintEnd_toStartOf="@id/iv_spouse_photo"
                    app:layout_constraintTop_toBottomOf="@+id/layout_spouse_1"
                    app:layout_constraintBottom_toTopOf="@id/layout_spouse_3"
                        android:layout_marginTop="10dp"
                        android:layout_marginEnd="10dp"
                    >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -914,63 +939,66 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="第一代"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{`第` + spouseBean.identity + `代`}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
                            android:layout_marginStart="10dp">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="@drawable/shape_ffd8e6f5_10_10_0_10"
                            android:paddingHorizontal="6dp"
                            android:paddingVertical="3dp"
                            android:text="年龄"
                                android:text="生日"
                            android:textColor="#FF000000"
                            android:textSize="12sp" />
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                <androidx.appcompat.widget.AppCompatTextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="18"
                                    android:text="@{spouseBean.birth}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                                    android:textSize="12sp"
                                    app:autoSizeTextType="uniform"
                                    app:autoSizeMaxTextSize="16sp"
                                    app:autoSizeMinTextSize="10sp"
                                    android:ellipsize="end"
                                    android:maxLines="1"
                                    android:layout_gravity="center"
                                    tools:text="2001-01-01"
                                    />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
@@ -980,16 +1008,18 @@
                    android:id="@+id/layout_spouse_3"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    app:layout_constraintBottom_toBottomOf="@id/iv_spouse_photo"
                    app:layout_constraintStart_toStartOf="@id/tv_spouse_basic_information"
                    app:layout_constraintEnd_toStartOf="@id/iv_spouse_photo"
                    app:layout_constraintTop_toBottomOf="@id/layout_spouse_2">
                        app:layout_constraintTop_toBottomOf="@id/layout_spouse_2"
                        android:layout_marginTop="10dp"
                        android:layout_marginEnd="10dp"
                        >
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -1002,33 +1032,33 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张四"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{spouseBean.oldName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp"
                                android:layout_marginStart="12dp"
                                />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp"
                        >
                            android:layout_marginStart="10dp">
                        <TextView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
@@ -1041,24 +1071,23 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="汉族"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{spouseBean.nation}"
                                android:textColor="#FF000000"
                                android:layout_marginStart="12dp"
                                android:textSize="12sp" />
                            <View
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
@@ -1076,9 +1105,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -1092,15 +1120,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="已婚"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{spouseBean.maritalStatusStr}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1114,7 +1142,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -1130,15 +1158,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张四"
                                    android:text="@{selfBean.nickName}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1163,9 +1191,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -1179,15 +1206,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="广东省广州市"
                                    android:text="@{spouseBean.locationAddress}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1201,7 +1228,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -1217,15 +1244,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="5dp"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                    android:text="@{spouseBean.phoneNumber}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1250,9 +1277,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -1266,15 +1292,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="广东省广州市"
                                    android:text="@{spouseBean.alwaysAddress}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1288,7 +1314,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -1304,15 +1330,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:text="@{spouseBean.wxNo}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1337,9 +1363,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -1353,15 +1378,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="共产党员"
                                    android:text="@{spouseBean.politicalOutlook}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1375,7 +1400,7 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -1391,15 +1416,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="6dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="12345678901"
                                    android:text="@{spouseBean.qqNo}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1424,9 +1449,8 @@
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        >
                            android:layout_height="wrap_content"
                            android:layout_weight="1">
                        <TextView
                            android:layout_width="wrap_content"
@@ -1440,15 +1464,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="张氏公司"
                                    android:text="@{spouseBean.unit}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1456,14 +1480,13 @@
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                            android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:layout_marginStart="10dp">
@@ -1479,15 +1502,15 @@
                        <FrameLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                                android:layout_height="match_parent">
                            <TextView
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:layout_marginStart="12dp"
                                    android:layout_gravity="center_vertical"
                                    app:textOverflowMode="@{4}"
                                android:paddingHorizontal="6dp"
                                android:paddingVertical="3dp"
                                android:text="经理"
                                    android:text="@{spouseBean.position}"
                                android:textColor="#FF000000"
                                android:textSize="12sp" />
@@ -1495,39 +1518,41 @@
                                android:layout_width="match_parent"
                                android:layout_height="1dp"
                                android:layout_gravity="bottom"
                                android:background="#FFD8E6F5"
                                />
                                    android:background="#FFD8E6F5" />
                        </FrameLayout>
                    </LinearLayout>
                </LinearLayout>
            </androidx.constraintlayout.widget.ConstraintLayout>
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginStart="10dp"
                android:layout_marginEnd="7dp"
                android:layout_marginVertical="24dp"
                    android:visibility="@{spouseBean==null?true:false}"
                >
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="配偶基本信息"
                    android:textColor="#99000000"
                    android:textSize="10sp"
                    />
                        android:textSize="10sp" />
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:layout_centerInParent="true"
                    >
                        android:layout_centerInParent="true">
                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:background="@drawable/img_data_null"
                        />
                            android:background="@drawable/img_data_null" />
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
@@ -1536,11 +1561,11 @@
                        android:textColor="#73000000"
                        android:textSize="14sp"
                        android:layout_gravity="center"
                        android:layout_marginTop="10dp"
                        />
                            android:layout_marginTop="10dp" />
                </LinearLayout>
            </RelativeLayout>
        </androidx.cardview.widget.CardView>
    </LinearLayout>
</ScrollView>
</layout>