Blame view

C5/txpad/src/main/res/layout/item_view_student_exam.xml 5.27 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
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:custom="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="horizontal">
  
      <ListView
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="1">
  
      </ListView>
  
      <LinearLayout
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="6"
          android:orientation="vertical">
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="1"
              android:background="#50B4C8"
              android:orientation="vertical">
  
              <RelativeLayout
                  android:id="@+id/username_linear"
                  android:layout_width="match_parent"
                  android:layout_height="40dp"
                  android:layout_marginTop="10dp">
  
                  <TextView
                      android:id="@+id/username"
                      android:layout_width="wrap_content"
                      android:layout_height="match_parent"
                      android:layout_centerHorizontal="true"
                      android:textSize="@dimen/big_text_p3"
                      android:gravity="center"
                      android:textColor="@color/white"
                      android:text="陈为民"/>
  
                  <TextView
                      android:id="@+id/wrong_book"
                      android:layout_width="wrap_content"
                      android:layout_height="match_parent"
                      android:layout_alignParentRight="true"
                      android:textColor="#9BFBFF"
                      android:gravity="center"
                      android:textSize="@dimen/big_text_p3"
                      android:layout_marginRight="20dp"
                      android:text="个人错题本"
                      android:paddingLeft="10dp"
                      android:paddingRight="10dp"
                      android:background="@drawable/rancnge_background"/>
  
              </RelativeLayout>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_weight="1"
                  android:orientation="horizontal">
  
                  <com.sunvote.txpad.view.SemiCircleView
                      android:layout_width="0dp"
                      android:layout_height="match_parent"
                      android:layout_weight="1"
                      custom:bgColor="#30888888"
                      custom:currProgress="216"
                      custom:foreEndColor="#fc8378"
                      custom:foreStartColor="#ffd994"
                      custom:maxProgress="240"
                      custom:progressInitialPosition="150"
                      custom:progressWidth="8dp"
                      android:layout_gravity="center_horizontal"
                      custom:desc="参与测试"
                      custom:useAnimation="true"/>
  
                  <com.sunvote.txpad.view.SemiCircleView
                      android:layout_width="0dp"
                      android:layout_height="match_parent"
                      android:layout_weight="1"
                      custom:bgColor="#30888888"
                      custom:currProgress="171"
                      custom:foreEndColor="#fc8378"
                      custom:foreStartColor="#ffd994"
                      custom:maxProgress="240"
                      custom:progressInitialPosition="150"
                      custom:progressWidth="8dp"
                      custom:desc="个人平均得分率"
                      android:layout_gravity="center_horizontal"
                      custom:useAnimation="true"/>
  
              </LinearLayout>
  
              <View
                  android:layout_width="match_parent"
                  android:layout_height="1dp"
                  android:layout_marginRight="30dp"
                  android:layout_marginLeft="30dp"
                  android:background="@color/blue"/>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="40dp"
                  android:orientation="horizontal">
  
                  <TextView
                      android:layout_width="0dp"
                      android:layout_height="match_parent"
                      android:layout_weight="1"
                      android:gravity="center"
                      android:textColor="@color/text_blank"
                      android:textSize="@dimen/big_text_p4"
                      android:text="班级平均得分率58%"/>
  
                  <TextView
                      android:layout_width="0dp"
                      android:layout_height="match_parent"
                      android:layout_weight="1"
                      android:gravity="center"
                      android:textColor="@color/text_blank"
                      android:textSize="@dimen/big_text_p4"
                      android:text="班级平均得分率58%"/>
  
              </LinearLayout>
  
          </LinearLayout>
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="1">
  
          </LinearLayout>
  
      </LinearLayout>
  
  
  </LinearLayout>