<?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.HealthCareActivityViewModel" />
|
</data>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="?attr/pageBackgroundColor"
|
>
|
|
<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"
|
app:leftIcon="@drawable/ic_back"
|
>
|
|
<FrameLayout
|
android:layout_width="19dp"
|
android:layout_height="24dp"
|
android:layout_gravity="center_vertical|end"
|
android:layout_marginHorizontal="16dp">
|
|
<ImageView
|
android:id="@+id/iv_operate"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:background="@{viewModel.typeLiveData?@drawable/ic_operate_finish:@drawable/ic_operate}" />
|
</FrameLayout>
|
</com.android.app_base.widget.ExtendTitleBar>
|
|
<androidx.core.widget.NestedScrollView
|
android:id="@+id/nestedScrollView"
|
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="@{viewModel.healthCareBaseInfoBeanLiveData.name!=null?viewModel.healthCareBaseInfoBeanLiveData.name+`现状健康情况信息`:`现状健康情况信息`}"
|
android:textColor="@color/black"
|
android:textSize="20sp"
|
tools:text="xxx现状健康情况信息"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="基本信息"
|
android:textColor="@color/black"
|
android:textSize="20sp"
|
android:layout_marginTop="10dp"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.name}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入姓名`:``}"
|
android:textSize="14sp"
|
android:textColor="#DE000000"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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:id="@+id/tv_sex"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.sexStr}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入性别`:``}"
|
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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.educationLevel}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入文化程度`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.work}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入职业`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.phone}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入电话`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="phone"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.email}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入电子邮件`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.address}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入住址`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
>
|
<TextView
|
android:id="@+id/tv_blood_type"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="血型"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
/>
|
<LinearLayout
|
android:id="@+id/layout_type_A"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toBottomOf="@id/tv_blood_type"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/layout_type_B"
|
android:layout_marginTop="10dp"
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
>
|
<ImageView
|
android:id="@+id/iv_a"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.a}"
|
android:clickable="@{viewModel.typeLiveData}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="A型"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_type_B"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toTopOf="@id/layout_type_A"
|
app:layout_constraintStart_toEndOf="@id/layout_type_A"
|
app:layout_constraintEnd_toStartOf="@id/layout_type_C"
|
>
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.b}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="B型"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_type_C"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toTopOf="@id/layout_type_A"
|
app:layout_constraintStart_toEndOf="@id/layout_type_B"
|
app:layout_constraintEnd_toStartOf="@id/layout_type_RH"
|
>
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.o}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="O型"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_type_RH"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toTopOf="@id/layout_type_A"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@id/layout_type_C"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.rh}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="RH阴型"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_type_other"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toBottomOf="@id/layout_type_A"
|
app:layout_constraintStart_toStartOf="@id/layout_type_A"
|
android:layout_marginTop="10dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他特殊血型"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_type_unknow"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintTop_toTopOf="@id/layout_type_other"
|
app:layout_constraintStart_toStartOf="@id/layout_type_C"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.unknown}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="不清楚"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginStart="8dp"
|
/>
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="过敏史"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_drugs"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.medicine}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="药物"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_food"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.food}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="食品"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_allergies_other"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="遗传病史"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_hypertension"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.hypertension}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="高血压"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_diabetes"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.diabetes}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="糖尿病"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_tumor"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.tumor}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肿瘤"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_genetic_other"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.medicine}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入常用药物`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareBaseInfoBeanLiveData.baseDisease}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入目前基础病`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_life_habits"
|
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_life_habits"
|
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_life_habits_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isLifeHabitsExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_life_habits"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingBottom="14dp"
|
>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入饮食(喜)`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatBad}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入饮食(忌)`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.hobby}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入爱好`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.addition}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入嗜好`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="睡眠"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_sleep_nice"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.good}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="良好"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_sleep_soso"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.general}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="一般"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_sleep_easy_awake"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.easyWake}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="易醒"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_sleep_dreaminess"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.dreaminess}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="多梦"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:id="@+id/layout_sleep_insomnia"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.sleepless}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="失眠"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_sleep_snore"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.snore}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="打鼾"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_sleep_poor_sleep"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.wakefulness}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="睡不熟"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入大便频率`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入小便频率`:``}"
|
android:textColor="#DE000000"
|
android:textSize="14sp"
|
android:layout_marginTop="5dp"
|
android:inputType="textMultiLine"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="大便规律"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.normal}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="正常"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.constipation}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="秘结"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.diarrhea}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="腹泻"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.incontinence}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="失禁"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="小便规律"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:id="@+id/ll_1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/ll_2"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.normal}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="正常"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintStart_toEndOf="@id/ll_1"
|
app:layout_constraintEnd_toStartOf="@id/ll_3"
|
app:layout_constraintTop_toTopOf="parent"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.nightUrinaryRetention}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="夜尿潴留"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_3"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintStart_toEndOf="@id/ll_2"
|
app:layout_constraintEnd_toStartOf="@id/ll_4"
|
app:layout_constraintTop_toTopOf="parent" >
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.incontinence}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="失禁"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_4"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
app:layout_constraintStart_toEndOf="@id/ll_3"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent" >
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.enuresis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="遗尿"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="饮食习惯"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.uniformityOfMeatAndVegetables}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="荤素均匀"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.meat}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="荤食为主"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.vegetable}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="素食为主"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.salt}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="嗜盐"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.oil}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="嗜油"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.sugar}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="嗜糖"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="生活事件"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.bereave}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="丧偶(两年之内)"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.liveAlone}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="目前独居"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.inHospital}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="一年之内住院治疗"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="5dp"
|
/>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="20dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.divide}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="子女分家生活"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_nursing"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginHorizontal="14dp"
|
android:layout_marginTop="10dp"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="2dp"
|
app:cardBackgroundColor="@color/white"
|
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_nursing"
|
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_nursing_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isNursingExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_nursing"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingBottom="14dp"
|
>
|
<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"
|
/>
|
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.temperature}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入体温度数`:``}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:inputType="text"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.pulse}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入脉搏频率`:``}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:inputType="text"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.bloodPressure}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入血压`:``}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:inputType="text"
|
/>
|
<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"
|
/>
|
<EditText
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.weight}"
|
android:background="@null"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData?`请输入体重`:``}"
|
android:textColor="#B3000000"
|
android:textSize="16sp"
|
android:layout_marginTop="5dp"
|
android:inputType="text"
|
/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#6B000000"
|
android:layout_marginTop="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="皮肤粘膜"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.acne}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="青春痘"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.psoriasis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="牛皮藓"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.color}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="色素沉着"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.edema}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="水肿"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.rash}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="皮疹"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.bloodStasis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="淤点淤斑"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.snom}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="皮下结节或肿块"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.nevus}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="蜘蛛痣"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:layout_marginStart="32dp"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.ulcer}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="溃疡或癜痕"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="心理状态"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.optimistic}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="开朗"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.worry}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="焦虑"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.fear}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="忧愁恐惧"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.suspicion}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="猜疑"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.constrain}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="压抑"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.miss}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="思念"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="病理态度"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.lucidity}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="明朗"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.unknown}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="不了解"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.normal}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="正常"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.abnormal}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="不正常"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="全身营养情况"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.good}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="良好"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.medium}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="中等"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.poor}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="欠佳"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.obesity}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肥胖"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
<androidx.cardview.widget.CardView
|
android:id="@+id/card_health"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_marginHorizontal="14dp"
|
android:layout_marginTop="10dp"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="2dp"
|
app:cardBackgroundColor="@color/white"
|
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_health"
|
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_health_fold"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@{viewModel.isHealthExpendedLiveData?@drawable/ic_unfold:@drawable/ic_fold}"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/layout_content_health"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:paddingBottom="14dp"
|
>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="脑血管疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.ischemicStroke}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="缺血性卒中"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.cerebralHemorrhage}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="脑出血"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.subarachnoidHemorrhage}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="蛛网膜下腔出血 "
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.tia}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="短暂性脑缺血发作"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="心脏疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.myocardialInfarct}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="心肌梗塞 "
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.anginaPectoris}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="心绞痛"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.congestiveHeartFailure}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="充血性心力衰竭"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.coronaryRevascularization}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="冠状动脉血运重建"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.precordialPain}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="心前区疼痛"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="血管疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.dissectingAneurysm}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="夹层动脉瘤"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.arterialOcclusiveDiseases}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="动脉闭塞性疾病"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其它"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="消化系统疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.gastroduodenalUlcer}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="胃十二指肠溃疡"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.esophagitis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="返流性食管炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.gastritis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="慢性胃炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.colitis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="溃疡性结肠炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.hepatitis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肝炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.cholecystitis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="胆囊炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.cholelithiasis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="胆石症"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.fattyLiver}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="脂肪肝"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.hyperlipidemia}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="高脂血症"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.haemorrhoids}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="痔疮"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其它"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="呼吸系统疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.copd}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="COPD"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.pneumonia}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肺炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.bronchitis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="支气管炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.bronchialAsthma}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="支气管哮"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.pulmonaryTuberculosis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肺结核"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.upperRespiratoryTractInfection}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="上呼吸道感染"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="肾脏疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.diabetes}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="糖尿病肾病 "
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.renalFailure}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肾功能衰竭"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<View
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.acuteNephritis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="急性肾炎"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.chronicNephritis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="慢性肾炎 "
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.urinaryCalculus}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="泌尿系统结石"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.urinaryTractInfection}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="泌尿系统感染"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.other}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="其他"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="其它疾病"
|
android:textColor="@color/black"
|
android:textSize="12sp"
|
android:alpha="0.54"
|
android:layout_marginTop="20dp"
|
/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="2"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pregnant}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="孕期三个月以内的孕妇"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.cold}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="病毒性重感冒"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="2"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.infectious}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="传染性疾病"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pulmonaryBulla}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="肺大疱"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.hemoptysis}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="结核性空洞形成的咯血"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="2"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pneumothorax}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="未经处理的气胸"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:clickable="@{viewModel.typeLiveData}"
|
app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.activeBleeding}"
|
/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:maxLines="1"
|
android:text="活动性出血"
|
android:textColor="#DE000000"
|
android:textSize="16sp"
|
android:layout_marginStart="8dp"
|
/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<com.google.android.material.tabs.TabLayout
|
android:id="@+id/tab_layout"
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginHorizontal="20dp"
|
app:tabTextAppearance="@style/MyTabLayout"
|
app:tabTextColor="#88000000"
|
app:tabSelectedTextColor="#FF000000"
|
app:layout_constraintTop_toBottomOf="@+id/tv_autobiography"
|
app:tabMode="scrollable"
|
app:tabIndicatorHeight="0dp"
|
app:tabGravity="fill"
|
/>
|
<EditText
|
android:id="@+id/et_fill"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shape_fffad1e0_stroke_0_10_10_10"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="10dp"
|
android:layout_marginHorizontal="20dp"
|
app:layout_constraintTop_toBottomOf="@id/tab_layout"
|
android:enabled="@{viewModel.typeLiveData}"
|
android:hint="@{viewModel.typeLiveData ? `请填写` : ``}"
|
android:inputType="textMultiLine"
|
android:textColor="#FF131215"
|
/>
|
|
</LinearLayout>
|
</androidx.core.widget.NestedScrollView>
|
<androidx.constraintlayout.utils.widget.ImageFilterView
|
android:id="@+id/fab_move_to_top"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="25dp"
|
android:layout_marginBottom="44dp"
|
app:fabCustomSize="100dp"
|
android:background="@drawable/ic_move_to_top"
|
/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</layout>
|