|
@@ -6,75 +6,124 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".view.fragment.StepFragment">
|
|
tools:context=".view.fragment.StepFragment">
|
|
|
|
|
|
|
|
- <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:id="@+id/cb_cancel"
|
|
|
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" />
|
|
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_padding"
|
|
|
|
|
+ android:layout_toLeftOf="@id/cb_back"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_red_bg"
|
|
|
|
|
+ app:btn_icon="@mipmap/stop"
|
|
|
|
|
+ app:btn_name="@string/cancel_the_job" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/ll_container"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_below="@id/tv_title"
|
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_above="@id/cb_cancel"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/common_padding"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:padding="5dp">
|
|
|
|
|
|
|
|
- <!-- 工艺图 -->
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_weight="1">
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_title"
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_lock"
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_lock"
|
|
|
|
|
+ android:layout_width="12dp"
|
|
|
|
|
+ android:layout_height="12dp"
|
|
|
|
|
+ android:src="@mipmap/ticket_lock"
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/tv_lock"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
- <!-- 锁定站 -->
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_worker"
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/iv_lock"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_worker"
|
|
|
|
|
+ android:layout_width="12dp"
|
|
|
|
|
+ android:layout_height="12dp"
|
|
|
|
|
+ android:src="@mipmap/ticket_worker"
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/tv_worker"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/ll_container"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="2">
|
|
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:padding="2dp"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintHorizontal_weight="300"
|
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/rv_step"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_title">
|
|
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <!-- 工艺图 -->
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_back"
|
|
|
|
|
- style="@style/CommonBtn"
|
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
|
- android:text="@string/back" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:background="@drawable/common_btn_blue_bg"
|
|
|
|
|
+ android:text="@string/machinery_pic" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_cancel"
|
|
|
|
|
- style="@style/CommonBtn"
|
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
|
- android:layout_toLeftOf="@id/tv_back"
|
|
|
|
|
- android:text="@string/cancel_the_job" />
|
|
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rv_step"
|
|
|
|
|
- style="@style/CommonRecyclerView"
|
|
|
|
|
- android:layout_above="@id/tv_cancel"
|
|
|
|
|
- android:layout_below="@id/tv_title"
|
|
|
|
|
- android:layout_toRightOf="@id/ll_container"
|
|
|
|
|
- app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
|
|
- app:spanCount="4" />
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 锁定站 -->
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:background="@drawable/common_btn_blue_bg"
|
|
|
|
|
+ android:text="@string/lock_station" />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_step"
|
|
|
|
|
+ style="@style/CommonRecyclerView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintHorizontal_weight="1150"
|
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/ll_container"
|
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_title"
|
|
|
|
|
+ app:spanCount="4" />
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|