riku
2025-07-02 3013b813e5df6977c0be921928f73b1a3adde290
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg_pic_grey">
 
    <ScrollView
        android:id="@+id/scroll_1"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
 
        <android.support.constraint.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingStart="@dimen/dimen4"
            android:paddingEnd="@dimen/dimen4">
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/cl_1"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/white"
                android:elevation="@dimen/dimen8"
                android:foreground="?android:attr/selectableItemBackground"
                android:padding="@dimen/dimen4"
                tools:targetApi="lollipop">
 
                <TextView
                    android:id="@+id/textView6"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="本此任务共巡查所有场景"
                    app:layout_constraintLeft_toLeftOf="parent"/>
 
                <TextView
                    android:id="@+id/text_scene_count"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="86"
                    app:layout_constraintLeft_toRightOf="@id/textView6"
                    />
 
                <TextView
                    android:id="@+id/textView7"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="次"
                    app:layout_constraintRight_toRightOf="parent"/>
 
                <TextView
                    android:id="@+id/textView4"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="复查"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/textView6"/>
 
                <TextView
                    android:id="@+id/text_recheck_times"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="86"
                    app:layout_constraintLeft_toRightOf="@id/textView4"
                    app:layout_constraintTop_toBottomOf="@id/textView6"
                    />
 
                <TextView
                    android:id="@+id/textView5"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="次"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/textView6"/>
 
 
            </android.support.constraint.ConstraintLayout>
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/cl_2"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginTop="@dimen/dimen2"
                android:background="@color/white"
                android:elevation="@dimen/dimen8"
                android:foreground="?android:attr/selectableItemBackground"
                android:padding="@dimen/dimen4"
                app:layout_constraintTop_toBottomOf="@id/cl_1"
                tools:targetApi="lollipop">
 
                <TextView
                    android:id="@+id/textView8"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="本此任务共发现问题"
                    app:layout_constraintLeft_toLeftOf="parent"/>
 
                <TextView
                    android:id="@+id/text_problem_num"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="86"
                    app:layout_constraintLeft_toRightOf="@id/textView8"
                    />
 
                <TextView
                    android:id="@+id/textView9"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="个"
                    app:layout_constraintRight_toRightOf="parent"/>
 
                <TextView
                    android:id="@+id/textView10"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="整改问题"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/textView9"/>
 
                <TextView
                    android:id="@+id/text_reform_times"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="86"
                    app:layout_constraintLeft_toRightOf="@id/textView10"
                    app:layout_constraintTop_toBottomOf="@id/textView9"
                    />
 
                <TextView
                    android:id="@+id/textView11"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="个"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/textView9"/>
 
            </android.support.constraint.ConstraintLayout>
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/cl_3"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dimen2"
                android:background="@color/white"
                android:padding="@dimen/dimen4"
                app:layout_constraintTop_toBottomOf="@id/cl_2"
                app:layout_constraintBottom_toBottomOf="parent">
 
                <TextView
                    android:id="@+id/text_name"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="问题类型分布"
                    android:textColor="@color/black"
                    android:textSize="@dimen/title_text_size_2" />
 
                <Spinner
                    android:id="@+id/sp_scene_type"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:layout_constraintRight_toRightOf="parent">
                </Spinner>
 
                <com.github.mikephil.charting.charts.PieChart
                    android:id="@+id/PC_problem"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    app:layout_constraintTop_toBottomOf="@id/text_name"
                    app:layout_constraintBottom_toBottomOf="parent">
                </com.github.mikephil.charting.charts.PieChart>
 
 
            </android.support.constraint.ConstraintLayout>
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/constraintLayout2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dimen2"
                android:background="@color/white"
                android:padding="@dimen/dimen4"
                android:visibility="gone"
                app:layout_constraintTop_toBottomOf="@id/cl_3"
                app:layout_constraintBottom_toBottomOf="parent">
 
                <android.support.v7.widget.RecyclerView
                    android:id="@+id/rl_problemType"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    app:layout_constrainedHeight="true"
                    app:layout_constrainedWidth="true"
                    app:layout_constraintBottom_toBottomOf="parent"
                    app:layout_constraintStart_toEndOf="@id/imageView8">
                </android.support.v7.widget.RecyclerView>
 
            </android.support.constraint.ConstraintLayout>
        </android.support.constraint.ConstraintLayout>
    </ScrollView>
    <android.support.design.widget.FloatingActionButton
        android:src="@drawable/icon_open_white"
        android:id="@+id/FAB_menu"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:borderWidth="0dp"
        app:fabSize="normal"
        app:elevation="2dp"
        android:layout_marginEnd="@dimen/fab_margin"
        android:layout_marginBottom="16dp"
        app:layout_anchor="@id/scroll_1"
        app:layout_anchorGravity="bottom|right" />
</android.support.design.widget.CoordinatorLayout>