|
|
@@ -8,10 +8,6 @@
|
|
|
android:focusableInTouchMode="true">
|
|
|
|
|
|
|
|
|
- <include
|
|
|
- android:id="@+id/include_menuactionbar"
|
|
|
- layout="@layout/index_actionbar" />
|
|
|
-
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
android:id="@+id/SmartRefreshLayout_id"
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -19,84 +15,90 @@
|
|
|
android:layout_below="@id/include_menuactionbar"
|
|
|
android:layout_centerInParent="true">
|
|
|
|
|
|
- <com.scwang.smartrefresh.layout.header.ClassicsHeader
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:srlAccentColor="@android:color/darker_gray" />
|
|
|
-
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="7"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="8dp">
|
|
|
-
|
|
|
+ android:gravity="center_vertical">
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:padding="8dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/em_name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333" />
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/em_code_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="#333333" />
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="账号:"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/em_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp"
|
|
|
+ tools:text="吴雨潇" />
|
|
|
+
|
|
|
+ <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="12sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/captiontext"
|
|
|
- android:text="上线人员:" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_staff_info_tv"
|
|
|
- style="@style/valuetext" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="horizontal">
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ >
|
|
|
|
|
|
<TextView
|
|
|
style="@style/captiontext"
|
|
|
- android:text="岗位:" />
|
|
|
+ android:text="岗位:"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/index_position_resource"
|
|
|
style="@style/valuetext"
|
|
|
- android:layout_width="wrap_content" />
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="12sp"
|
|
|
+ tools:text="3AAA" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/scname_tv"
|
|
|
@@ -105,79 +107,94 @@
|
|
|
android:paddingLeft="10dp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/index_edit"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@drawable/edit_easyicon"
|
|
|
+ android:layout_marginRight="10dp"/>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- style="@style/captiontext"
|
|
|
- android:text="线别:" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_feeding"
|
|
|
- style="@style/valuetext" />
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/captiontext"
|
|
|
- android:text="工单:" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingRight="20dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_cur_doc"
|
|
|
- style="@style/valuetext" />
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
+ <TextView
|
|
|
+ style="@style/captiontext"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="工单:" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- style="@style/captiontext"
|
|
|
- android:text="未完数:" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_unfinish_number"
|
|
|
- style="@style/valuetext"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- style="@style/captiontext"
|
|
|
- android:text="报废数:" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/index_scrap_number"
|
|
|
- style="@style/valuetext"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_cur_doc"
|
|
|
+ style="@style/valuetext" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/index_edit"
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="80dp"
|
|
|
- android:layout_marginTop="50dp">
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:src="@drawable/edit_easyicon" />
|
|
|
+ <TextView
|
|
|
+ style="@style/captiontext"
|
|
|
+ android:text="批号:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pihao"
|
|
|
+ style="@style/valuetext" />
|
|
|
</LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingRight="20dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/captiontext"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="未完数:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_unfinish_number"
|
|
|
+ style="@style/valuetext"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/captiontext"
|
|
|
+ android:text="报废数:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/index_scrap_number"
|
|
|
+ style="@style/valuetext"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+ <View
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
<com.uas.gdstorage.view.MyGridView
|
|
|
android:id="@+id/grid_menu"
|
|
|
style="@style/MenuGridViewStyle"
|
|
|
@@ -185,11 +202,21 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
app:srlAccentColor="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <com.scwang.smartrefresh.layout.header.ClassicsHeader
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:srlAccentColor="@android:color/darker_gray" />
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/include_menuactionbar"
|
|
|
+ layout="@layout/index_actionbar" />
|
|
|
</RelativeLayout>
|