|
@@ -0,0 +1,377 @@
|
|
|
|
|
+<?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:layout_margin="20dp"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/title_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="5dp">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
|
+ android:src="@mipmap/icon_data_manage_menu_user_manage" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/edit_sop_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/back"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/back"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/base_info_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/base_info_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="@string/sop_workstation"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/workstation_tv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:drawableRight="@drawable/icon_drop_down"
|
|
|
|
|
+ android:hint="@string/please_select_sop_workstation"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="@string/lock_mode"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/lock_mode_tv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:drawableRight="@drawable/icon_drop_down"
|
|
|
|
|
+ android:hint="@string/please_select_lock_mode"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="@string/create_sop_name"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/sop_name_et"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:hint="@string/please_input_sop_name"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/point_info_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/point_info_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/select_point_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/select"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/point_rv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="240dp"
|
|
|
|
|
+ android:paddingBottom="10dp" />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/member_info_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/member_info_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/select_member_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/select"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:paddingVertical="10dp"
|
|
|
|
|
+ android:text="@string/locker"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:paddingBottom="10dp"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_width="50dp"
|
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:src="@mipmap/icon_data_manage_menu_user_manage"
|
|
|
|
|
+ android:tint="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/locker_name"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/select_colocker_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:paddingVertical="10dp"
|
|
|
|
|
+ android:text="@string/colocker"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ android:background="@color/black" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/colocker_rv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="match_parent" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="right"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:padding="10dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/confirm"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/confirm"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/cancel"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
|
|
+ android:text="@string/cancel"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+</layout>
|