|
|
@@ -1,9 +1,447 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="20dp"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <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/create_job_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/job_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_job_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_job_name"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/job_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_job_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" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/point_rv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="240dp"
|
|
|
+ android:paddingBottom="10dp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/no_selected_point_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/card_white_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:src="@drawable/icon_add_box" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ android:text="@string/please_must_select_at_least_one_point"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </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" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <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: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:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ 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
|
|
|
+ android:id="@+id/no_selected_member_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/card_white_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:src="@drawable/icon_add_box" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingVertical="10dp"
|
|
|
+ android:text="@string/please_select_member"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="24sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="10dp">
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/save_sop"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:text="@string/save_sop_check"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/confirm"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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_marginHorizontal="10dp"
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:text="@string/cancel"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
</layout>
|