From 82e57df230ecb744af6c8865f80870ba03c86d89 Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期二, 25 七月 2023 22:18:27 +0800
Subject: [PATCH] 基本功能完成

---
 app/src/main/res/layout/activity_health_care.xml |  564 ++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 366 insertions(+), 198 deletions(-)

diff --git a/app/src/main/res/layout/activity_health_care.xml b/app/src/main/res/layout/activity_health_care.xml
index 53bd954..6346ca2 100644
--- a/app/src/main/res/layout/activity_health_care.xml
+++ b/app/src/main/res/layout/activity_health_care.xml
@@ -25,23 +25,24 @@
             app:title="鍋ュ悍淇濆仴"
             app:titleGravity="left"
             >
+
             <FrameLayout
-                android:layout_width="24dp"
+                android:layout_width="19dp"
                 android:layout_height="24dp"
-                android:layout_marginHorizontal="16dp"
                 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="@drawable/ic_operate"
-                    />
+                    android:background="@{viewModel.typeLiveData?@drawable/ic_operate_finish:@drawable/ic_operate}" />
             </FrameLayout>
         </com.android.app_base.widget.ExtendTitleBar>
 
-        <ScrollView
+        <androidx.core.widget.NestedScrollView
+            android:id="@+id/nestedScrollView"
             android:layout_width="match_parent"
             android:layout_height="0dp"
             app:layout_constraintBottom_toBottomOf="parent"
@@ -64,9 +65,10 @@
                     <TextView
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:text="XXX鐜扮姸鍋ュ悍鎯呭喌淇℃伅"
+                        android:text="@{viewModel.healthCareBaseInfoBeanLiveData.name +`鐜扮姸鍋ュ悍鎯呭喌淇℃伅`}"
                         android:textColor="@color/black"
                         android:textSize="20sp"
+                        tools:text="xxx鐜扮姸鍋ュ悍鎯呭喌淇℃伅"
                         />
                     <TextView
                         android:layout_width="wrap_content"
@@ -95,13 +97,16 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="寮犱笁"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.name}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"
                                 android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -126,9 +131,12 @@
                                 android:alpha="0.54"
                                 />
                             <TextView
+                                android:id="@+id/tv_sex"
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="鐢�"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.sexStr}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"
                                 android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
@@ -160,13 +168,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="鏈"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.educationLevel}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -190,13 +200,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="缁忕悊"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.work}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -225,14 +237,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="17818824255"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.phone}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
-                                android:ellipsize="marquee"
+                                android:inputType="phone"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -256,13 +269,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="Zhang@123.com"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.email}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -291,13 +306,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="骞夸笢鐪佸箍宸炲競鐣鍖哄皬璋峰洿琛楅亾骞夸笢宸ヤ笟澶у"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.address}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -335,9 +352,11 @@
                             app:layout_constraintHorizontal_chainStyle="spread_inside"
                             >
                             <ImageView
+                                android:id="@+id/iv_a"
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.a}"
+                                android:clickable="@{viewModel.typeLiveData}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -363,7 +382,9 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected" />
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.b}"
+                                />
                             <TextView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
@@ -388,12 +409,14 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected" />
+                                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="C鍨�"
+                                android:text="O鍨�"
                                 android:textColor="#DE000000"
                                 android:textSize="16sp"
                                 android:layout_marginStart="8dp"
@@ -412,7 +435,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.rh}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -437,7 +461,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.bloodClass.other}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -461,13 +486,14 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                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="RH闃村瀷"
+                                android:text="涓嶆竻妤�"
                                 android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginStart="8dp"
@@ -499,7 +525,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.medicine}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -521,7 +548,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.food}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -543,7 +571,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.allergyClass.other}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -580,7 +609,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.hypertension}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -602,7 +632,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.diabetes}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -624,7 +655,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.tumor}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -646,7 +678,8 @@
                             <ImageView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:background="@drawable/ic_radio_button_selected"
+                                android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareBaseInfoBeanLiveData.geneticDiseaseClass.other}"
                                 />
                             <TextView
                                 android:layout_width="wrap_content"
@@ -678,14 +711,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="闃垮徃鍖规灄"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.medicine}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                  android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
-                                android:ellipsize="marquee"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -709,13 +743,15 @@
                                 android:textSize="12sp"
                                 android:alpha="0.54"
                                 />
-                            <TextView
+                            <EditText
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
-                                android:text="鍐犲績鐥呫�佸摦鍠�"
-                                android:textColor="#DE000000"
+                                android:text="@={viewModel.healthCareBaseInfoBeanLiveData.baseDisease}"
+                                android:background="@null"
+                                android:enabled="@{viewModel.typeLiveData}"                                  android:textColor="#DE000000"
                                 android:textSize="14sp"
                                 android:layout_marginTop="5dp"
