|
@@ -4,366 +4,394 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
-
|
|
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
|
+ <android.support.design.widget.AppBarLayout
|
|
|
|
|
+ android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:layout_height="match_parent">
|
|
android:layout_height="match_parent">
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="vertical"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="2">
|
|
|
|
|
|
|
|
|
|
- <TableLayout
|
|
|
|
|
|
|
+ <android.support.design.widget.CollapsingToolbarLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ app:contentScrim="@color/colorPrimary"
|
|
|
|
|
+ app:layout_scrollFlags="scroll|enterAlwaysCollapsed|exitUntilCollapsed">
|
|
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/spacing_big"
|
|
|
|
|
- android:stretchColumns="1">
|
|
|
|
|
- <TableRow >
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="工单号"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1">
|
|
|
|
|
-
|
|
|
|
|
- <AutoCompleteTextView
|
|
|
|
|
- android:id="@+id/et_linecode_smts"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_marginLeft="23dp"
|
|
|
|
|
- android:hint="请输入工单号" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iocout_smts"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_gravity="center|right"
|
|
|
|
|
- android:layout_marginRight="13dp"
|
|
|
|
|
- android:src="@drawable/wrong"
|
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:id="@+id/iv_popuwindow"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:background="@drawable/bg_button"
|
|
|
|
|
- android:src="@drawable/search_48" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </TableRow>
|
|
|
|
|
|
|
+ android:layout_weight="3">
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="2">
|
|
|
|
|
+ <TableLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
|
|
+ android:stretchColumns="1">
|
|
|
|
|
+ <TableRow>
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="工单号"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_pr_code"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:text="产品编号"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_pr_detail"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:text="产品名称"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="人员编号"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="23dp">
|
|
|
|
|
- <com.uas.collection.view.ClearableEditText
|
|
|
|
|
- android:id="@+id/tv_dc_emcode"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:text=""
|
|
|
|
|
- android:hint="请输入人员编号"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_dc_emcode"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:clickable="false"
|
|
|
|
|
- android:src="@drawable/ic_edittext_scan" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <AutoCompleteTextView
|
|
|
|
|
+ android:id="@+id/et_linecode_smts"
|
|
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_marginLeft="23dp"
|
|
|
|
|
+ android:hint="请输入工单号" />
|
|
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iocout_smts"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center|right"
|
|
|
|
|
+ android:layout_marginRight="13dp"
|
|
|
|
|
+ android:src="@drawable/wrong"
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:id="@+id/iv_popuwindow"
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
|
|
+ android:src="@drawable/search_48" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_pr_code"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="产品编号"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_pr_detail"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:text="产品名称"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="人员编号"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="23dp">
|
|
|
|
|
+ <com.uas.collection.view.ClearableEditText
|
|
|
|
|
+ android:id="@+id/tv_dc_emcode"
|
|
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
|
|
+ android:text=""
|
|
|
|
|
+ android:hint="请输入人员编号"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ />
|
|
|
|
|
|
|
|
- </TableRow>
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_dc_emcode"
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
|
+ android:clickable="false"
|
|
|
|
|
+ android:src="@drawable/ic_edittext_scan" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="岗位资源"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1">
|
|
|
|
|
-
|
|
|
|
|
- <AutoCompleteTextView
|
|
|
|
|
- android:id="@+id/ce_resources"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_marginLeft="23dp"
|
|
|
|
|
- android:hint="请输入岗位资源" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_resources_delete"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_gravity="center|right"
|
|
|
|
|
- android:layout_marginRight="13dp"
|
|
|
|
|
- android:src="@drawable/wrong"
|
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_resources"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:background="@drawable/bg_button"
|
|
|
|
|
- android:src="@drawable/search_48" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </TableRow>
|
|
|
|
|
-
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="位号"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
- <com.uas.collection.view.ClearableEditText
|
|
|
|
|
- android:id="@+id/ce_bit_number"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:layout_marginLeft="23dp"
|
|
|
|
|
- android:hint="请输入位号"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- />
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </TableRow>
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="不良现象"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1">
|
|
|
|
|
-
|
|
|
|
|
- <AutoCompleteTextView
|
|
|
|
|
- android:id="@+id/ce_unhealthy"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_marginLeft="23dp"
|
|
|
|
|
- android:hint="请输入不良现象" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_unhealthy_delete"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="岗位资源"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
+
|
|
|
|
|
+ <AutoCompleteTextView
|
|
|
|
|
+ android:id="@+id/ce_resources"
|
|
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_marginLeft="23dp"
|
|
|
|
|
+ android:hint="请输入岗位资源" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_resources_delete"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center|right"
|
|
|
|
|
+ android:layout_marginRight="13dp"
|
|
|
|
|
+ android:src="@drawable/wrong"
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_resources"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
|
|
+ android:src="@drawable/search_48" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="位号"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+
|
|
|
|
|
+ <com.uas.collection.view.ClearableEditText
|
|
|
|
|
+ android:id="@+id/ce_bit_number"
|
|
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:layout_marginLeft="23dp"
|
|
|
|
|
+ android:hint="请输入位号"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ />
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="不良现象"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
+
|
|
|
|
|
+ <AutoCompleteTextView
|
|
|
|
|
+ android:id="@+id/ce_unhealthy"
|
|
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
|
+ android:layout_marginLeft="23dp"
|
|
|
|
|
+ android:hint="请输入不良现象" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_unhealthy_delete"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center|right"
|
|
|
|
|
+ android:layout_marginRight="13dp"
|
|
|
|
|
+ android:src="@drawable/wrong"
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_unhealthy"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_width="30dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
|
|
+ android:src="@drawable/search_48" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+ </TableLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="0.7"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
|
|
+ android:layout_marginRight="@dimen/textsize_20">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="人员照片"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:gravity="center">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/iv_personnel_data"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="150dp"
|
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
|
+ android:background="@drawable/bg_line_edittext">
|
|
|
|
|
+ </ImageView>
|
|
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:id="@+id/rv_data"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <TableLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center|right"
|
|
|
|
|
- android:layout_marginRight="13dp"
|
|
|
|
|
- android:src="@drawable/wrong"
|
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_unhealthy"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
|
- android:background="@drawable/bg_button"
|
|
|
|
|
- android:src="@drawable/search_48" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- </TableRow>
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="不良现象"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rv_datachange"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
|
|
- </TableRow>
|
|
|
|
|
- <TableRow
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="数量"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:textColor="@color/black">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
+ android:stretchColumns="1">
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="不良现象"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_datachange"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+ <TableRow
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="数量"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:textColor="@color/black">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+
|
|
|
|
|
|
|
|
- <com.uas.collection.view.ClearableEditText
|
|
|
|
|
- android:id="@+id/ec_passqty"
|
|
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/rv_datapassqty"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </TableRow>
|
|
|
|
|
+ </TableLayout>
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
|
|
+ android:id="@+id/tv_save"
|
|
|
|
|
+ android:layout_width="100dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="保存"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
|
|
+ android:background="@color/gray_light">
|
|
|
|
|
+ </TextView>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <com.bin.david.form.core.SmartTable
|
|
|
|
|
+ android:id="@+id/jlt_storage_in_filter_list_st"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:layout_marginLeft="23dp"
|
|
|
|
|
- android:hint="请输入数量"
|
|
|
|
|
- android:text="1"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- />
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:layout_width="30dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
|
- android:layout_marginLeft="5dp" />
|
|
|
|
|
|
|
+ android:layout_weight="2" />
|
|
|
|
|
+
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
- </TableRow>
|
|
|
|
|
- </TableLayout>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
|
|
- android:id="@+id/tv_save"
|
|
|
|
|
- android:layout_width="100dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="保存"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
|
|
- android:background="@color/gray_light">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:orientation="vertical"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="0.7"
|
|
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
|
|
- android:layout_marginRight="@dimen/textsize_20">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="人员照片"
|
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
|
- android:gravity="center">
|
|
|
|
|
- </TextView>
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_personnel_data"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="150dp"
|
|
|
|
|
- android:scaleType="centerCrop"
|
|
|
|
|
- android:background="@drawable/bg_line_edittext">
|
|
|
|
|
- </ImageView>
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/rv_data"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
|
|
+
|
|
|
|
|
+ </android.support.design.widget.CollapsingToolbarLayout>
|
|
|
|
|
+ </android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <com.bin.david.form.core.SmartTable
|
|
|
|
|
- android:id="@+id/jlt_storage_in_filter_list_st"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="2" />
|
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|