1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white">
 
    <RelativeLayout
                android:id="@+id/RL_title_progress"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/bg_analysis"
                android:padding="@dimen/dimen4"
                android:layout_margin="@dimen/dimen2">
 
                <ImageView
                    android:id="@+id/IV_task_progress"
                    android:layout_width="80dp"
                    android:layout_height="80dp"
                    android:layout_gravity="center"
                    android:src="@drawable/icon_task_progress" />
 
                <TextView
                    android:id="@+id/TV_task_progress"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dimen4"
                    android:layout_toRightOf="@id/IV_task_progress"
                    android:text="任务进度"
                    android:textColor="@color/white"
                    android:textSize="30sp" />
 
                <LinearLayout
                    android:id="@+id/LL_1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/TV_task_progress"
                    android:layout_gravity="center"
                    android:layout_marginLeft="@dimen/dimen4"
                    android:layout_marginTop="@dimen/dimen2"
                    android:layout_toRightOf="@id/IV_task_progress">
 
                    <ImageView
                        android:layout_width="@dimen/dimen8"
                        android:layout_height="@dimen/dimen8"
                        android:layout_gravity="center"
                        android:background="@color/progressred" />
 
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginLeft="@dimen/dimen4"
                        android:text="总体完成情况"
                        android:textColor="@color/white"
                        android:textSize="10dp" />
                </LinearLayout>
 
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/LL_1"
                    android:layout_gravity="center"
                    android:layout_marginStart="@dimen/dimen4"
                    android:layout_marginTop="@dimen/dimen2"
                    android:layout_toEndOf="@id/IV_task_progress">
 
                    <ImageView
                        android:layout_width="@dimen/dimen8"
                        android:layout_height="@dimen/dimen8"
                        android:layout_gravity="center"
                        android:background="@color/progressgreen" />
 
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dimen4"
                        android:layout_gravity="center"
                        android:text="我的完成情况"
                        android:textColor="@color/white"
                        android:textSize="10dp" />
                </LinearLayout>
            </RelativeLayout>
 
    <LinearLayout
                android:id="@+id/LL_task_progress"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="12dp"
                android:orientation="vertical">
 
                <View
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:background="@color/transparentGray" />
 
        <android.support.v7.widget.RecyclerView
            android:id="@+id/RV_task_progress"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />
            </LinearLayout>
 
    <View
        android:layout_width="match_parent"
        android:layout_height="0.1dp"
        android:layout_alignParentBottom="true"
        android:background="@color/lightGray"/>
 
</LinearLayout>