+                                android:inputType="textMultiLine"
                                 />
                             <View
                                 android:layout_width="match_parent"
@@ -788,14 +824,15 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="鐢滃搧銆佺偣蹇�"
-                                        android:textColor="#DE000000"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"                                           android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -820,16 +857,15 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="杈涜荆銆佸喎鍐�"
-                                        android:textColor="#DE000000"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatBad}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"                                         android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
-                                        android:drawableStart="@drawable/ic_radio_button"
-                                        android:drawablePadding="8dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -859,14 +895,16 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="鍠濊尪"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.hobby}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -891,14 +929,15 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="鍚哥儫"
-                                        android:textColor="#DE000000"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.addition}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"                                         android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -931,7 +970,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.good}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -953,7 +993,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.general}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -975,7 +1016,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.easyWake}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -997,7 +1039,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.dreaminess}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1024,7 +1067,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.sleepless}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1046,7 +1090,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.snore}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1068,7 +1113,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.sleepClass.wakefulness}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1101,14 +1147,16 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="1娆�/d"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1133,14 +1181,15 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="6娆�/d"
-                                        android:textColor="#DE000000"
+                                        android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"                                          android:textColor="#DE000000"
                                         android:textSize="14sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="textMultiLine"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1172,7 +1221,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.normal}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1193,7 +1243,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.constipation}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1214,7 +1265,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.diarrhea}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1235,7 +1287,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.stoolStatusClass.incontinence}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1257,20 +1310,26 @@
                                 android:alpha="0.54"
                                 android:layout_marginTop="20dp"
                                 />
-                            <LinearLayout
+                            <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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.normal}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1283,15 +1342,19 @@
                                         />
                                 </LinearLayout>
                                 <LinearLayout
+                                    android:id="@+id/ll_2"
                                     android:layout_width="wrap_content"
                                     android:layout_height="wrap_content"
                                     android:gravity="center_vertical"
-                                    android:layout_marginStart="20dp"
+                                    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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.nightUrinaryRetention}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1304,15 +1367,18 @@
                                         />
                                 </LinearLayout>
                                 <LinearLayout
+                                    android:id="@+id/ll_3"
                                     android:layout_width="wrap_content"
                                     android:layout_height="wrap_content"
                                     android:gravity="center_vertical"
-                                    android:layout_marginStart="20dp"
-                                    >
+                                    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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.incontinence}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1325,15 +1391,18 @@
                                         />
                                 </LinearLayout>
                                 <LinearLayout
+                                    android:id="@+id/ll_4"
                                     android:layout_width="wrap_content"
                                     android:layout_height="wrap_content"
                                     android:gravity="center_vertical"
-                                    android:layout_marginStart="20dp"
-                                    >
+                                    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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.urineStatusClass.enuresis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1345,7 +1414,7 @@
                                         android:layout_marginStart="8dp"
                                         />
                                 </LinearLayout>
-                            </LinearLayout>
+                            </androidx.constraintlayout.widget.ConstraintLayout>
                             <TextView
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
@@ -1368,7 +1437,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.uniformityOfMeatAndVegetables}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1394,7 +1464,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.meat}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1420,7 +1491,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.vegetable}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1446,7 +1518,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.salt}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1472,7 +1545,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.oil}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1498,7 +1572,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.sugar}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1524,7 +1599,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.eatingHabitsClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1560,7 +1636,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.bereave}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1582,7 +1659,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.liveAlone}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1609,7 +1687,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.inHospital}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1618,7 +1697,7 @@
                                         android:text="涓�骞翠箣鍐呬綇闄㈡不鐤�"
                                         android:textColor="#DE000000"
                                         android:textSize="16sp"
-                                        android:layout_marginStart="8dp"
+                                        android:layout_marginStart="5dp"
                                         />
                                 </LinearLayout>
 
@@ -1632,7 +1711,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareLifeHabitsBeanLiveData.lifeEventClass.divide}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1713,14 +1793,17 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
-                                        android:layout_width="wrap_content"
+
+                                    <EditText
+                                        android:layout_width="match_parent"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="26.5 掳C"
+                                        android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.temperature}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#B3000000"
                                         android:textSize="16sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="text"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1745,16 +1828,16 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="60涓�/鍒�"
+                                        android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.pulse}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#B3000000"
                                         android:textSize="16sp"
                                         android:layout_marginTop="5dp"
-                                        android:drawableStart="@drawable/ic_radio_button"
-                                        android:drawablePadding="8dp"
+                                        android:inputType="text"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1784,14 +1867,16 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="120"
+                                        android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.bloodPressure}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#B3000000"
                                         android:textSize="16sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="text"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1816,14 +1901,16 @@
                                         android:textSize="12sp"
                                         android:alpha="0.54"
                                         />
