item_homework_error.xml
1.85 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
<?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="wrap_content"
android:layout_marginBottom="20dp"
tools:ignore="ContentDescription,HardcodedText">
<ImageView
android:id="@+id/ivTopic"
android:adjustViewBounds="true"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:text="知识点"
android:textSize="15sp"
android:textColor="@color/white"
android:textStyle="bold"
android:paddingStart="66dp"
android:paddingEnd="40dp"
android:gravity="center_vertical"
android:background="@drawable/bg_knowledge_point_title"
android:layout_width="156dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"/>
<TextView
android:id="@+id/tvPoints"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="8dp"/>
<TextView
android:text="解析"
android:textSize="15sp"
android:textColor="@color/white"
android:textStyle="bold"
android:paddingStart="66dp"
android:paddingEnd="40dp"
android:gravity="center_vertical"
android:background="@drawable/bg_analyse_title"
android:layout_width="156dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"/>
<ImageView
android:id="@+id/ivAnalyze"
android:adjustViewBounds="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>