|
@@ -1,303 +1,306 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<LinearLayout
|
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
- android:layout_width="290dp"
|
|
|
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ android:id="@+id/ll_item_bed"
|
|
|
|
+ android:layout_width="264dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:background="@drawable/shape_bed_item_bg"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:gravity="center">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
|
+ android:id="@+id/ll_nurse_configs"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="wrap_content">
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_bed_name_title"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_weight="2"
|
|
|
|
- android:padding="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="--"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="36sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_bed_card_no"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:textColor="#B4B4B4"
|
|
|
|
- android:textSize="16sp"/>
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:baselineAligned="false">
|
|
|
|
-
|
|
|
|
- <!--护理项-->
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/ll_nurse_configs"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1.2"
|
|
|
|
- android:baselineAligned="false"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:baselineAligned="false"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
+ android:layout_marginTop="10dp">
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/nurse_config_item_color1"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@color/nursing_default_color"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_name1"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
- android:layout_marginTop="10dp">
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/nurse_config_item_color1"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/nursing_default_color"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_name1"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color1"
|
|
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/default_nurse_config_name"
|
|
|
|
- android:textColor="@color/text_name_color"
|
|
|
|
- android:textSize="18sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_value1"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color1"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:paddingRight="4dp"
|
|
|
|
- android:gravity="right"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
- </RelativeLayout>
|
|
|
|
-
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color1"
|
|
|
|
+ android:paddingLeft="4dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/default_nurse_config_name"
|
|
|
|
+ android:textColor="@color/text_name_color"
|
|
|
|
+ android:textSize="22sp"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_value1"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
- android:layout_marginTop="@dimen/nurse_config_margin">
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/nurse_config_item_color2"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/nursing_default_color"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_name2"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color2"
|
|
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/default_nurse_config_name"
|
|
|
|
- android:textColor="@color/text_name_color"
|
|
|
|
- android:textSize="18sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_value2"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color2"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:paddingRight="4dp"
|
|
|
|
- android:gravity="right"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color1"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:paddingRight="4dp"
|
|
|
|
+ android:gravity="right"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/str_empty"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="26sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
+ android:layout_marginTop="16dp">
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/nurse_config_item_color2"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@color/nursing_default_color"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_name2"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
- android:layout_marginTop="@dimen/nurse_config_margin">
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/nurse_config_item_color3"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/nursing_default_color"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_name3"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color3"
|
|
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/default_nurse_config_name"
|
|
|
|
- android:textColor="@color/text_name_color"
|
|
|
|
- android:textSize="18sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_value3"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color3"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:paddingRight="4dp"
|
|
|
|
- android:gravity="right"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
- </RelativeLayout>
|
|
|
|
-
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color2"
|
|
|
|
+ android:paddingLeft="4dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/default_nurse_config_name"
|
|
|
|
+ android:textColor="@color/text_name_color"
|
|
|
|
+ android:textSize="22sp"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_value2"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
- android:layout_marginTop="@dimen/nurse_config_margin">
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/nurse_config_item_color4"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/nursing_default_color"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_name4"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color4"
|
|
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/default_nurse_config_name"
|
|
|
|
- android:textColor="@color/text_name_color"
|
|
|
|
- android:textSize="18sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_value4"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color4"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:paddingRight="4dp"
|
|
|
|
- android:gravity="right"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color2"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:paddingRight="4dp"
|
|
|
|
+ android:gravity="right"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/str_empty"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="26sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
+ android:layout_marginTop="16dp">
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/nurse_config_item_color3"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@color/nursing_default_color"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_name3"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
- android:layout_marginTop="@dimen/nurse_config_margin">
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/nurse_config_item_color5"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/nursing_default_color"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_name5"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color5"
|
|
|
|
- android:paddingLeft="4dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/default_nurse_config_name"
|
|
|
|
- android:textColor="@color/text_name_color"
|
|
|
|
- android:textSize="18sp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_config_item_value5"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/nurse_config_item_color5"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:paddingRight="4dp"
|
|
|
|
- android:gravity="right"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
- </RelativeLayout>
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <!--入住信息-->
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="0.8"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:baselineAligned="false"
|
|
|
|
- android:orientation="vertical"
|
|
|
|
- android:gravity="center_horizontal">
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color3"
|
|
|
|
+ android:paddingLeft="4dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/default_nurse_config_name"
|
|
|
|
+ android:textColor="@color/text_name_color"
|
|
|
|
+ android:textSize="22sp"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_value3"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color3"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:paddingRight="4dp"
|
|
|
|
+ android:gravity="right"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/str_empty"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="26sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
+ android:layout_marginTop="16dp">
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/nurse_config_item_color4"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@color/nursing_default_color"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/bed_customer_name"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
+ android:id="@+id/nurse_config_item_name4"
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:drawableTop="@mipmap/ic_custom_male"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:text="--"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textSize="24sp"/>
|
|
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color4"
|
|
|
|
+ android:paddingLeft="4dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/default_nurse_config_name"
|
|
|
|
+ android:textColor="@color/text_name_color"
|
|
|
|
+ android:textSize="22sp"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_value4"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color4"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:paddingRight="4dp"
|
|
|
|
+ android:gravity="right"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/str_empty"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="26sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/nurse_config_item_height"
|
|
|
|
+ android:layout_marginTop="16dp">
|
|
|
|
+ <View
|
|
|
|
+ android:id="@+id/nurse_config_item_color5"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@color/nursing_default_color"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/bed_customer_age"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
+ android:id="@+id/nurse_config_item_name5"
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:drawableLeft="@mipmap/ic_gender_male"
|
|
|
|
- android:drawablePadding="4dp"
|
|
|
|
- android:text="--"
|
|
|
|
- android:textSize="20sp"/>
|
|
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color5"
|
|
|
|
+ android:paddingLeft="4dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/default_nurse_config_name"
|
|
|
|
+ android:textColor="@color/text_name_color"
|
|
|
|
+ android:textSize="22sp"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_config_item_value5"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@id/nurse_config_item_color5"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:paddingRight="4dp"
|
|
|
|
+ android:gravity="right"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:text="@string/str_empty"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="26sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
|
+ android:id="@+id/tv_bed_name_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:padding="4dp"
|
|
|
|
+ android:text="--"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:textSize="60sp"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/bed_customer_name"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:drawableLeft="@mipmap/ic_custom_male"
|
|
|
|
+ android:drawablePadding="10dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="--"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="36sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/bed_customer_age"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:text="--"
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_bed_card_no"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:textSize="24sp"
|
|
|
|
+ android:text="--"/>
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginTop="12dp">
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical">
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/bed_doctor_icon"
|
|
android:id="@+id/bed_doctor_icon"
|
|
android:layout_width="48dp"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_height="48dp"
|
|
- android:layout_marginTop="20dp"
|
|
|
|
- android:src="@mipmap/ic_doctor_default"/>
|
|
|
|
|
|
+ android:src="@mipmap/ic_doctor_default"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/bed_doctor_title"
|
|
android:id="@+id/bed_doctor_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginTop="10dp"
|
|
- android:text="@string/doctor_title"
|
|
|
|
|
|
+ android:text="责任医生"
|
|
android:textColor="@color/text_name_color"
|
|
android:textColor="@color/text_name_color"
|
|
- android:textSize="14sp"/>
|
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/bed_doctor_name"
|
|
android:id="@+id/bed_doctor_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="@string/str_empty"
|
|
|
|
|
|
+ android:text="暂无"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:textSize="14sp"/>
|
|
|
|
|
|
+ android:textSize="28sp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical">
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/bed_nurse_icon"
|
|
android:id="@+id/bed_nurse_icon"
|
|
android:layout_width="48dp"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_height="48dp"
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:src="@mipmap/ic_nurse_default"/>
|
|
|
|
|
|
+ android:src="@mipmap/ic_nurse_default"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/bed_nurse_title"
|
|
android:id="@+id/bed_nurse_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginTop="10dp"
|
|
- android:text="@string/nurse_title"
|
|
|
|
|
|
+ android:text="责任护士"
|
|
android:textColor="@color/text_name_color"
|
|
android:textColor="@color/text_name_color"
|
|
- android:textSize="14sp"/>
|
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/bed_nurse_name"
|
|
android:id="@+id/bed_nurse_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="@string/str_empty"
|
|
|
|
|
|
+ android:text="暂无"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:textSize="14sp"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:textSize="28sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|