item_homework_detail.xml
1.87 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:paddingVertical="14dp"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="8dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="SmallSp">
<LinearLayout
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginStart="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/checkbox"
android:visibility="gone"
tools:visibility="visible"
android:button="@drawable/chk_circle"
android:layout_marginEnd="5dp"
android:layout_width="16dp"
android:layout_height="16dp"/>
<TextView
android:id="@+id/tvNumber"
tools:text="第1题"
android:textSize="9sp"
android:textColor="@color/white"
android:paddingHorizontal="7dp"
android:paddingVertical="3dp"
android:background="@drawable/shape_radius_5"
android:backgroundTint="#489AFA"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<ImageView
android:id="@+id/ivTopic"
android:adjustViewBounds="true"
android:layout_marginStart="10dp"
android:layout_marginEnd="4dp"
android:layout_marginTop="14dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:importantForAccessibility="no" />
</LinearLayout>