fragment_pratice_wrong.xml
2.7 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".fragment.PraticeWrongFragment">
<ImageView
android:id="@+id/img_header"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_160"
android:src="@drawable/wrong_top" />
<TextView
android:id="@+id/tv_wrong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_45"
android:text="全部错题"
android:textColor="@color/color_ffffff"
android:textSize="12sp" />
<TextView
android:id="@+id/tv_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/tv_wrong"
android:layout_marginLeft="@dimen/dp_20"
android:text="20"
android:textColor="@color/color_ffffff"
android:textSize="60sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/tv_num"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginBottom="@dimen/dp_15"
android:layout_toRightOf="@id/tv_num"
android:text="道错题"
android:textColor="#FFFFFF"
android:textSize="12sp" />
<ImageView
android:id="@+id/img_wrong"
android:layout_width="@dimen/dp_24"
android:layout_height="@dimen/dp_24"
android:layout_below="@+id/img_header"
android:layout_marginLeft="@dimen/dp_17"
android:layout_marginTop="@dimen/dp_17"
android:src="@mipmap/wrong_test" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/img_header"
android:layout_alignTop="@+id/img_wrong"
android:layout_marginLeft="@dimen/dp_5"
android:layout_toRightOf="@id/img_wrong"
android:text="错题详情"
android:textColor="#000000"
android:textSize="16sp" />
<View
android:id="@+id/line"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_1"
android:layout_below="@id/img_wrong"
android:layout_marginTop="@dimen/dp_15"
android:background="#E5E5E5" />
<ListView
android:id="@+id/listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/line" />
</RelativeLayout>