|
@@ -1,59 +1,160 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".view.fragment.JobProgressFragment">
|
|
tools:context=".view.fragment.JobProgressFragment">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_title"
|
|
|
|
|
- style="@style/CommonTextView" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_worker"
|
|
|
|
|
- style="@style/CommonTextView"
|
|
|
|
|
- android:layout_alignParentRight="true" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_worker"
|
|
|
|
|
|
|
+ <com.grkj.iscs.view.widget.CommonBtn
|
|
|
|
|
+ android:id="@+id/cb_back"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_toLeftOf="@id/tv_worker" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_lock"
|
|
|
|
|
- style="@style/CommonTextView"
|
|
|
|
|
- android:layout_toLeftOf="@id/iv_worker" />
|
|
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_blue_bg"
|
|
|
|
|
+ app:btn_icon="@mipmap/go_back"
|
|
|
|
|
+ app:btn_name="@string/back" />
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
|
|
+ <com.grkj.iscs.view.widget.CommonBtn
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_toLeftOf="@id/tv_lock" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_back"
|
|
|
|
|
- style="@style/CommonBtn"
|
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentBottom="true"
|
|
|
- android:text="@string/back" />
|
|
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_toLeftOf="@id/cb_back"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_red_bg"
|
|
|
|
|
+ app:btn_icon="@mipmap/stop"
|
|
|
|
|
+ app:btn_name="@string/go_unlocking" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_above="@id/tv_back"
|
|
|
|
|
- android:layout_below="@id/tv_title"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rv_point"
|
|
|
|
|
- style="@style/CommonRecyclerView"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rv_worker"
|
|
|
|
|
- style="@style/CommonRecyclerView"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_above="@id/cb_back"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:padding="@dimen/common_spacing">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_title"
|
|
|
|
|
+ style="@style/CommonTextView" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/ll_detail"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_worker"
|
|
|
|
|
+ android:layout_width="@dimen/common_icon_size_small"
|
|
|
|
|
+ android:layout_height="@dimen/common_icon_size_small"
|
|
|
|
|
+ android:src="@mipmap/ticket_worker" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_worker"
|
|
|
|
|
+ style="@style/CommonTextView" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_lock"
|
|
|
|
|
+ android:layout_width="@dimen/common_icon_size_small"
|
|
|
|
|
+ android:layout_height="@dimen/common_icon_size_small"
|
|
|
|
|
+ android:src="@mipmap/ticket_lock" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_lock"
|
|
|
|
|
+ style="@style/CommonTextView" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_below="@id/tv_title"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:clipToOutline="true"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="#7b88af"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing_small"
|
|
|
|
|
+ android:text="@string/isolation_point" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/effect" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/switch_status" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/lock_status" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_point"
|
|
|
|
|
+ style="@style/CommonRecyclerView" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:clipToOutline="true"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="#7b88af"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing_small"
|
|
|
|
|
+ android:text="@string/colocker" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/ready_to_colock" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/colocked" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="@string/unlocked" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_colocker"
|
|
|
|
|
+ style="@style/CommonRecyclerView" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </RelativeLayout>
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|