|
@@ -8,13 +8,14 @@
|
|
|
android:id="@+id/activity_calling_bed_layout_ll_left"
|
|
|
android:layout_width="150dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="#1C5C9E"
|
|
|
+ android:background="#FCADB1"
|
|
|
+ android:paddingTop="16dp"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="75dp"
|
|
|
- android:background="#2B76B7"
|
|
|
+ android:background="#EA4F77"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -41,12 +42,13 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"></View>
|
|
|
+ android:background="#B34A44"
|
|
|
+ android:layout_weight="1"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="75dp"
|
|
|
- android:background="#2B76B7"
|
|
|
+ android:background="#EA4F77"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -72,12 +74,13 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"></View>
|
|
|
+ android:background="#B34A44"
|
|
|
+ android:layout_weight="1"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="75dp"
|
|
|
- android:background="#2B76B7"
|
|
|
+ android:background="#EA4F77"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -103,12 +106,13 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"></View>
|
|
|
+ android:background="#B34A44"
|
|
|
+ android:layout_weight="1"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="75dp"
|
|
|
- android:background="#2B76B7"
|
|
|
+ android:background="#EA4F77"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -134,12 +138,13 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"></View>
|
|
|
+ android:background="#B34A44"
|
|
|
+ android:layout_weight="1"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="75dp"
|
|
|
- android:background="#2B76B7"
|
|
|
+ android:background="#EA4F77"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
@@ -182,228 +187,124 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1.15"
|
|
|
+ android:background="@drawable/shape_bed_num_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/margin_to_side_5">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/shape_main_bg_top_left"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/margin_to_side_5"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_tv_bed"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="床位"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_60"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/view_main_layout_tv_bed"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_55"
|
|
|
- android:textStyle="bold" />
|
|
|
- </RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="#FFFFFF">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="2"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/margin_to_side_5">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="--"
|
|
|
- android:textColor="#1C5C9E"
|
|
|
- android:textSize="@dimen/font_size_50"
|
|
|
- android:textStyle="bold"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="--"
|
|
|
- android:textColor="#1C5C9E"
|
|
|
- android:textSize="@dimen/font_size_45"
|
|
|
- android:textStyle="bold"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <com.wdkl.callingbed.util.MarqueeText
|
|
|
- android:id="@+id/view_main_layout_tv_bed_num"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginTop="-40dp"
|
|
|
- android:ellipsize="marquee"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:gravity="center"
|
|
|
- android:marqueeRepeatLimit="-1"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="李四四"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="180sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ <com.wdkl.callingbed.util.MarqueeText
|
|
|
+ android:id="@+id/view_main_layout_tv_bed_num"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="-12dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="001床"
|
|
|
+ android:textColor="#EA4F77"
|
|
|
+ android:textSize="110sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/shape_main_bg_bottom_left"
|
|
|
- android:gravity="center"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/view_main_layout_img_two_dimensional_code"
|
|
|
- android:layout_width="154dp"
|
|
|
- android:layout_height="154dp"
|
|
|
- android:padding="8dp"
|
|
|
- android:scaleType="fitXY"
|
|
|
- android:src="@mipmap/ic_qr_code_default" />
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1.85"
|
|
|
+ android:background="@drawable/shape_bed_name_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="#D5EFFC"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="6"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_mai_layout_tv_illness_text"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:layout_marginTop="@dimen/margin_to_side_10"
|
|
|
- android:text="病情诊断:"
|
|
|
- android:textColor="#666666"
|
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
- android:textStyle="bold"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_tv_illness"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_above="@+id/view_main_layout_tv_detail"
|
|
|
- android:layout_below="@+id/view_mai_layout_tv_illness_text"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:text="--岁"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="50sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <com.wdkl.callingbed.util.MarqueeText
|
|
|
- android:id="@+id/view_main_layout_tv_name"
|
|
|
- android:layout_width="300dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentStart="true"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:ellipsize="marquee"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:marqueeRepeatLimit="-1"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="张三三"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="95sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_tv_detail"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="40dp"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:text="[ 男 ]"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="50sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/view_main_layout_tv_admission"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
android:layout_marginBottom="@dimen/margin_to_side_5"
|
|
|
- android:background="@drawable/shape_main_bg_admission"
|
|
|
+ android:background="#FBD7D9"
|
|
|
android:padding="@dimen/margin_to_side_5"
|
|
|
- android:paddingLeft="@dimen/margin_to_side_10"
|
|
|
- android:paddingRight="@dimen/margin_to_side_10"
|
|
|
- android:text=" 入院时间 "
|
|
|
- android:textColor="#3A92D1"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
- android:visibility="gone" />
|
|
|
- </LinearLayout>
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingRight="20dp"
|
|
|
+ android:text=" 入住时间 "
|
|
|
+ android:textColor="#FF5963"
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_center_line"
|
|
|
+ android:layout_width="2dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_above="@id/view_main_layout_tv_admission"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:background="#E85E5B"/>
|
|
|
+
|
|
|
+ <com.wdkl.callingbed.util.MarqueeText
|
|
|
+ android:id="@+id/view_main_layout_tv_name"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@id/view_main_layout_tv_admission"
|
|
|
+ android:layout_toLeftOf="@id/view_center_line"
|
|
|
+ android:padding="6dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="张三三"
|
|
|
+ android:textColor="#E85E5B"
|
|
|
+ android:textSize="68sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="140dp"
|
|
|
+ android:layout_toRightOf="@id/view_center_line"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:src="@mipmap/ic_baby"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_main_layout_tv_illness"
|
|
|
+ android:layout_width="60dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_above="@+id/view_main_layout_tv_admission"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:background="@drawable/shape_circle_bg_age"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_main_layout_tv_detail"
|
|
|
+ android:layout_width="60dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_above="@id/view_main_layout_tv_illness"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:background="@drawable/shape_circle_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="男"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -424,15 +325,15 @@
|
|
|
android:layout_weight="1"
|
|
|
android:background="@drawable/shape_mai_bg_doctor_title"
|
|
|
android:gravity="center"
|
|
|
- android:text="值班医生"
|
|
|
- android:textColor="#A3DDF9"
|
|
|
+ android:text="责任母婴师"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="6"
|
|
|
- android:background="#37A1D5"
|
|
|
+ android:background="#F28B8C"
|
|
|
android:gravity="center"
|
|
|
android:orientation="vertical">
|
|
|
|
|
@@ -441,7 +342,7 @@
|
|
|
android:layout_width="85dp"
|
|
|
android:layout_height="85dp"
|
|
|
android:scaleType="fitXY"
|
|
|
- android:src="@mipmap/ic_response_doctor" />
|
|
|
+ android:src="@mipmap/ic_response_baby_care" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/view_main_layout_tv_doctor_name"
|
|
@@ -451,25 +352,23 @@
|
|
|
android:text="--"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="@dimen/font_size_20" />
|
|
|
-
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
- android:background="#2B87B9"
|
|
|
+ android:background="#D4676A"
|
|
|
android:gravity="center"
|
|
|
- android:text="值班护士"
|
|
|
- android:textColor="#A3DDF9"
|
|
|
+ android:text="责任护士"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="6"
|
|
|
- android:background="#37A1D5"
|
|
|
+ android:background="#F28B8C"
|
|
|
android:gravity="center"
|
|
|
android:orientation="vertical">
|
|
|
|
|
@@ -524,7 +423,7 @@
|
|
|
|
|
|
<include
|
|
|
android:id="@+id/view_main_layout_bottom"
|
|
|
- layout="@layout/view_message_layout"></include>
|
|
|
+ layout="@layout/view_message_layout"/>
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<TextView
|
|
@@ -534,8 +433,8 @@
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:layout_marginRight="10dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
android:text=""
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_16" />
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
</RelativeLayout>
|