Blame view

C5/txpad/src/main/res/layout/activity_paper_report.xml 6.73 KB
fac86401   孙向锦   初始化C5 Vote
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
  <?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"
      android:background="#f0f0f0"
      android:orientation="vertical">
  
      <include
          android:id="@+id/root_panel"
          layout="@layout/root_panel" />
  
      <RelativeLayout
          android:id="@+id/top_panel"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="10dp"
          android:orientation="horizontal">
  
          <ImageView
              android:id="@+id/back"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentLeft="true"
              android:layout_centerVertical="true"
              android:paddingLeft="20dp"
              android:src="@drawable/back" />
  
          <TextView
              android:id="@+id/class_name"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerInParent="true"
              android:layout_gravity="center_horizontal"
              android:gravity="center_horizontal"
              android:text=""
              android:textSize="@dimen/big_text_p2" />
  
          <TextView
              android:id="@+id/class_students_num"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_gravity="center"
              android:layout_marginLeft="20dp"
              android:layout_toEndOf="@id/class_name"
              android:gravity="center"
              android:text=""
              android:textSize="@dimen/big_text_p4" />
      </RelativeLayout>
  
      <LinearLayout
          android:id="@+id/paper_name_line"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/top_panel"
          android:layout_marginTop="10dp"
          android:orientation="horizontal">
  
          <TextView
              android:id="@+id/paper_title"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:layout_marginRight="5dp"
              android:text=""
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/test_start_time"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:text=""
              android:textSize="@dimen/big_text_p5" />
      </LinearLayout>
  
      <RelativeLayout
          android:id="@+id/paper_info_line"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/paper_name_line">
  
          <TextView
              android:id="@+id/paper_score_all"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:text="@string/score_book_paper_all"
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/paper_score_avl"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:layout_toEndOf="@id/paper_score_all"
              android:text="@string/score_book_paper_avl"
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/paper_high_student"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:layout_toEndOf="@id/paper_score_avl"
              android:text="@string/score_book_paper_high_student"
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/paper_low_student"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="20dp"
              android:layout_toEndOf="@id/paper_high_student"
              android:text="@string/score_book_paper_low_student"
              android:textSize="@dimen/big_text_p4" />
  
         <LinearLayout
             android:id="@+id/sort_rang"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_alignParentRight="true"
             android:layout_marginRight="20dp"
             android:background="@drawable/rancnge_background">
             <TextView
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="5dp"
                 android:layout_gravity="center_vertical"
                 android:gravity="center_vertical"
                 android:textSize="@dimen/big_text_p4"
                 android:text="@string/score_book_paper_sort_rang"/>
  
             <ImageView
                 android:id="@+id/sort_rang_img"
                 android:layout_width="20dp"
                 android:layout_height="20dp"
                 android:layout_marginLeft="5dp"
                 android:layout_marginRight="5dp"
                 android:src="@drawable/rang_unchoose"/>
         </LinearLayout>
  
          <LinearLayout
              android:id="@+id/sort_no"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_toStartOf="@id/sort_rang"
              android:background="@drawable/rancnge_background"
              android:layout_marginRight="20dp">
              <TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="5dp"
                  android:layout_gravity="center_vertical"
                  android:gravity="center_vertical"
                  android:textSize="@dimen/big_text_p4"
                  android:text="@string/score_book_paper_sort_no"/>
  
              <ImageView
                  android:id="@+id/sort_no_img"
                  android:layout_width="20dp"
                  android:layout_height="20dp"
                  android:layout_marginLeft="5dp"
                  android:layout_marginRight="5dp"
                  android:src="@drawable/rang_unchoose"/>
          </LinearLayout>
      </RelativeLayout>
  
      <WebView
          android:id="@+id/paper_report"
          android:layout_marginTop="5dp"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_below="@id/paper_info_line"
          android:layout_marginLeft="30dp"
          android:layout_marginRight="30dp"
          android:layout_above="@id/root_panel">
      </WebView>
  
  </RelativeLayout>