|
@@ -1,240 +1,236 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
+
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:orientation="vertical"
|
|
|
|
- android:background="#EAF2F9">
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d80"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
|
- >
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="40dp"
|
|
|
|
- android:layout_height="40dp"
|
|
|
|
- android:src="@mipmap/yanz"
|
|
|
|
- android:layout_marginLeft="25dp"
|
|
|
|
- />
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:text="@string/str_select_type_for_nurse"
|
|
|
|
- android:layout_marginLeft="@dimen/d20"
|
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ android:background="#EAF2F9"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d410"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
|
- android:layout_marginBottom="@dimen/d20"
|
|
|
|
- >
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/rv_nurse_main_ll"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_marginTop="@dimen/d28"
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
|
+ android:layout_height="@dimen/d80"
|
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
android:background="@drawable/shape_bed_bg"
|
|
android:background="@drawable/shape_bed_bg"
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
- android:id="@+id/rv_nurse_main_view"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d250"
|
|
|
|
- android:layout_marginLeft="@dimen/d6"
|
|
|
|
- android:layout_marginRight="@dimen/d6"
|
|
|
|
- android:layout_marginTop="@dimen/d15"
|
|
|
|
- android:layout_marginBottom="@dimen/d15"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_bt_1"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d50"
|
|
|
|
- android:layout_marginLeft="@dimen/d40"
|
|
|
|
- android:layout_marginRight="@dimen/d50"
|
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
|
- android:background="@drawable/selector_nuserlogin_btn"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:clickable="true"
|
|
|
|
- android:text="@string/str_enter_medical_care"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="@dimen/font_size_15" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/ll_yh_login_view"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_marginRight="@dimen/d10"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ android:gravity="center_vertical">
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
- android:layout_width="@dimen/d75"
|
|
|
|
- android:layout_height="@dimen/d75"
|
|
|
|
- android:layout_marginTop="@dimen/d22"
|
|
|
|
- android:src="@mipmap/yan" />
|
|
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
+ android:layout_marginLeft="25dp"
|
|
|
|
+ android:src="@mipmap/yanz" />
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginTop="@dimen/d22"
|
|
|
|
- android:text="@string/input_password"
|
|
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:text="@string/str_select_type_for_nurse"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:textSize="@dimen/font_size_15"
|
|
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
-<!-- <TextView-->
|
|
|
|
-<!-- android:layout_width="wrap_content"-->
|
|
|
|
-<!-- android:layout_height="wrap_content"-->
|
|
|
|
-<!-- android:layout_marginTop="@dimen/d8"-->
|
|
|
|
-<!-- android:text="密码由数字组成"-->
|
|
|
|
-<!-- android:textColor="@color/black"-->
|
|
|
|
-<!-- android:textSize="@dimen/font_size_10" />-->
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d410"
|
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
|
+ android:layout_marginBottom="@dimen/d20"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
|
+ android:id="@+id/rv_nurse_main_ll"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="@dimen/d50"
|
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:visibility="gone"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginTop="@dimen/d28"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:visibility="gone">
|
|
|
|
+
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
+ android:id="@+id/rv_nurse_main_view"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d250"
|
|
|
|
+ android:layout_marginLeft="@dimen/d6"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_marginRight="@dimen/d6"
|
|
|
|
+ android:layout_marginBottom="@dimen/d15" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_bt_1"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d50"
|
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginRight="@dimen/d50"
|
|
|
|
+ android:background="@drawable/selector_nuserlogin_btn"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="@string/str_enter_medical_care"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_15" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_yh_login_view"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginRight="@dimen/d10"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d75"
|
|
|
|
+ android:layout_height="@dimen/d75"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ android:src="@mipmap/yan" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginLeft="@dimen/d40"
|
|
|
|
- android:text="@string/str_card_no"
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ android:text="@string/input_password"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
android:textSize="@dimen/font_size_15"
|
|
android:textSize="@dimen/font_size_15"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/nurse_login_password"
|
|
|
|
|
|
+ <!-- <TextView-->
|
|
|
|
+ <!-- android:layout_width="wrap_content"-->
|
|
|
|
+ <!-- android:layout_height="wrap_content"-->
|
|
|
|
+ <!-- android:layout_marginTop="@dimen/d8"-->
|
|
|
|
+ <!-- android:text="密码由数字组成"-->
|
|
|
|
+ <!-- android:textColor="@color/black"-->
|
|
|
|
+ <!-- android:textSize="@dimen/font_size_10" />-->
|
|
|
|
+ <LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
|
- android:layout_marginRight="@dimen/d60"
|
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
|
- android:hint="请输入工号"
|
|
|
|
- android:paddingLeft="@dimen/d26"
|
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
-
|
|
|
|
- />
|
|
|
|
|
|
+ android:layout_height="@dimen/d50"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:visibility="gone">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
|
+ android:text="@string/str_card_no"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_15"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/nurse_login_password"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
|
+ android:layout_marginRight="@dimen/d60"
|
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
|
+ android:hint="请输入工号"
|
|
|
|
+ android:paddingLeft="@dimen/d26"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d50"
|
|
|
|
+ android:layout_marginTop="@dimen/d28"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
|
+ android:text="@string/str_password"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_15"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/nurse_login_nuber"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
|
+ android:layout_marginRight="@dimen/d60"
|
|
|
|
+ android:background="@drawable/selector_nuser_ed_d"
|
|
|
|
+ android:hint="@string/input_password"
|
|
|
|
+ android:paddingLeft="@dimen/d26"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_bt"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d50"
|
|
|
|
+ android:layout_marginLeft="@dimen/d40"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginRight="@dimen/d50"
|
|
|
|
+ android:background="@drawable/selector_nuserlogin_btn"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="@string/str_enter_medical_care"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_15" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d50"
|
|
|
|
- android:layout_marginTop="@dimen/d28"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ android:id="@+id/ll_enter_yh_2"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginLeft="@dimen/d40"
|
|
|
|
- android:text="@string/str_password"
|
|
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d47"
|
|
|
|
+ android:text="@string/str_swipe_nfc_card"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:textSize="@dimen/font_size_15"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
-
|
|
|
|
- />
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/nurse_login_nuber"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
|
- android:layout_marginRight="@dimen/d60"
|
|
|
|
- android:background="@drawable/selector_nuser_ed_d"
|
|
|
|
- android:hint="@string/input_password"
|
|
|
|
- android:paddingLeft="@dimen/d26"
|
|
|
|
android:textSize="@dimen/font_size_18"
|
|
android:textSize="@dimen/font_size_18"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ <!-- <TextView-->
|
|
|
|
+ <!-- android:layout_width="wrap_content"-->
|
|
|
|
+ <!-- android:layout_height="wrap_content"-->
|
|
|
|
+ <!-- android:text="使用有效NFC刷卡成功后直接进入医护"-->
|
|
|
|
+ <!-- android:textSize="@dimen/font_size_10"-->
|
|
|
|
+ <!-- android:textColor="@color/black"-->
|
|
|
|
+ <!-- android:layout_marginTop="@dimen/d13"-->
|
|
|
|
+ <!-- />-->
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d244"
|
|
|
|
+ android:layout_height="@dimen/d280"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:src="@mipmap/nfc" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/nurse_bt"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="@dimen/d50"
|
|
|
|
- android:layout_marginLeft="@dimen/d40"
|
|
|
|
- android:layout_marginRight="@dimen/d50"
|
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
|
- android:background="@drawable/selector_nuserlogin_btn"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:clickable="true"
|
|
|
|
- android:text="@string/str_enter_medical_care"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="@dimen/font_size_15" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:gravity="center_horizontal"
|
|
|
|
- android:orientation="vertical"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:layout_marginLeft="@dimen/d10"
|
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
|
- >
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:text="@string/str_swipe_nfc_card"
|
|
|
|
- android:layout_marginLeft="@dimen/d20"
|
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- android:layout_marginTop="@dimen/d47"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
-<!-- <TextView-->
|
|
|
|
-<!-- android:layout_width="wrap_content"-->
|
|
|
|
-<!-- android:layout_height="wrap_content"-->
|
|
|
|
-<!-- android:text="使用有效NFC刷卡成功后直接进入医护"-->
|
|
|
|
-<!-- android:textSize="@dimen/font_size_10"-->
|
|
|
|
-<!-- android:textColor="@color/black"-->
|
|
|
|
-<!-- android:layout_marginTop="@dimen/d13"-->
|
|
|
|
-<!-- />-->
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="@dimen/d244"
|
|
|
|
- android:layout_height="@dimen/d280"
|
|
|
|
- android:src="@mipmap/nfc"
|
|
|
|
- android:layout_marginTop="@dimen/d20"
|
|
|
|
- />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|