activity_homework_select.xml
3.53 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
<?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"
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"/>
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:orientation="horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="8dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/chkAll"
android:text="全选"
android:textSize="13sp"
android:textColor="#333"
android:button="@drawable/chk_circle"
android:gravity="center_vertical"
android:paddingStart="8dp"
android:paddingEnd="0dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Space style="@style/empty_space"/>
<TextView
android:text="已选择 "
android:textSize="13sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/tvNumber"
android:text="0"
android:textSize="13sp"
android:textColor="#1C90F3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:text=" 道错题"
android:textSize="13sp"
android:textColor="#333"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:orientation="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"/>
<FrameLayout
android:background="@color/white"
android:paddingTop="8dp"
android:paddingBottom="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/btnConfirm"
android:text="作业全对"
android:textSize="16sp"
android:textColor="@color/white"
android:gravity="center"
android:layout_gravity="center"
android:background="@drawable/shape_radius_5"
android:backgroundTint="#4ABC78"
android:layout_width="265dp"
android:layout_height="36dp"/>
</FrameLayout>
</LinearLayout>