|
|
@@ -0,0 +1,81 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/common_spacing_small"
|
|
|
+ tools:context=".view.fragment.TempJobFragment">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_add"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
+ android:background="@drawable/common_btn_blue_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_big"
|
|
|
+ android:paddingVertical="@dimen/common_text_padding"
|
|
|
+ android:text="@string/add"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_below="@id/tv_add"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_small"
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/tab_header"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/common_rv_tab_item_height"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_small"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_job_name"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="作业名称" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginVertical="@dimen/common_spacing_small"
|
|
|
+ android:background="@color/common_bg_white_30" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_job_number"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="点位数" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginVertical="@dimen/common_spacing_small"
|
|
|
+ android:background="@color/common_bg_white_30" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_opt"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="操作" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_temp_jobs"
|
|
|
+ style="@style/CommonRecyclerView"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</RelativeLayout>
|