|
|
@@ -0,0 +1,79 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<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"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ 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"
|
|
|
+ android:layout_width="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" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toLeftOf="@id/tv_lock" />
|
|
|
+
|
|
|
+ <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">
|
|
|
+
|
|
|
+ <!-- 工艺图 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 锁定站 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="2">
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_back"
|
|
|
+ style="@style/CommonBtn"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:text="@string/back" />
|
|
|
+
|
|
|
+ <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
|
|
|
+ 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" />
|
|
|
+</RelativeLayout>
|