activity_student_homework.xml
2.94 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
<?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="HardcodedText">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
app:navigationIcon="@drawable/svg_back"
android:paddingStart="-8dp"
android:paddingEnd="-8dp"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="40dp">
<TextView
android:id="@+id/tvTitle"
tools:text="小明的全部作业"
android:textSize="18sp"
android:textColor="#333"
android:textStyle="bold"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/btnChangeStudent"
android:src="@drawable/png_ic_change_student"
android:layout_gravity="end"
android:layout_marginEnd="24dp"
android:layout_width="20dp"
android:layout_height="20dp"/>
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:orientation="horizontal"
android:background="@color/white"
android:paddingHorizontal="15dp"
android:paddingVertical="11dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/ftSubject"
android:text="学科"
style="@style/tv_StudentHomeworkFilter"/>
<Space style="@style/empty_space"/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/ftGrade"
android:text="年级"
style="@style/tv_StudentHomeworkFilter"/>
<Space style="@style/empty_space"/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/ftTerm"
android:text="学期"
style="@style/tv_StudentHomeworkFilter"/>
<Space style="@style/empty_space"/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/ftFeedback"
android:text="反馈状态"
style="@style/tv_StudentHomeworkFilter"/>
</LinearLayout>
<androidx.legacy.widget.Space
android:id="@+id/anchorView"
android:layout_width="0dp"
android:layout_height="0dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:background="#F8F8F8"
android:orientation="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>