|
@@ -1,442 +1,198 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/activity_calling_bed_layout_ll_left"
|
|
|
- android:layout_width="150dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="#FCADB1"
|
|
|
- android:paddingTop="16dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="75dp"
|
|
|
- android:background="#EA4F77"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_one_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_one_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="#B34A44"
|
|
|
- android:layout_weight="1"/>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="75dp"
|
|
|
- android:background="#EA4F77"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_two_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_two_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="#B34A44"
|
|
|
- android:layout_weight="1"/>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="75dp"
|
|
|
- android:background="#EA4F77"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_three_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_three_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="#B34A44"
|
|
|
- android:layout_weight="1"/>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="75dp"
|
|
|
- android:background="#EA4F77"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_four_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_four_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="#B34A44"
|
|
|
- android:layout_weight="1"/>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="75dp"
|
|
|
- android:background="#EA4F77"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_five_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_main_layout_left_five_content"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/margin_to_side_10"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_30" />
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
<RelativeLayout
|
|
|
- android:id="@+id/activity_calling_bed_layout_rl_middle"
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_toRightOf="@+id/activity_calling_bed_layout_ll_left"
|
|
|
- android:background="@mipmap/bg_main">
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <include android:id="@+id/lay_main_bed_name"
|
|
|
+ layout="@layout/view_bed_name"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/view_main_layout_ll_content"
|
|
|
- android:layout_width="500dp"
|
|
|
+ android:id="@+id/ll_doctor_nurse_view"
|
|
|
+ android:layout_width="140dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_above="@+id/view_main_layout_bottom"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingLeft="@dimen/margin_to_side_15"
|
|
|
- android:paddingTop="@dimen/margin_to_side_15"
|
|
|
- android:paddingRight="@dimen/margin_to_side_15">
|
|
|
-
|
|
|
+ android:layout_below="@id/lay_main_bed_name"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:layout_marginBottom="6dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <!--责任医生-->
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_doctor_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1.15"
|
|
|
- android:background="@drawable/shape_bed_num_bg"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
android:orientation="vertical"
|
|
|
- android:padding="@dimen/margin_to_side_5">
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
- android:id="@+id/view_main_layout_tv_bed_num"
|
|
|
+ android:background="@color/white">
|
|
|
+ <ImageView
|
|
|
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="000"
|
|
|
- android:textColor="#EA4F77"
|
|
|
- android:textSize="110sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:src="@mipmap/ic_doctor_default"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:text="责任医生"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_doctor_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:text="暂无"/>
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <!--责任护士-->
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_nurse_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1.85"
|
|
|
- android:background="@drawable/shape_bed_name_bg"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- 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_centerHorizontal="true"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="@dimen/margin_to_side_5"
|
|
|
- android:background="#FBD7D9"
|
|
|
- android:padding="@dimen/margin_to_side_5"
|
|
|
- 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.ncs.android.lib.widget.MarqueeTextView
|
|
|
- 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>
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@color/white">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:src="@mipmap/ic_nurse_default"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:text="责任护士"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_nurse_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:text="暂无"/>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/view_main_layout_ll_content_ll_right"
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_above="@+id/view_main_layout_bottom"
|
|
|
- android:layout_toRightOf="@+id/view_main_layout_ll_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingTop="@dimen/margin_to_side_15"
|
|
|
- android:paddingRight="@dimen/margin_to_side_15">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/shape_mai_bg_doctor_title"
|
|
|
- android:gravity="center"
|
|
|
- android:text="母婴师"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_20" />
|
|
|
-
|
|
|
+ android:layout_below="@id/lay_main_bed_name"
|
|
|
+ android:layout_toLeftOf="@id/ll_doctor_nurse_view"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginBottom="6dp">
|
|
|
+ <!--无人入住时展示-->
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_empty"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="6"
|
|
|
- android:background="#F28B8C"
|
|
|
- android:gravity="center"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:background="@mipmap/bg_empty_info"
|
|
|
android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/view_main_layout_iv_doctor"
|
|
|
- android:layout_width="85dp"
|
|
|
- android:layout_height="85dp"
|
|
|
- android:scaleType="fitXY"
|
|
|
- android:src="@mipmap/ic_response_baby_care" />
|
|
|
-
|
|
|
<TextView
|
|
|
- android:id="@+id/view_main_layout_tv_doctor_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_to_side_5"
|
|
|
- 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="#D4676A"
|
|
|
- android:gravity="center"
|
|
|
- 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="#F28B8C"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/view_main_layout_iv_nurse"
|
|
|
- android:layout_width="85dp"
|
|
|
- android:layout_height="85dp"
|
|
|
- android:scaleType="fitXY"
|
|
|
- android:src="@mipmap/ic_response_nurse" />
|
|
|
-
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:text="空"
|
|
|
+ android:textSize="48sp"
|
|
|
+ android:textColor="@color/main_color"
|
|
|
+ android:visibility="invisible"/>
|
|
|
<TextView
|
|
|
- android:id="@+id/view_main_layout_tv_nurse_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_to_side_5"
|
|
|
- android:text="--"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_20" />
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:text="祝您安康!"
|
|
|
+ android:textSize="56sp"
|
|
|
+ android:textColor="@color/black"/>
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <!--有人入住时展示-->
|
|
|
<RelativeLayout
|
|
|
+ android:id="@+id/ll_custom_view"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="2"
|
|
|
- android:background="@drawable/shape_main_bg_doctor_bottom">
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
- android:id="@+id/view_main_layout_tv_broadcasting"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="16dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_custom_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginBottom="1dp"
|
|
|
- android:background="@drawable/shape_main_bg_bottom_broadcasting"
|
|
|
+ android:textSize="60sp"
|
|
|
+ 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="20dp"
|
|
|
+ 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="20dp"
|
|
|
+ android:textSize="40sp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ android:text="--岁"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_custom_indate"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_custom_name"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ 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:textSize="24sp"
|
|
|
+ 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="wrap_content"
|
|
|
+ android:layout_below="@id/tv_order_title"
|
|
|
+ android:padding="10dp"
|
|
|
android:ellipsize="marquee"
|
|
|
android:focusable="true"
|
|
|
android:focusableInTouchMode="true"
|
|
|
- android:gravity="center"
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:paddingRight="10dp"
|
|
|
+ android:scrollHorizontally="true"
|
|
|
android:singleLine="true"
|
|
|
- android:text=""
|
|
|
- android:textColor="#FCFF16"
|
|
|
- android:textSize="16sp"
|
|
|
- android:visibility="invisible" />
|
|
|
-
|
|
|
+ android:background="#F3F9FE"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ android:fadeScrollbars="true"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:textColor="#131313"
|
|
|
+ android:text="暂无"
|
|
|
+ android:lineSpacingExtra="12dp"/>
|
|
|
</RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- <include
|
|
|
- android:id="@+id/view_main_layout_bottom"
|
|
|
- layout="@layout/view_message_layout"/>
|
|
|
</RelativeLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/activity_calling_bed_layout_tv_version"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginBottom="16dp"
|
|
|
- android:text="V0.0"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
-</RelativeLayout>
|
|
|
</layout>
|