|
@@ -0,0 +1,170 @@
|
|
|
|
|
+<?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.MaterialInspectionPlanFragment">
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.TitleBar
|
|
|
|
|
+ android:id="@+id/tb"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ app:bar_icon="@mipmap/material_inspection_plan"
|
|
|
|
|
+ app:bar_title="@string/material_inspection_plan" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.CommonBtn
|
|
|
|
|
+ android:id="@+id/cb_back"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_blue_bg"
|
|
|
|
|
+ app:btn_name="@string/back" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.CommonBtn
|
|
|
|
|
+ android:id="@+id/cb_start"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_toLeftOf="@id/cb_back"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_red_bg"
|
|
|
|
|
+ app:btn_name="@string/start_inspection" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.CommonBtn
|
|
|
|
|
+ android:id="@+id/cb_continue"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_toLeftOf="@id/cb_start"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_yellow_bg"
|
|
|
|
|
+ app:btn_name="@string/continue_inspection" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.CommonBtn
|
|
|
|
|
+ android:id="@+id/cb_submit"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_marginRight="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_toLeftOf="@id/cb_continue"
|
|
|
|
|
+ app:btn_bg="@drawable/common_btn_red_bg"
|
|
|
|
|
+ app:btn_name="@string/submit_result" />
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_above="@id/cb_back"
|
|
|
|
|
+ android:layout_below="@id/tb"
|
|
|
|
|
+ android:layout_marginVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:padding="@dimen/common_spacing_small">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_title"
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
+ android:text="计划日期" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_below="@id/tv_title"
|
|
|
|
|
+ android:layout_marginVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/material_type" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/total_count" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/borrowed_count" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/to_be_inspected_count" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/normal_count" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/expired_count" />
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/damaged_count" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_material_inspection_plan"
|
|
|
|
|
+ style="@style/CommonRecyclerView"
|
|
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+</RelativeLayout>
|