|
|
@@ -1,97 +1,126 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="16dp">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:text="@string/string_default_warehouse"
|
|
|
- android:textSize="@dimen/textsize_18"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <com.uas.uaspda.view.ClearableEditText
|
|
|
- android:id="@+id/default_setting_warehouse_et"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:hint="@string/default_warehouse"
|
|
|
- android:textSize="@dimen/textsize_16" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:text="@string/str_default_rejects_warehouse"
|
|
|
- android:textSize="@dimen/textsize_18"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <com.uas.uaspda.view.ClearableEditText
|
|
|
- android:id="@+id/default_setting_rejects_warehouse_et"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:hint="@string/rejects_default_warehouse"
|
|
|
- android:textSize="@dimen/textsize_16" />
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="16dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:text="@string/string_default_linecode"
|
|
|
- android:textSize="@dimen/textsize_18"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <com.uas.uaspda.view.ClearableEditText
|
|
|
- android:id="@+id/default_setting_linecode_et"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:hint="@string/default_linecode"
|
|
|
- android:textSize="@dimen/textsize_16" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:text="@string/string_default_warehouse"
|
|
|
+ android:textSize="@dimen/textsize_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:background="@color/white"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingTop="12dp"
|
|
|
- android:paddingBottom="12dp">
|
|
|
+ <com.uas.uaspda.view.ClearableEditText
|
|
|
+ android:id="@+id/default_setting_warehouse_et"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:hint="@string/default_warehouse"
|
|
|
+ android:textSize="@dimen/textsize_16" />
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="顺序上料"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:text="@string/str_default_rejects_warehouse"
|
|
|
android:textSize="@dimen/textsize_18"
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- <com.uas.uaspda.view.SwitchView
|
|
|
- android:id="@+id/default_setting_order_sv"
|
|
|
- android:layout_width="46dp"
|
|
|
- android:layout_height="28dp" />
|
|
|
- </LinearLayout>
|
|
|
+ <com.uas.uaspda.view.ClearableEditText
|
|
|
+ android:id="@+id/default_setting_rejects_warehouse_et"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:hint="@string/rejects_default_warehouse"
|
|
|
+ android:textSize="@dimen/textsize_16" />
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/default_setting_submit_btn"
|
|
|
- style="@style/ButtonStyle"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:text="@string/btn_ok_smt" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:text="@string/string_default_linecode"
|
|
|
+ android:textSize="@dimen/textsize_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:text="@string/prompt_set_default_warehouse"
|
|
|
- android:textSize="@dimen/textsize_18"
|
|
|
- android:visibility="gone" />
|
|
|
+ <com.uas.uaspda.view.ClearableEditText
|
|
|
+ android:id="@+id/default_setting_linecode_et"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:hint="@string/default_linecode"
|
|
|
+ android:textSize="@dimen/textsize_16" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingBottom="12dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="顺序上料"
|
|
|
+ android:textSize="@dimen/textsize_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.uas.uaspda.view.SwitchView
|
|
|
+ android:id="@+id/default_setting_order_sv"
|
|
|
+ android:layout_width="46dp"
|
|
|
+ android:layout_height="28dp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingBottom="12dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="料卷号校验"
|
|
|
+ android:textSize="@dimen/textsize_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <com.uas.uaspda.view.SwitchView
|
|
|
+ android:id="@+id/default_setting_material_sv"
|
|
|
+ android:layout_width="46dp"
|
|
|
+ android:layout_height="28dp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/default_setting_submit_btn"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="@string/btn_ok_smt" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="@string/prompt_set_default_warehouse"
|
|
|
+ android:textSize="@dimen/textsize_18"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+</ScrollView>
|