|
@@ -23,30 +23,31 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:gravity="center_horizontal"
|
|
|
+ android:gravity="center"
|
|
|
android:orientation="vertical"
|
|
|
android:background="@color/white">
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="10dp"
|
|
|
- android:src="@mipmap/ic_doctor_default"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_doctor_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:textColor="#B4B4B4"
|
|
|
- android:textSize="18sp"
|
|
|
- android:text="@string/doctor_title"/>
|
|
|
+ android:src="@mipmap/ic_doctor_default"
|
|
|
+ android:visibility="gone"/>
|
|
|
<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:textSize="40sp"
|
|
|
android:text="@string/str_empty"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_doctor_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:text="@string/doctor_title"/>
|
|
|
</LinearLayout>
|
|
|
|
|
|
<!--责任护士-->
|
|
@@ -56,30 +57,31 @@
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:layout_marginTop="10dp"
|
|
|
- android:gravity="center_horizontal"
|
|
|
+ android:gravity="center"
|
|
|
android:orientation="vertical"
|
|
|
android:background="@color/white">
|
|
|
<ImageView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="10dp"
|
|
|
- android:src="@mipmap/ic_nurse_default"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_nurse_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:textColor="#B4B4B4"
|
|
|
- android:textSize="18sp"
|
|
|
- android:text="@string/nurse_title"/>
|
|
|
+ android:src="@mipmap/ic_nurse_default"
|
|
|
+ android:visibility="gone"/>
|
|
|
<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:textSize="40sp"
|
|
|
android:text="@string/str_empty"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_nurse_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textColor="#B4B4B4"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:text="@string/nurse_title"/>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -122,10 +124,7 @@
|
|
|
android:id="@+id/ll_custom_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:paddingTop="4dp"
|
|
|
- android:paddingBottom="4dp"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:paddingRight="10dp"
|
|
|
+ android:padding="4dp"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical"
|
|
|
android:visibility="gone">
|
|
@@ -143,32 +142,35 @@
|
|
|
android:layout_width="186dp"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="#E7E7E7"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="horizontal">
|
|
|
<TextView
|
|
|
android:id="@+id/tv_nurse_name6"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
- android:paddingLeft="6dp"
|
|
|
- android:paddingTop="6dp"
|
|
|
- android:singleLine="true"
|
|
|
+ android:paddingLeft="4dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:maxLines="2"
|
|
|
android:ellipsize="end"
|
|
|
android:text="@string/default_nurse_config_name"
|
|
|
- android:textSize="20sp"
|
|
|
+ android:textSize="22sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
android:id="@+id/tv_nurse_value6"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="2"
|
|
|
android:paddingRight="6dp"
|
|
|
android:paddingBottom="6dp"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
android:singleLine="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="right|bottom"
|
|
|
+ android:gravity="center"
|
|
|
android:text="@string/str_empty"
|
|
|
- android:textSize="22sp"
|
|
|
+ android:textSize="34sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -178,32 +180,35 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:background="#E7E7E7"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="horizontal">
|
|
|
<TextView
|
|
|
android:id="@+id/tv_nurse_name7"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
- android:paddingLeft="6dp"
|
|
|
- android:paddingTop="6dp"
|
|
|
- android:singleLine="true"
|
|
|
+ android:paddingLeft="4dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:maxLines="2"
|
|
|
android:ellipsize="end"
|
|
|
android:text="@string/default_nurse_config_name"
|
|
|
- android:textSize="20sp"
|
|
|
+ android:textSize="22sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
android:id="@+id/tv_nurse_value7"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="2"
|
|
|
android:paddingRight="6dp"
|
|
|
android:paddingBottom="6dp"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
android:singleLine="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="right|bottom"
|
|
|
+ android:gravity="center"
|
|
|
android:text="@string/str_empty"
|
|
|
- android:textSize="22sp"
|
|
|
+ android:textSize="34sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -213,76 +218,93 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:background="#E7E7E7"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="horizontal">
|
|
|
<TextView
|
|
|
android:id="@+id/tv_nurse_name8"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
- android:paddingLeft="6dp"
|
|
|
- android:paddingTop="6dp"
|
|
|
- android:singleLine="true"
|
|
|
+ android:paddingLeft="4dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:maxLines="2"
|
|
|
android:ellipsize="end"
|
|
|
android:text="@string/default_nurse_config_name"
|
|
|
- android:textSize="20sp"
|
|
|
+ android:textSize="22sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
android:id="@+id/tv_nurse_value8"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="2"
|
|
|
android:paddingRight="6dp"
|
|
|
android:paddingBottom="6dp"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
android:singleLine="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="right|bottom"
|
|
|
+ android:gravity="center"
|
|
|
android:text="@string/str_empty"
|
|
|
- android:textSize="22sp"
|
|
|
+ android:textSize="34sp"
|
|
|
android:textColor="@color/white"/>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
android:id="@+id/tv_custom_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textSize="88sp"
|
|
|
+ android:layout_width="380dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@id/ll_nurse_more"
|
|
|
+ android:paddingLeft="4dp"
|
|
|
+ android:paddingRight="4dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textSize="120sp"
|
|
|
android:textColor="@color/main_color"
|
|
|
android:textStyle="bold"
|
|
|
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="--"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_custom_no"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_below="@id/tv_custom_name">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@id/ll_nurse_more"
|
|
|
+ android:layout_toRightOf="@id/tv_custom_name"
|
|
|
+ android:paddingTop="8dp"
|
|
|
+ android:paddingBottom="8dp"
|
|
|
+ android:paddingLeft="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_custom_age"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:text="--"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_custom_gender"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:textSize="28sp"
|
|
|
+ android:text="-"/>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_custom_indate"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="24sp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="20sp"
|
|
|
android:textColor="#131313"
|
|
|
android:text="@string/indate"/>
|
|
|
|
|
@@ -290,8 +312,8 @@
|
|
|
android:id="@+id/tv_custom_card_no"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="40dp"
|
|
|
- android:textSize="24sp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:textSize="20sp"
|
|
|
android:textColor="#131313"
|
|
|
android:text=""/>
|
|
|
</LinearLayout>
|
|
@@ -323,7 +345,8 @@
|
|
|
android:textSize="20sp"
|
|
|
android:textColor="#131313"
|
|
|
android:text="@string/str_empty"
|
|
|
- android:lineSpacingExtra="12dp"/>
|
|
|
+ android:lineSpacingExtra="12dp"
|
|
|
+ android:visibility="gone"/>
|
|
|
</RelativeLayout>
|
|
|
</FrameLayout>
|
|
|
|