|
@@ -1,5 +1,6 @@
|
|
|
<?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"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -23,6 +24,7 @@
|
|
|
android:src="@mipmap/icon_data_manage_menu_user_manage" />
|
|
android:src="@mipmap/icon_data_manage_menu_user_manage" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:id="@+id/job_name_tv"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
@@ -48,47 +50,27 @@
|
|
|
android:layout_height="1dp"
|
|
android:layout_height="1dp"
|
|
|
android:background="@color/black" />
|
|
android:background="@color/black" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/step_rv"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="10dp"
|
|
|
|
|
- android:paddingVertical="10dp">
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/delete_sop"
|
|
|
|
|
- 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/delete"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="20sp" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ android:layout_height="260dp"
|
|
|
|
|
+ android:layout_marginTop="30dp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
|
|
+ android:layout_height="50dp"
|
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginTop="10dp"
|
|
|
android:background="@drawable/common_card_bg"
|
|
android:background="@drawable/common_card_bg"
|
|
|
android:divider="@drawable/divider_table"
|
|
android:divider="@drawable/divider_table"
|
|
|
android:showDividers="middle">
|
|
android:showDividers="middle">
|
|
|
|
|
|
|
|
- <CheckBox
|
|
|
|
|
- android:id="@+id/select_all"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_margin="10dp" />
|
|
|
|
|
-
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
- android:text="@string/job_name"
|
|
|
|
|
|
|
+ android:text="@string/point_name_tv"
|
|
|
android:textSize="18sp" />
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
@@ -96,7 +78,7 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
- android:text="@string/status"
|
|
|
|
|
|
|
+ android:text="@string/point_manage_point_function"
|
|
|
android:textSize="18sp" />
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
@@ -104,22 +86,76 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
- android:text="@string/detail"
|
|
|
|
|
|
|
+ android:text="@string/lock_status"
|
|
|
android:textSize="18sp" />
|
|
android:textSize="18sp" />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
- <com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
|
|
|
- android:id="@+id/refresh_layout"
|
|
|
|
|
|
|
+ <com.grkj.iscs.view.MaxHeightRecyclerView
|
|
|
|
|
+ android:id="@+id/list_rv"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
|
- android:layout_marginBottom="10dp">
|
|
|
|
|
|
|
+ android:background="@drawable/common_card_bg"
|
|
|
|
|
+ app:maxHeight="240dp" />
|
|
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/list_rv"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:background="@drawable/common_card_bg" />
|
|
|
|
|
- </com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="1dp"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="right"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:padding="10dp">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/to_lock"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_btn_job_execute_go_locking"
|
|
|
|
|
+ android:drawableLeft="@drawable/icon_ticket_lock"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:text="@string/go_locking"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/to_unlock"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_btn_job_execute_go_unlocking"
|
|
|
|
|
+ android:drawableLeft="@drawable/icon_ticket_unlock"
|
|
|
|
|
+ android:drawablePadding="10dp"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:text="@string/go_unlocking"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/cancel_job"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/bg_btn_job_execute_normal"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:text="@string/cancel_the_job"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/finish_job"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
|
|
+ android:text="@string/finish_the_job"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="20sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</layout>
|
|
</layout>
|