|
@@ -1,59 +1,62 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:id="@+id/ll_item_bed"
|
|
|
- android:layout_width="264dp"
|
|
|
+ android:layout_width="392dp"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_margin="4dp"
|
|
|
android:background="@drawable/shape_bed_item_bg"
|
|
|
android:orientation="vertical"
|
|
|
- android:gravity="center">
|
|
|
+ android:gravity="center_horizontal">
|
|
|
|
|
|
<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/bed_text_color"
|
|
|
- android:textSize="60sp"
|
|
|
+ android:textSize="56sp"
|
|
|
android:textStyle="bold"
|
|
|
android:singleLine="true"
|
|
|
android:ellipsize="marquee"
|
|
|
android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"/>
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="marquee_forever"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/bed_customer_name"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="36sp" />
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_customer_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="32sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/bed_customer_age"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="--"
|
|
|
- android:textSize="24sp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_customer_age"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:text="--"
|
|
|
+ android:textSize="24sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_bed_card_no"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="24sp"
|
|
|
+ android:textSize="20sp"
|
|
|
android:text="--"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginTop="12dp">
|
|
|
+ android:layout_marginTop="8dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="0dp"
|
|
@@ -63,19 +66,19 @@
|
|
|
android:orientation="vertical">
|
|
|
<ImageView
|
|
|
android:id="@+id/bed_doctor_icon"
|
|
|
- android:layout_width="48dp"
|
|
|
- android:layout_height="48dp"
|
|
|
- android:src="@mipmap/ic_doctor_default"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:layout_width="160dp"
|
|
|
+ android:layout_height="160dp"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@mipmap/doctor_default" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bed_doctor_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
android:text="责任医生"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bed_doctor_name"
|
|
@@ -83,7 +86,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="暂无"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="28sp" />
|
|
|
+ android:textSize="22sp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
@@ -94,19 +97,19 @@
|
|
|
android:orientation="vertical">
|
|
|
<ImageView
|
|
|
android:id="@+id/bed_nurse_icon"
|
|
|
- android:layout_width="48dp"
|
|
|
- android:layout_height="48dp"
|
|
|
- android:src="@mipmap/ic_nurse_default"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:layout_width="160dp"
|
|
|
+ android:layout_height="160dp"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@mipmap/nurse_default" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bed_nurse_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
android:text="责任护士"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="24sp" />
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/bed_nurse_name"
|
|
@@ -114,7 +117,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="暂无"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="28sp" />
|
|
|
+ android:textSize="22sp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|