|
|
@@ -127,521 +127,627 @@
|
|
|
</Button>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- <TextView
|
|
|
- android:id="@+id/btn_get"
|
|
|
- android:text="播放SOP"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_below="@id/include_menuactionbar"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/textsize_20"
|
|
|
- android:background="@drawable/bg_button">
|
|
|
- </TextView>
|
|
|
+
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
android:id="@+id/sv_vanish"
|
|
|
- android:layout_below="@id/btn_get"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/rela_dimss"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_below="@+id/include_menuactionbar">
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/lineone"
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rela_dimss"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
- <RelativeLayout
|
|
|
+ android:layout_weight="1">
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lineone"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <LinearLayout
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_marginLeft="12dp"
|
|
|
- android:padding="8dp">
|
|
|
-
|
|
|
+ android:gravity="center_vertical">
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/line_login_post"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
- <ImageView
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:src="@mipmap/infoimage">
|
|
|
- </ImageView>
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="登录岗位:"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/em_code_tv"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:padding="8dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/line_login_post"
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15" />
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:src="@mipmap/infoimage">
|
|
|
+ </ImageView>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="登录岗位:"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/space_top_line_15" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/em_code_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/space_top_line_15" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <com.uas.standard_esop.view.SwitchView
|
|
|
- android:id="@+id/sound_monitor_Vibration_sv"
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:visibility="gone"/>
|
|
|
- <ImageView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:id="@+id/sound_monitor_Vibration_sv2"
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:background="@drawable/bg_index_ok_error"
|
|
|
- android:layout_centerVertical="true">
|
|
|
- </ImageView>
|
|
|
- <TextView
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:text="@string/string_monitor_socket"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:layout_toRightOf="@id/sound_monitor_Vibration_sv2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:layout_centerVertical="true">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:text="("
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/em_name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:text=""
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:text=" : "
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/em_name_port"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:text=""
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="@dimen/space_top_line_15"
|
|
|
- android:text=")"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/linethree"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:paddingLeft="20dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/linethree"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_weight="1">
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:paddingLeft="20dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <com.uas.standard_esop.view.ClearableEditText
|
|
|
+ android:id="@+id/index_cur_doc"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:hint="请输入工单号"
|
|
|
+ android:imeOptions="actionSend" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:id="@+id/index_cur_doc_imag"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:src="@mipmap/magnifyingglass" />
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <com.uas.standard_esop.view.ClearableEditText
|
|
|
- android:id="@+id/index_cur_doc"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:hint="请输入工单号"
|
|
|
- android:imeOptions="actionSend" />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp">
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ style="@style/captiontext"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="工序编号:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/tv_pihao"
|
|
|
+ style="@style/valuetext" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- <ImageView
|
|
|
- android:layout_gravity="center"
|
|
|
- android:id="@+id/index_cur_doc_imag"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:src="@mipmap/magnifyingglass" />
|
|
|
<LinearLayout
|
|
|
android:visibility="gone"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- style="@style/captiontext"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:text="工序编号:" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/tv_pihao"
|
|
|
- style="@style/valuetext" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/linefour"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/linethree"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:paddingLeft="20dp">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:id="@+id/linefour"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_weight="1">
|
|
|
+ android:layout_below="@id/linethree"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:paddingLeft="20dp">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <com.uas.standard_esop.view.ClearableEditText
|
|
|
- android:id="@+id/index_prodcode"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:hint="请输入产品编号"
|
|
|
- android:imeOptions="actionSend" />
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_weight="1">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <com.uas.standard_esop.view.ClearableEditText
|
|
|
+ android:id="@+id/index_prodcode"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:hint="请输入产品编号"
|
|
|
+ android:imeOptions="actionSend" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:id="@+id/index_prodcode_imag"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ android:src="@mipmap/magnifyingglass" />
|
|
|
+ <View
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- <ImageView
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_datawork"
|
|
|
android:visibility="gone"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:id="@+id/index_prodcode_imag"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:layout_marginRight="@dimen/dp_10"
|
|
|
- android:src="@mipmap/magnifyingglass" />
|
|
|
- <View
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/rv_datawork"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@color/white"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/linethree"
|
|
|
- android:layout_centerInParent="true">
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
- <RelativeLayout
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/lineone">
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/linetops"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/linethree"
|
|
|
+ android:layout_centerInParent="true">
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
+ <RelativeLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/lineone">
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/linetwo"
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:id="@+id/linetops"
|
|
|
+ android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:id="@+id/linetwo"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:gravity="center_vertical">
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="horizontal">
|
|
|
<LinearLayout
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_marginRight="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <com.uas.standard_esop.view.ClearableEditText
|
|
|
- android:id="@+id/index_position_resource"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:textSize="25dp"
|
|
|
- android:hint="输入产品索引SOP"
|
|
|
- android:imeOptions="actionSend" />
|
|
|
-
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <com.uas.standard_esop.view.ClearableEditText
|
|
|
+ android:id="@+id/index_position_resource"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:hint="输入产品索引SOP"
|
|
|
+ android:imeOptions="actionSend" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/scname_tv"
|
|
|
+ style="@style/valuetext"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:paddingLeft="@dimen/textsize_20" />
|
|
|
</LinearLayout>
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/scname_tv"
|
|
|
- style="@style/valuetext"
|
|
|
- android:singleLine="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:paddingLeft="@dimen/textsize_20" />
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_edit"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
+ android:layout_marginRight="30dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:text="搜索"
|
|
|
+ android:src="@drawable/search_48"
|
|
|
+ android:layout_weight="1"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/btn_get"
|
|
|
+ android:text="播放SOP"
|
|
|
+ android:layout_marginLeft="30dp"
|
|
|
+ android:layout_marginRight="30dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_below="@id/include_menuactionbar"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:layout_weight="1">
|
|
|
+ </TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:layout_below="@+id/linetops"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:id="@+id/line_ra_dataurl"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ tools:ignore="NotSibling">
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:text="当前获取文件:"
|
|
|
+ android:textSize="30dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ <TextView
|
|
|
+ android:text="文件版本:"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pscode"
|
|
|
+ android:text=""
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:text="产品:"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ps_prodcode"
|
|
|
+ android:text=""
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pr_detail"
|
|
|
+ android:text=""
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pr_spec"
|
|
|
+ android:text=""
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1">
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:lines="1">
|
|
|
+ </TextView>
|
|
|
|
|
|
- <AutoCompleteTextView
|
|
|
- android:id="@+id/tv_dc_line"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:focusable="false"
|
|
|
- android:hint="请输入物理线体" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_dc_line_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>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:text="工序:"
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ps_stepcode"
|
|
|
+ android:text=""
|
|
|
+ android:textSize="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_dc_line"
|
|
|
- android:layout_width="60dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:background="@drawable/bg_button"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:src="@drawable/search_48"
|
|
|
- />
|
|
|
</LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:text="下载地址:"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/ra_dataurl"
|
|
|
+ android:layout_marginRight="30dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_edit"
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:layout_below="@+id/linetops"
|
|
|
+ android:id="@+id/rv_data"
|
|
|
+ android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:background="@drawable/bg_button"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="25dp"
|
|
|
- android:text="搜索"
|
|
|
- android:src="@drawable/search_48" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true">
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:layout_below="@+id/linetops"
|
|
|
- android:orientation="vertical"
|
|
|
- android:id="@+id/line_ra_dataurl"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- tools:ignore="NotSibling">
|
|
|
- <TextView
|
|
|
- android:text="当前获取文件:"
|
|
|
- android:textSize="30dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
-
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<TextView
|
|
|
- android:text="文件版本:"
|
|
|
- android:textSize="25dp"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pscode"
|
|
|
- android:text=""
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:text="线别">
|
|
|
</TextView>
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
+ <AutoCompleteTextView
|
|
|
+ android:id="@+id/tv_dc_line"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:focusable="false"
|
|
|
+ android:hint="请输入物理线体"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_dc_line_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_dc_line"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:src="@drawable/search_48"
|
|
|
+ />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<TextView
|
|
|
- android:text="产品:"
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_ps_prodcode"
|
|
|
- android:text=""
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pr_detail"
|
|
|
- android:text=""
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pr_spec"
|
|
|
- android:text=""
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:ellipsize="end"
|
|
|
- android:lines="1">
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:text="岗位">
|
|
|
</TextView>
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
+ <AutoCompleteTextView
|
|
|
+ android:id="@+id/at_gvtext"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:focusable="false"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:hint="请输入岗位" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ 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_login_post"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:src="@drawable/search_48"
|
|
|
+ />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <com.uas.standard_esop.view.SwitchView
|
|
|
+ android:id="@+id/sound_monitor_Vibration_sv"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:visibility="gone"/>
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/sound_monitor_Vibration_sv2"
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
+ android:background="@drawable/bg_index_ok_error"
|
|
|
+ android:layout_centerVertical="true">
|
|
|
+ </ImageView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:text="中控IP:">
|
|
|
+ </TextView>
|
|
|
<LinearLayout
|
|
|
- android:visibility="gone"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
+ android:layout_centerVertical="true">
|
|
|
<TextView
|
|
|
- android:text="工序:"
|
|
|
- android:textSize="25dp"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/space_top_line_15"
|
|
|
+ android:text="("
|
|
|
+ />
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_ps_stepcode"
|
|
|
+ android:id="@+id/em_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
android:text=""
|
|
|
- android:textSize="25dp"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:text=" : "
|
|
|
+ />
|
|
|
<TextView
|
|
|
- android:text="下载地址:"
|
|
|
- android:textSize="25dp"
|
|
|
+ android:id="@+id/em_name_port"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/ra_dataurl"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
-
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:textSize="@dimen/textsize_20"
|
|
|
+ android:text=""
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/space_top_line_15"
|
|
|
+ android:text=")"
|
|
|
+ />
|
|
|
</LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:layout_below="@+id/linetops"
|
|
|
- android:id="@+id/rv_data"
|
|
|
- android:background="@color/white"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true">
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
-
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
|
|
|
|