|
@@ -6,11 +6,11 @@
|
|
android:layout_height="match_parent">
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
<include android:id="@+id/lay_main_bed_name"
|
|
<include android:id="@+id/lay_main_bed_name"
|
|
- layout="@layout/view_bed_name"/>
|
|
|
|
|
|
+ layout="@layout/view_bed_name_home"/>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/ll_doctor_nurse_view"
|
|
android:id="@+id/ll_doctor_nurse_view"
|
|
- android:layout_width="140dp"
|
|
|
|
|
|
+ android:layout_width="120dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/lay_main_bed_name"
|
|
android:layout_below="@id/lay_main_bed_name"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentRight="true"
|
|
@@ -23,30 +23,31 @@
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
- android:gravity="center_horizontal"
|
|
|
|
|
|
+ android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
- android:background="@color/white">
|
|
|
|
|
|
+ android:background="#37A1D5">
|
|
<ImageView
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginTop="4dp"
|
|
- android:src="@mipmap/ic_doctor_default"/>
|
|
|
|
|
|
+ android:src="@mipmap/ic_doctor_default"
|
|
|
|
+ android:visibility="gone"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/tv_doctor_title"
|
|
|
|
|
|
+ android:id="@+id/tv_doctor_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginTop="4dp"
|
|
- android:textColor="#B4B4B4"
|
|
|
|
- android:textSize="18sp"
|
|
|
|
- android:text="@string/doctor_title"/>
|
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="32sp"
|
|
|
|
+ android:text="@string/str_empty"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/tv_doctor_name"
|
|
|
|
|
|
+ android:id="@+id/tv_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="4dp"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textSize="18sp"
|
|
|
|
- android:text="@string/str_empty"/>
|
|
|
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="24sp"
|
|
|
|
+ android:text="@string/doctor_title"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<!--责任护士-->
|
|
<!--责任护士-->
|
|
@@ -55,31 +56,32 @@
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
|
+ android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
- android:background="@color/white">
|
|
|
|
|
|
+ android:background="#37A1D5">
|
|
<ImageView
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginTop="4dp"
|
|
- android:src="@mipmap/ic_nurse_default"/>
|
|
|
|
|
|
+ android:src="@mipmap/ic_nurse_default"
|
|
|
|
+ android:visibility="gone"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/tv_nurse_title"
|
|
|
|
|
|
+ android:id="@+id/tv_nurse_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginTop="4dp"
|
|
- android:textColor="#B4B4B4"
|
|
|
|
- android:textSize="18sp"
|
|
|
|
- android:text="@string/nurse_title"/>
|
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="32sp"
|
|
|
|
+ android:text="@string/str_empty"/>
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/tv_nurse_name"
|
|
|
|
|
|
+ android:id="@+id/tv_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="4dp"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textSize="18sp"
|
|
|
|
- android:text="@string/str_empty"/>
|
|
|
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="24sp"
|
|
|
|
+ android:text="@string/nurse_title"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -89,7 +91,7 @@
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/lay_main_bed_name"
|
|
android:layout_below="@id/lay_main_bed_name"
|
|
android:layout_toLeftOf="@id/ll_doctor_nurse_view"
|
|
android:layout_toLeftOf="@id/ll_doctor_nurse_view"
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginBottom="4dp">
|
|
android:layout_marginBottom="4dp">
|
|
<!--无人入住时展示-->
|
|
<!--无人入住时展示-->
|
|
@@ -122,10 +124,8 @@
|
|
android:id="@+id/ll_custom_view"
|
|
android:id="@+id/ll_custom_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:paddingTop="4dp"
|
|
|
|
- android:paddingLeft="12dp"
|
|
|
|
- android:paddingRight="12dp"
|
|
|
|
- android:background="@color/white"
|
|
|
|
|
|
+ android:padding="2dp"
|
|
|
|
+ android:background="#D5EFFC"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
android:visibility="gone">
|
|
|
|
|
|
@@ -156,18 +156,21 @@
|
|
android:textSize="20sp"
|
|
android:textSize="20sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
android:id="@+id/tv_nurse_value6"
|
|
android:id="@+id/tv_nurse_value6"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:paddingRight="6dp"
|
|
android:paddingRight="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:paddingBottom="6dp"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
- android:ellipsize="end"
|
|
|
|
android:gravity="right|bottom"
|
|
android:gravity="right|bottom"
|
|
android:text="@string/str_empty"
|
|
android:text="@string/str_empty"
|
|
- android:textSize="22sp"
|
|
|
|
|
|
+ android:textSize="24sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -191,18 +194,21 @@
|
|
android:textSize="20sp"
|
|
android:textSize="20sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
android:id="@+id/tv_nurse_value7"
|
|
android:id="@+id/tv_nurse_value7"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:paddingRight="6dp"
|
|
android:paddingRight="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:paddingBottom="6dp"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
- android:ellipsize="end"
|
|
|
|
android:gravity="right|bottom"
|
|
android:gravity="right|bottom"
|
|
android:text="@string/str_empty"
|
|
android:text="@string/str_empty"
|
|
- android:textSize="22sp"
|
|
|
|
|
|
+ android:textSize="24sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -226,101 +232,85 @@
|
|
android:textSize="20sp"
|
|
android:textSize="20sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
android:id="@+id/tv_nurse_value8"
|
|
android:id="@+id/tv_nurse_value8"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:paddingRight="6dp"
|
|
android:paddingRight="6dp"
|
|
android:paddingBottom="6dp"
|
|
android:paddingBottom="6dp"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
- android:ellipsize="end"
|
|
|
|
android:gravity="right|bottom"
|
|
android:gravity="right|bottom"
|
|
android:text="@string/str_empty"
|
|
android:text="@string/str_empty"
|
|
- android:textSize="22sp"
|
|
|
|
|
|
+ android:textSize="24sp"
|
|
android:textColor="@color/white"/>
|
|
android:textColor="@color/white"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
android:id="@+id/tv_custom_name"
|
|
android:id="@+id/tv_custom_name"
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:textSize="56sp"
|
|
|
|
|
|
+ android:layout_toLeftOf="@id/ll_custom_age_gender"
|
|
|
|
+ android:textSize="120sp"
|
|
android:textStyle="bold"
|
|
android:textStyle="bold"
|
|
- android:textColor="@color/main_color"
|
|
|
|
- android:text="---"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_custom_gender"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/tv_custom_name"
|
|
|
|
- android:layout_alignBottom="@id/tv_custom_name"
|
|
|
|
- android:background="@mipmap/ic_gender_male"
|
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
|
- android:layout_marginBottom="10dp"/>
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_custom_age"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_toRightOf="@id/tv_custom_gender"
|
|
|
|
- android:layout_alignBottom="@id/tv_custom_name"
|
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
|
- android:textSize="28sp"
|
|
|
|
- android:textColor="#B4B4B4"
|
|
|
|
- android:text="--"/>
|
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:text="---"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
|
+ android:singleLine="true"/>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_custom_age_gender"
|
|
|
|
+ android:layout_width="100dp"
|
|
|
|
+ android:layout_height="140dp"
|
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:gravity="bottom|center_horizontal"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_custom_gender"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textSize="48sp"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textStyle="bold"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_custom_age"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textSize="44sp"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:text="-"
|
|
|
|
+ android:textStyle="bold"/>
|
|
|
|
+ </LinearLayout>
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_custom_indate"
|
|
android:id="@+id/tv_custom_indate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_below="@id/tv_custom_name"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:textSize="22sp"
|
|
|
|
- android:textColor="#131313"
|
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:textSize="24sp"
|
|
|
|
+ android:textColor="@color/black"
|
|
android:text="@string/indate"/>
|
|
android:text="@string/indate"/>
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tv_custom_card_no"
|
|
android:id="@+id/tv_custom_card_no"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_below="@id/tv_custom_indate"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:textSize="22sp"
|
|
|
|
- android:textColor="#131313"
|
|
|
|
- android:text=""/>
|
|
|
|
- <!--<TextView
|
|
|
|
- android:id="@+id/tv_order_title"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_below="@id/tv_custom_indate"
|
|
|
|
- android:layout_marginTop="20dp"
|
|
|
|
- android:padding="10dp"
|
|
|
|
- android:background="#F3F9FE"
|
|
|
|
- android:drawableLeft="@mipmap/ic_order"
|
|
|
|
- android:drawablePadding="10dp"
|
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
android:textSize="24sp"
|
|
android:textSize="24sp"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:text=""/>-->
|
|
|
|
- <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
|
- android:id="@+id/tv_order_content"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_below="@id/tv_custom_card_no"
|
|
|
|
- android:layout_above="@id/ll_nurse_more"
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
- android:padding="10dp"
|
|
|
|
- android:ellipsize="marquee"
|
|
|
|
- android:focusable="true"
|
|
|
|
- android:focusableInTouchMode="true"
|
|
|
|
- android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
- android:scrollHorizontally="true"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:background="#F3F9FE"
|
|
|
|
- android:scrollbars="vertical"
|
|
|
|
- android:fadeScrollbars="true"
|
|
|
|
- android:textSize="24sp"
|
|
|
|
- android:textColor="#131313"
|
|
|
|
- android:text="@string/str_empty"
|
|
|
|
- android:lineSpacingExtra="12dp"/>
|
|
|
|
|
|
+ android:text=""/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
|
|