-                                    <TextView
+                                    <EditText
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:maxLines="1"
-                                        android:text="65kg"
+                                        android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.weight}"
+                                        android:background="@null"
+                                        android:enabled="@{viewModel.typeLiveData}"
                                         android:textColor="#B3000000"
                                         android:textSize="16sp"
                                         android:layout_marginTop="5dp"
+                                        android:inputType="text"
                                         />
                                     <View
                                         android:layout_width="match_parent"
@@ -1855,7 +1942,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.acne}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1876,12 +1964,12 @@
                                     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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.psoriasis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1902,12 +1990,12 @@
                                     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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.color}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1928,12 +2016,12 @@
                                     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:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.edema}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1959,7 +2047,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.rash}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -1984,7 +2073,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.bloodStasis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2009,7 +2099,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.snom}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2035,7 +2126,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.nevus}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2056,7 +2148,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.skinTypeClass.ulcer}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2096,7 +2189,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.optimistic}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2121,7 +2215,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.worry}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2146,7 +2241,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.fear}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2172,7 +2268,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.suspicion}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2197,7 +2294,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.constrain}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2222,7 +2320,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.psychologyTypeClass.miss}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2257,7 +2356,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.lucidity}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2282,7 +2382,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.unknown}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2307,7 +2408,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.normal}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2332,7 +2434,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.attitudeClass.abnormal}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2367,7 +2470,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.good}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2392,7 +2496,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.medium}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2417,7 +2522,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.poor}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2442,7 +2548,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareNursingExaminationBeanLiveData.nutritionClass.obesity}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2525,7 +2632,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.ischemicStroke}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2550,7 +2658,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.cerebralHemorrhage}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2575,7 +2684,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2601,7 +2711,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.subarachnoidHemorrhage}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2626,7 +2737,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.brainDiseaseClass.tia}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2661,7 +2773,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.myocardialInfarct}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2686,7 +2799,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.anginaPectoris}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2711,7 +2825,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.congestiveHeartFailure}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2737,7 +2852,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.coronaryRevascularization}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2762,7 +2878,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.precordialPain}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2788,7 +2905,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.heartDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2823,7 +2941,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.dissectingAneurysm}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2848,7 +2967,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.arterialOcclusiveDiseases}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2873,7 +2993,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.vascularDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2908,7 +3029,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.gastroduodenalUlcer}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2933,7 +3055,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.esophagitis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2959,7 +3082,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.gastritis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -2984,13 +3108,14 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        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:text="婧冪枴鎬х粨鑲犵値"
                                         android:textColor="#DE000000"
                                         android:textSize="16sp"
                                         android:layout_marginStart="8dp"
@@ -3009,13 +3134,14 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        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:text="鑲濈値"
                                         android:textColor="#DE000000"
                                         android:textSize="16sp"
                                         android:layout_marginStart="8dp"
@@ -3035,7 +3161,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.cholecystitis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3060,7 +3187,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.cholelithiasis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3085,7 +3213,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.fattyLiver}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3111,7 +3240,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.hyperlipidemia}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3136,7 +3266,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.haemorrhoids}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3161,7 +3292,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.digestiveSystemDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3196,7 +3328,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.copd}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3221,7 +3354,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.pneumonia}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3246,7 +3380,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.bronchitis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3272,7 +3407,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.bronchialAsthma}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3297,7 +3433,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.pulmonaryTuberculosis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3322,7 +3459,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.upperRespiratoryTractInfection}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3348,7 +3486,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.respiratorySystemDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3383,7 +3522,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.diabetes}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3408,7 +3548,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.renalFailure}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3433,7 +3574,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.acuteNephritis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3460,7 +3602,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.chronicNephritis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3481,7 +3624,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.urinaryCalculus}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3508,7 +3652,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.urinaryTractInfection}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3529,7 +3674,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.kidneyDiseaseClass.other}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3565,7 +3711,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pregnant}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3586,7 +3733,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.cold}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3613,7 +3761,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.infectious}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3634,7 +3783,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pulmonaryBulla}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3660,7 +3810,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.hemoptysis}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3687,7 +3838,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.pneumothorax}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3708,7 +3860,8 @@
                                     <ImageView
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
-                                        android:background="@drawable/ic_radio_button_selected"
+                                        android:clickable="@{viewModel.typeLiveData}"
+                                app:select_state="@={viewModel.healthCareExistingProblemsBeanLiveData.otherDiseaseClass.activeBleeding}"
                                         />
                                     <TextView
                                         android:layout_width="wrap_content"
@@ -3741,8 +3894,8 @@
                     app:tabIndicatorHeight="0dp"
                     app:tabGravity="fill"
                     />
-                <TextView
-                    android:id="@+id/tv_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"
@@ -3750,9 +3903,24 @@
                     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>
-        </ScrollView>
+        </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>
\ No newline at end of file

--
Gitblit v1.9.1