| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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:orientation="vertical"
- android:padding="16dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/bg_line_edittext">
- <com.uas.pda_smart_sa.view.ClearableEditText
- android:id="@+id/product_check_boxcode_et"
- style="@style/EditTextStyle"
- android:layout_weight="1"
- android:background="@null"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:hint="请采集箱号"
- android:imeOptions="actionSend"
- android:textColor="@color/black" />
- <ImageView
- android:id="@+id/product_check_scan_iv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginRight="10dp"
- android:clickable="false"
- android:src="@drawable/ic_edittext_scan" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/product_check_operator_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="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" />
- <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>
- <LinearLayout
- android:id="@+id/product_check_spotcheck_ll"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:visibility="gone">
- <TextView
- style="@style/CaptionText"
- android:layout_marginTop="8dp"
- android:padding="4dp"
- android:text="抽检项目"
- android:textColor="@color/black" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- 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="match_parent" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="10dp">
- <TextView
- android:id="@+id/product_check_qualified_tv"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@drawable/selector_confirm_bg"
- android:gravity="center"
- android:padding="10dp"
- android:text="合格"
- android:textColor="@color/white" />
- <TextView
- android:id="@+id/product_check_unqualified_tv"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="24dp"
- android:layout_weight="1"
- android:background="@drawable/selector_cancel_bg"
- android:gravity="center"
- android:padding="10dp"
- android:text="不合格"
- android:textColor="@color/selector_cancel_text_color" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
|