item_homework_eval.xml
3.19 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
<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"
tools:layout_width="280dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/bg_homework_eval_item"
tools:ignore="HardcodedText,SmallSp">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="110dp">
<androidx.constraintlayout.utils.widget.ImageFilterView
android:id="@+id/ivTopic"
app:round="10dp"
android:layout_margin="1dp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:id="@+id/tvNo"
tools:text="题目8"
android:layout_width="40dp"
android:layout_height="16dp"
android:layout_gravity="start"
android:background="@drawable/bg_homework_num_left"
android:gravity="center"
android:textColor="@color/white"
android:textSize="9sp" />
</FrameLayout>
<View
android:background="#EEEEEE"
android:layout_width="match_parent"
android:layout_height="1dp"/>
<RadioGroup
android:id="@+id/chkGroup"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingHorizontal="10dp"
android:layout_width="match_parent"
android:layout_height="46dp">
<RadioButton
android:id="@+id/chk1"
android:text="已听懂"
android:textSize="12sp"
android:textColor="@color/white"
android:gravity="center"
android:button="@null"
tools:checked="true"
android:background="@drawable/btn_homework_eval1"
android:layout_marginHorizontal="10dp"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="25dp" />
<RadioButton
android:id="@+id/chk2"
android:text="基本听懂"
android:textSize="12sp"
android:textColor="@color/white"
android:gravity="center"
android:button="@null"
tools:checked="true"
android:background="@drawable/btn_homework_eval2"
android:layout_marginHorizontal="10dp"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="25dp" />
<RadioButton
android:id="@+id/chk3"
android:text="一般听懂"
android:textSize="12sp"
android:textColor="@color/white"
android:gravity="center"
android:button="@null"
tools:checked="true"
android:background="@drawable/btn_homework_eval3"
android:layout_marginHorizontal="10dp"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="25dp" />
</RadioGroup>
</LinearLayout>