|
|
@@ -0,0 +1,112 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="@dimen/common_spacing_2x"
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/title_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="@dimen/title_icon_size"
|
|
|
+ android:layout_height="@dimen/title_icon_size"
|
|
|
+ android:src="@mipmap/icon_data_manage_menu_user_manage" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/in_progress_job_manage_title"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/normal_text_size_25"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/back"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginVertical="5dp"
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:background="@drawable/common_btn"
|
|
|
+ android:drawableLeft="@mipmap/icon_back"
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minHeight="@dimen/common_btn_height"
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
+ android:text="@string/back"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/common_btn_text_size" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_space"
|
|
|
+ android:background="@color/black" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
+ android:background="@drawable/common_card_bg"
|
|
|
+ android:divider="@drawable/divider_table"
|
|
|
+ android:showDividers="middle">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
+ android:text="@string/job_name"
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/status"
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/detail"
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
|
+ android:id="@+id/refresh_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing">
|
|
|
+
|
|
|
+ <com.drake.statelayout.StateLayout
|
|
|
+ android:id="@+id/state"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/common_card_bg">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/list_rv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/common_card_bg" />
|
|
|
+ </com.drake.statelayout.StateLayout>
|
|
|
+ </com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|