|
@@ -0,0 +1,387 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingRight="@dimen/d56">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/main_view_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@mipmap/bingren_bg">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_bed"
|
|
|
+ android:layout_width="@dimen/d260"
|
|
|
+ android:layout_height="@dimen/d250"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:layout_marginTop="@dimen/d24"
|
|
|
+ android:background="@mipmap/chuanghao_bg2"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="14dp"
|
|
|
+ android:paddingRight="14dp">
|
|
|
+
|
|
|
+ <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:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/txt_number2"
|
|
|
+ android:textSize="100sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bed_card_no"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/txt_number2"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
+ android:id="@+id/tv_bed_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
+ android:layout_marginTop="@dimen/d24"
|
|
|
+ android:layout_toLeftOf="@id/ll_qr_code"
|
|
|
+ android:layout_toRightOf="@+id/ll_bed"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="--"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="100sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bed_code"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_bed_name"
|
|
|
+ android:layout_alignLeft="@+id/tv_bed_name"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:drawableLeft="@mipmap/zhuyuan"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/card_no"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bed_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_bed_code"
|
|
|
+ android:layout_alignLeft="@+id/tv_bed_name"
|
|
|
+ android:layout_marginTop="@dimen/d18"
|
|
|
+ android:drawableLeft="@mipmap/ruyuan"
|
|
|
+ android:drawablePadding="@dimen/d10"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/indate"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bed_age"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_bed_name"
|
|
|
+ android:layout_alignTop="@+id/tv_bed_code"
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
+ android:layout_toRightOf="@+id/tv_bed_code"
|
|
|
+ android:padding="@dimen/d3"
|
|
|
+ android:text="@string/str_age"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_bed_sex"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_bed_age"
|
|
|
+ android:layout_alignTop="@+id/tv_bed_time"
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
+ android:layout_toRightOf="@+id/tv_bed_time"
|
|
|
+ android:padding="@dimen/d3"
|
|
|
+ android:text="@string/str_gender_none"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_qr_code"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="@dimen/d24"
|
|
|
+ android:layout_marginRight="@dimen/d6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_qr_code"
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="140dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_service"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rv_main_view_s"
|
|
|
+ android:layout_width="567dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d48">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt1"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/dengji"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt2"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
+ android:layout_toRightOf="@+id/bed_f_txt1"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/celiang"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt3"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
+ android:layout_toRightOf="@+id/bed_f_txt2"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/geli"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt4"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:layout_below="@+id/bed_f_txt1"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/yinshi"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt5"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:layout_below="@+id/bed_f_txt1"
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_toRightOf="@+id/bed_f_txt4"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/guom"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_f_txt6"
|
|
|
+ android:layout_width="@dimen/d177"
|
|
|
+ android:layout_height="@dimen/d89"
|
|
|
+ android:layout_below="@+id/bed_f_txt1"
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_toRightOf="@+id/bed_f_txt5"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/wu"
|
|
|
+ android:drawablePadding="@dimen/d14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d19"
|
|
|
+ android:paddingRight="@dimen/d29"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="@dimen/d240"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
+ android:layout_marginTop="@dimen/d18"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginRight="@dimen/d5"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/bed_medic_img"
|
|
|
+ android:layout_width="@dimen/d43"
|
|
|
+ android:layout_height="@dimen/d43"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
+ android:background="@mipmap/ys_img" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
+ android:layout_toRightOf="@+id/bed_medic_img"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_medic_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_medic_info"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/bed_medic_name"
|
|
|
+ android:layout_marginTop="@dimen/d8"
|
|
|
+ android:layout_toRightOf="@+id/bed_medic_img"
|
|
|
+ android:background="@drawable/shape_bed_medic_txt_bg"
|
|
|
+ android:paddingLeft="@dimen/d13"
|
|
|
+ android:paddingTop="@dimen/d3"
|
|
|
+ android:paddingRight="@dimen/d13"
|
|
|
+ android:paddingBottom="@dimen/d3"
|
|
|
+ android:text="@string/doctor_title"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_16" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/f_tx_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/view_bg" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_marginRight="@dimen/d5"
|
|
|
+
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/bed_medic_img2"
|
|
|
+ android:layout_width="@dimen/d43"
|
|
|
+ android:layout_height="@dimen/d43"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
+ android:background="@mipmap/hs_img" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
+ android:layout_toRightOf="@+id/bed_medic_img2"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_medic_name2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/str_empty"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/bed_medic_info2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/bed_medic_name2"
|
|
|
+ android:layout_marginTop="@dimen/d8"
|
|
|
+ android:layout_toRightOf="@+id/bed_medic_img2"
|
|
|
+ android:background="@drawable/shape_bed_nurse_txt_bg"
|
|
|
+ android:paddingLeft="@dimen/d13"
|
|
|
+ android:paddingTop="@dimen/d3"
|
|
|
+ android:paddingRight="@dimen/d13"
|
|
|
+ android:paddingBottom="@dimen/d3"
|
|
|
+ android:text="@string/nurse_title"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/font_size_16" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|
|
|
+
|
|
|
+
|