<?xml version="1.0" encoding="utf-8"?>
|
<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="viewModel"
|
type="com.application.zhangshi_app_android.ui.function.MarriageActivityViewModel" />
|
</data>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/color_normal_background"
|
>
|
|
<com.android.app_base.widget.ExtendTitleBar
|
android:id="@+id/extendTitleBar"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:elevation="10dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:title="个人婚姻(仅供查看)"
|
app:titleGravity="left"
|
/>
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/extendTitleBar"
|
>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingBottom="20dp"
|
>
|
<LinearLayout
|
android:id="@+id/ll_basic_information"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_marginHorizontal="20dp"
|
android:layout_marginVertical="16dp"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="基本信息"
|
android:textColor="@color/black"
|
android:textSize="20sp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<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:text="姓名"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="张三"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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:text="性别"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="男"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<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:text="出生日期"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="2010-01-01"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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:text="民族"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="汉族"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<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:text="身份证号"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="445222200110233318"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:ellipsize="marquee"
|
/>
|
<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:text="联系电话"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="17818824255"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<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:text="婚姻状况"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="已婚"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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
|
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:text="结婚时间"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="2020-10"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<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:text="户籍地址"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="广东省广州市"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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"
|
>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_spouse"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginHorizontal="14dp"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
tools:layout_height="wrap_content"
|
>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_marginHorizontal="6dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_title_spouse"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:text="配偶情况"
|
android:textColor="@color/black"
|
android:textSize="20sp"
|
/>
|
<ImageView
|
android:id="@+id/iv_spouse_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isSpouseExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_spouse"
|
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="张三"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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="已婚"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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="2010-01-01"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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="广东省广州市"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<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"
|
android:layout_marginBottom="10dp"
|
>
|
<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="张氏公司"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:ellipsize="marquee"
|
/>
|
<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"
|
>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_predecessor"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginHorizontal="14dp"
|
android:layout_marginTop="10dp"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="2dp"
|
>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_marginHorizontal="6dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_title_predecessor"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:text="前任"
|
android:textColor="#CC000000"
|
android:textSize="18sp"
|
/>
|
<ImageView
|
android:id="@+id/iv_predecessor_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isPredecessorExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_predecessor"
|
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="张三"
|
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="离婚"
|
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="2010-01-01"
|
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="广东省广州市"
|
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>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:layout_marginBottom="10dp"
|
>
|
<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="张氏公司"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:ellipsize="marquee"
|
/>
|
<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"
|
>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_procreate"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginHorizontal="14dp"
|
android:layout_marginTop="10dp"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="2dp"
|
>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:layout_marginHorizontal="6dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_title_procreate"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:text="生育情况"
|
android:textColor="@color/black"
|
android:textSize="20sp"
|
/>
|
<ImageView
|
android:id="@+id/iv_procreate_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isProcreateExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_procreate"
|
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="已生育"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_marginStart="40dp"
|
>
|
</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="是"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical"
|
android:layout_marginStart="40dp"
|
>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:layout_marginBottom="10dp"
|
>
|
<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="是"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
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
|
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="2023-01-01"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="需声明的情况"
|
android:textColor="@color/black"
|
android:textSize="18sp"
|
android:layout_marginStart="20dp"
|
android:paddingVertical="5dp"
|
android:paddingHorizontal="3dp"
|
android:background="@drawable/shape_fffad1e0_10_10_0_0"
|
android:layout_marginTop="12dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginHorizontal="20dp"
|
android:background="@drawable/shape_fffad1e0_stroke_0_10_10_10"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="10dp"
|
android:orientation="vertical"
|
>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="16sp"
|
android:textColor="#FF131215"
|
android:text="需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文需声明的情况正文"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="16sp"
|
android:textColor="@color/black"
|
android:text="2005年12月20日"
|
android:layout_marginTop="12dp"
|
android:layout_gravity="end"
|
/>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="备注"
|
android:textColor="@color/black"
|
android:textSize="18sp"
|
android:layout_marginStart="20dp"
|
android:paddingVertical="3dp"
|
android:paddingHorizontal="5dp"
|
android:background="@drawable/shape_fffad1e0_10_10_0_0"
|
android:layout_marginTop="12dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginHorizontal="20dp"
|
android:background="@drawable/shape_fffad1e0_stroke_0_10_10_10"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="10dp"
|
android:orientation="vertical"
|
>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="16sp"
|
android:textColor="#FF131215"
|
android:text="备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文备注正文"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textSize="16sp"
|
android:textColor="@color/black"
|
android:text="2005年12月20日"
|
android:layout_marginTop="12dp"
|
android:layout_gravity="end"
|
/>
|
</LinearLayout>
|
|
|
</LinearLayout>
|
</ScrollView>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</layout>
|