activity_homework_feedback.xml
11.4 KB
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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"
tools:ignore="UseCompoundDrawables,HardcodedText,SmallSp,ContentDescription">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
app:navigationIcon="@drawable/svg_back"
app:contentInsetStartWithNavigation="14dp"
android:paddingStart="-8dp"
android:paddingEnd="-8dp"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="40dp">
<TextView
android:text="第二步:教师评语"
android:textSize="18sp"
android:textColor="#333"
android:textStyle="bold"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/btnPublish"
android:text="发布"
android:textSize="13sp"
android:textColor="#1C90F3"
android:textStyle="bold"
android:layout_gravity="end|center_vertical"
android:layout_marginEnd="24dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</androidx.appcompat.widget.Toolbar>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:paddingHorizontal="15dp"
android:paddingBottom="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:text="学生信息"
android:textSize="16sp"
android:textColor="#333"
android:textStyle="bold"
android:gravity="center_vertical"
android:paddingHorizontal="15dp"
android:drawablePadding="5dp"
android:drawableStart="@drawable/svg_ic_stu_info"
android:background="@drawable/shape_radius_top_10"
android:backgroundTint="#DAEBFE"
android:layout_width="match_parent"
android:layout_height="40dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_marginHorizontal="15dp"
android:layout_marginVertical="18dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:text="学生姓名:"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/tvStuName"
tools:text="杨小凯"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Space style="@style/empty_space"/>
<TextView
android:text="年级:"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/tvGrade"
tools:text="六年级"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="96dp"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:paddingBottom="15dp"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:text="作业详情"
android:textSize="16sp"
android:textColor="#333"
android:textStyle="bold"
android:gravity="center_vertical"
android:paddingHorizontal="15dp"
android:drawablePadding="5dp"
android:drawableStart="@drawable/svg_ic_correct"
android:background="@drawable/shape_radius_top_10"
android:backgroundTint="#DAEBFE"
android:layout_width="match_parent"
android:layout_height="40dp"/>
<LinearLayout
android:orientation="horizontal"
android:layout_marginHorizontal="15dp"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:text="正确率:"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/tvPercent"
tools:text="60%"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Space style="@style/empty_space"/>
<TextView
android:text="答题结果"
android:textSize="14sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/btnDetail"
android:text="(点击查看题目详情)"
android:textSize="14sp"
android:textColor="#1C90F3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvCorrect"
tools:listitem="@layout/item_feedback_num"
tools:itemCount="1"
android:layout_marginTop="15dp"
android:layout_marginHorizontal="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:text="错题已经加入到错题本,到错题本查看详情"
android:textSize="12sp"
android:textColor="#666"
android:layout_marginHorizontal="15dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout
android:id="@+id/flEval"
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:text="辅导后错题掌握评估"
android:textSize="16sp"
android:textColor="#333"
android:textStyle="bold"
android:gravity="center_vertical"
android:paddingHorizontal="15dp"
android:drawablePadding="5dp"
android:drawableStart="@drawable/svg_ic_paper"
android:background="@drawable/shape_radius_top_10"
android:backgroundTint="#DAEBFE"
android:layout_width="match_parent"
android:layout_height="40dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvError"
android:orientation="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:layout_marginTop="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:text="教师评语"
android:textSize="16sp"
android:textColor="#333"
android:textStyle="bold"
android:gravity="center_vertical"
android:paddingHorizontal="15dp"
android:drawablePadding="5dp"
android:drawableStart="@drawable/svg_ic_comment"
android:background="@drawable/shape_radius_top_10"
android:backgroundTint="#DAEBFE"
android:layout_width="match_parent"
android:layout_height="40dp"/>
<EditText
android:id="@+id/etComment"
android:hint="非必填, 不超过300字"
android:maxLength="300"
android:textSize="13sp"
android:textColor="#333"
android:textColorHint="#999"
android:gravity="start"
android:background="@null"
android:layout_margin="14dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="Autofill,LabelFor,TextFields" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>