|
|
@@ -67,104 +67,117 @@
|
|
|
android:layout_marginBottom="@dimen/common_spacing"
|
|
|
android:text="计划日期" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
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">
|
|
|
+ app:cardBackgroundColor="@color/common_bg_white_10"
|
|
|
+ app:cardCornerRadius="@dimen/common_radius_big"
|
|
|
+ app:cardElevation="0dp"
|
|
|
+ app:strokeColor="@color/common_transparent">
|
|
|
|
|
|
<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" />
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/common_bg_white_10"
|
|
|
+ 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>
|
|
|
|
|
|
<View
|
|
|
- android:layout_width="@dimen/divider_line_width"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
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" />
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_material_inspection_plan"
|
|
|
+ style="@style/CommonRecyclerView"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/rv_material_inspection_plan"
|
|
|
- style="@style/CommonRecyclerView"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
- </LinearLayout>
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|