|
|
@@ -39,98 +39,121 @@
|
|
|
android:orientation="vertical"
|
|
|
android:visibility="gone">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/product_check_result_rv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp" />
|
|
|
+ android:paddingBottom="6dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:padding="4dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- style="@style/CaptionText"
|
|
|
- android:text="实际抽样数:" />
|
|
|
-
|
|
|
- <com.uas.pda_smart_sa.view.ClearableEditText
|
|
|
- android:id="@+id/product_check_realnum_et"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:inputType="number"
|
|
|
- android:minHeight="32dp"
|
|
|
- tools:text="value" />
|
|
|
- </LinearLayout>
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/product_check_result_rv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/product_check_spotcheck_ll"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="4dp">
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/CaptionText"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:padding="4dp"
|
|
|
- android:text="抽检项目"
|
|
|
- android:textColor="@color/black" />
|
|
|
+ <TextView
|
|
|
+ style="@style/CaptionText"
|
|
|
+ android:text="实际抽样数:" />
|
|
|
+
|
|
|
+ <com.uas.pda_smart_sa.view.ClearableEditText
|
|
|
+ android:id="@+id/product_check_realnum_et"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:inputType="number"
|
|
|
+ android:minHeight="32dp"
|
|
|
+ tools:text="value" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp">
|
|
|
+ android:padding="4dp">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/shape_table_head_left"
|
|
|
- android:gravity="center"
|
|
|
- android:maxLines="1"
|
|
|
- android:padding="4dp"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="抽检项目"
|
|
|
- android:textColor="@color/black" />
|
|
|
+ style="@style/CaptionText"
|
|
|
+ android:text="备注:" />
|
|
|
+
|
|
|
+ <com.uas.pda_smart_sa.view.ClearableEditText
|
|
|
+ android:id="@+id/product_check_remark_et"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:inputType="number"
|
|
|
+ android:minHeight="32dp"
|
|
|
+ tools:text="value" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/product_check_spotcheck_ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/shape_table_head_left"
|
|
|
- android:gravity="center"
|
|
|
- android:maxLines="1"
|
|
|
+ style="@style/CaptionText"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
android:padding="4dp"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="抽检数"
|
|
|
+ android:text="抽检项目"
|
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@drawable/shape_table_head_right"
|
|
|
- android:gravity="center"
|
|
|
- android:maxLines="1"
|
|
|
- android:padding="4dp"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="不合格数"
|
|
|
- android:textColor="@color/black" />
|
|
|
+ android:layout_marginTop="10dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/shape_table_head_left"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:padding="4dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="抽检项目"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/shape_table_head_left"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:padding="4dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="抽检数"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/shape_table_head_right"
|
|
|
+ android:gravity="center"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:padding="4dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="不合格数"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/product_check_spotcheck_rv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/product_check_spotcheck_rv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent" />
|
|
|
</LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
+
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|