| | |
| | | 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" |
| | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="XXX现状健康情况信息" |
| | | android:text="@{viewModel.healthCareBaseInfoBeanLiveData.name!=null?viewModel.healthCareBaseInfoBeanLiveData.name+`现状健康情况信息`:`现状健康情况信息`}" |
| | | android:textColor="@color/black" |
| | | android:textSize="20sp" |
| | | tools:text="xxx现状健康情况信息" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | |
| | | android:textSize="12sp" |
| | | android:alpha="0.54" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <EditText |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="张三" |
| | | android:textColor="#DE000000" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.name}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入姓名`:``}" |
| | | android:textSize="14sp" |
| | | android:textColor="#DE000000" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android:alpha="0.54" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:id="@+id/tv_sex" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="男" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.sexStr}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入性别`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | |
| | | 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:text="本科" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.educationLevel}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入文化程度`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android:textSize="12sp" |
| | | android:alpha="0.54" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <EditText |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="经理" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.work}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入职业`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android:textSize="12sp" |
| | | android:alpha="0.54" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <EditText |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="17818824255" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.phone}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入电话`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:ellipsize="marquee" |
| | | android:inputType="phone" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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:text="Zhang@123.com" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.email}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入电子邮件`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android:textSize="12sp" |
| | | android:alpha="0.54" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <EditText |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="广东省广州市番禺区小谷围街道广东工业大学" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.address}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入住址`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | 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:text="阿司匹林" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.medicine}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入常用药物`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:ellipsize="marquee" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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:text="冠心病、哮喘" |
| | | android:text="@={viewModel.healthCareBaseInfoBeanLiveData.baseDisease}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入目前基础病`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android: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="甜品、点心" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入饮食(喜)`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android: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="辛辣、冷冻" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatBad}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入饮食(忌)`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:drawableStart="@drawable/ic_radio_button" |
| | | android:drawablePadding="8dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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="喝茶" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.hobby}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入爱好`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android: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="吸烟" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.addition}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入嗜好`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | 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="1次/d" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入大便频率`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android: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="6次/d" |
| | | android:text="@={viewModel.healthCareLifeHabitsBeanLiveData.eatGood}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入小便频率`:``}" |
| | | android:textColor="#DE000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="textMultiLine" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | 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" |
| | |
| | | /> |
| | | </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" |
| | |
| | | /> |
| | | </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" |
| | |
| | | /> |
| | | </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" |
| | |
| | | android:layout_marginStart="8dp" |
| | | /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | android:text="一年之内住院治疗" |
| | | android:textColor="#DE000000" |
| | | android:textSize="16sp" |
| | | android:layout_marginStart="8dp" |
| | | android:layout_marginStart="5dp" |
| | | /> |
| | | </LinearLayout> |
| | | |
| | |
| | | <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" |
| | |
| | | android:layout_marginTop="10dp" |
| | | app:cardCornerRadius="10dp" |
| | | app:cardElevation="2dp" |
| | | app:cardBackgroundColor="@color/white" |
| | | tools:layout_height="wrap_content" |
| | | > |
| | | <LinearLayout |
| | |
| | | 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:hint="@{viewModel.typeLiveData?`请输入体温度数`:``}" |
| | | android:textColor="#B3000000" |
| | | android:textSize="16sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="text" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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="60下/分" |
| | | android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.pulse}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入脉搏频率`:``}" |
| | | android:textColor="#B3000000" |
| | | android:textSize="16sp" |
| | | android:layout_marginTop="5dp" |
| | | android:drawableStart="@drawable/ic_radio_button" |
| | | android:drawablePadding="8dp" |
| | | android:inputType="text" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | 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="120" |
| | | android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.bloodPressure}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入血压`:``}" |
| | | android:textColor="#B3000000" |
| | | android:textSize="16sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="text" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | android: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="65kg" |
| | | android:text="@={viewModel.healthCareNursingExaminationBeanLiveData.weight}" |
| | | android:background="@null" |
| | | android:enabled="@{viewModel.typeLiveData}" |
| | | android:hint="@{viewModel.typeLiveData?`请输入体重`:``}" |
| | | android:textColor="#B3000000" |
| | | android:textSize="16sp" |
| | | android:layout_marginTop="5dp" |
| | | android:inputType="text" |
| | | /> |
| | | <View |
| | | android:layout_width="match_parent" |
| | |
| | | <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" |
| | |
| | | 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" |
| | |
| | | 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" |
| | |
| | | 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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | android:layout_marginTop="10dp" |
| | | app:cardCornerRadius="10dp" |
| | | app:cardElevation="2dp" |
| | | app:cardBackgroundColor="@color/white" |
| | | tools:layout_height="wrap_content" |
| | | > |
| | | <LinearLayout |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | <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" |
| | |
| | | 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" |
| | |
| | | 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> |