|
|
@@ -6,6 +6,7 @@
|
|
|
android:background="@color/background_color_first"
|
|
|
android:focusable="true"
|
|
|
android:focusableInTouchMode="true"
|
|
|
+ android:id="@+id/rl_vanish"
|
|
|
tools:ignore="MissingDefaultResource">
|
|
|
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
@@ -126,22 +127,37 @@
|
|
|
</Button>
|
|
|
|
|
|
</LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/btn_get"
|
|
|
+ android:text="播放SOP"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_below="@id/include_menuactionbar"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/textsize_20"
|
|
|
+ android:background="@drawable/bg_button">
|
|
|
+ </TextView>
|
|
|
+
|
|
|
|
|
|
<ScrollView
|
|
|
- android:layout_below="@id/include_menuactionbar"
|
|
|
- android:layout_centerInParent="true"
|
|
|
+ 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_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
android:id="@+id/lineone"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
<RelativeLayout
|
|
|
+ android:visibility="gone"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
@@ -225,62 +241,10 @@
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/linetwo"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/lineone"
|
|
|
- android:layout_centerInParent="true">
|
|
|
- <LinearLayout
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="horizontal">
|
|
|
- <LinearLayout
|
|
|
- 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:orientation="vertical"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <com.uas.esop.view.ClearableEditText
|
|
|
- android:id="@+id/index_position_resource"
|
|
|
- style="@style/EditTextLineStyle"
|
|
|
- android:layout_width="match_parent"
|
|
|
- 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>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/index_edit"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:src="@mipmap/magnifyingglass" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
<LinearLayout
|
|
|
android:visibility="gone"
|
|
|
android:id="@+id/linethree"
|
|
|
@@ -288,7 +252,6 @@
|
|
|
android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/linetwo"
|
|
|
android:layout_centerInParent="true"
|
|
|
android:paddingLeft="20dp">
|
|
|
|
|
|
@@ -387,181 +350,209 @@
|
|
|
android:layout_marginLeft="@dimen/dp_10"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:orientation="vertical"
|
|
|
- android:id="@+id/line_ra_dataurl"
|
|
|
+ <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_marginLeft="30dp"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_centerInParent="true">
|
|
|
+ </android.support.v7.widget.RecyclerView>
|
|
|
+ <RelativeLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <TextView
|
|
|
- android:text="当前获取文件:"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/lineone">
|
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:id="@+id/linetops"
|
|
|
+ android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- <TextView
|
|
|
- android:text="文件版本:"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pscode"
|
|
|
- android:text=""
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/linetwo"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ <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">
|
|
|
+ <LinearLayout
|
|
|
+ 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.esop.view.ClearableEditText
|
|
|
+ android:id="@+id/index_position_resource"
|
|
|
+ style="@style/EditTextLineStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ 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>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_edit"
|
|
|
+ android:layout_width="200dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/bg_button"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:text="搜索"
|
|
|
+ android:src="@drawable/search_48" />
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
|
|
- 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:text="产品:"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:text="当前获取文件:"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
</TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_ps_prodcode"
|
|
|
- android:text=""
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pr_detail"
|
|
|
- android:text=""
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:text="文件版本:"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pscode"
|
|
|
+ android:text=""
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ 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">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_pr_spec"
|
|
|
- android:text=""
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:ellipsize="end"
|
|
|
- android:lines="1">
|
|
|
- </TextView>
|
|
|
+ <TextView
|
|
|
+ android:text="产品:"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ps_prodcode"
|
|
|
+ android:text=""
|
|
|
+ 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: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:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:lines="1">
|
|
|
+ </TextView>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <TextView
|
|
|
- android:text="工序:"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_ps_stepcode"
|
|
|
- android:text=""
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="gone"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ <TextView
|
|
|
+ android:text="工序:"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </TextView>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ps_stepcode"
|
|
|
+ android:text=""
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ 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">
|
|
|
- <TextView
|
|
|
- android:text="下载地址:"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/ra_dataurl"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- >
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
+ <TextView
|
|
|
+ android:text="下载地址:"
|
|
|
+ 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>
|
|
|
- </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>
|
|
|
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/btn_get"
|
|
|
- android:text="播放SOP"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_below="@id/line_ra_dataurl"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginTop="100dp"
|
|
|
- android:background="@drawable/bg_button">
|
|
|
- </TextView>
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
- android:id="@+id/btn_sengMessage"
|
|
|
- android:text="打开文件夹"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_below="@id/btn_get"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginTop="@dimen/textsize_20"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@drawable/bg_button">
|
|
|
- </TextView>
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/tcp_text"
|
|
|
- android:text="tcp服务端发送"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/btn_sengMessage"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginTop="100dp"
|
|
|
- android:layout_marginBottom="@dimen/textsize_20">
|
|
|
- </TextView>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/rv_data"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@color/white"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/linetwo"
|
|
|
- android:layout_centerInParent="true">
|
|
|
- </android.support.v7.widget.RecyclerView>
|
|
|
- <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>
|
|
|
|
|
|
- </ScrollView>
|
|
|
|
|
|
|
|
|
+ </ScrollView>
|
|
|
|
|
|
|
|
|
<include
|