activity_examination_gird.xml
3.41 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/title_panel" android:id="@+id/top_panel"/>
<include layout="@layout/root_panel" android:id="@+id/bottom_panel"/>
<RelativeLayout
android:id="@+id/p_title_panel"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_below="@id/top_panel">
<TextView
android:id="@+id/sign_num_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text="提交:26/30"
android:textSize="@dimen/big_text_p3" />
<ProgressBar
android:id="@+id/sign_process_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="400dp"
android:layout_height="25dp"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:layout_toRightOf="@id/sign_num_desc"
android:max="30"
android:progress="26"
android:progressDrawable="@drawable/progressbar" />
<TextView
android:id="@+id/rest_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:gravity="center"
android:text="00:00"
android:textColor="#cc0000"
android:textSize="@dimen/big_text_p3" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:layout_toLeftOf="@id/rest_time"
android:gravity="center"
android:text="答题计时:"
android:textSize="@dimen/big_text_p3" />
</RelativeLayout>
<TextView
android:id="@+id/exam_control"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/examitation_start_exam"
android:layout_above="@+id/bottom_panel"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:textSize="@dimen/big_text_p3"
android:background="@drawable/rancnge_background"/>
<GridView
android:id="@+id/students"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/exam_control"
android:layout_below="@id/p_title_panel"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="20dp"
android:columnWidth="120dp"
android:gravity="center"
android:horizontalSpacing="10dp"
android:numColumns="auto_fit"
android:stretchMode="columnWidth"
android:verticalSpacing="10dp"></GridView>
</RelativeLayout>