Blame view

C5/app/src/main/res/layout/fragment_result_election.xml 7.17 KB
fac86401   孙向锦   初始化C5 Vote
1
  <?xml version="1.0" encoding="utf-8"?>
75386c29   孙向锦   选举结果UI修改
2
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
fac86401   孙向锦   初始化C5 Vote
3
4
5
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#ff004586"
75386c29   孙向锦   选举结果UI修改
6
      android:orientation="vertical">
fac86401   孙向锦   初始化C5 Vote
7
8
  
      <RelativeLayout
75386c29   孙向锦   选举结果UI修改
9
          android:id="@+id/title_linear"
fac86401   孙向锦   初始化C5 Vote
10
11
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
75386c29   孙向锦   选举结果UI修改
12
          android:layout_marginTop="10dp">
fac86401   孙向锦   初始化C5 Vote
13
14
15
16
17
18
  
          <ImageButton
              android:id="@+id/fragment_result_election_btn_back"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="@dimen/content_margin"
75386c29   孙向锦   选举结果UI修改
19
20
              android:background="@drawable/back_white_selector"
              android:visibility="invisible" />
fac86401   孙向锦   初始化C5 Vote
21
22
23
24
25
26
27
28
  
          <TextView
              android:id="@+id/fragment_result_election_bill_title"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_marginLeft="@dimen/content_margin"
              android:layout_marginRight="@dimen/content_margin"
75386c29   孙向锦   选举结果UI修改
29
              android:ellipsize="end"
fac86401   孙向锦   初始化C5 Vote
30
              android:gravity="center"
75386c29   孙向锦   选举结果UI修改
31
              android:lines="1"
fac86401   孙向锦   初始化C5 Vote
32
33
              android:text="@string/vote_election"
              android:textColor="@color/white"
fac86401   孙向锦   初始化C5 Vote
34
35
36
37
38
39
40
41
              android:textSize="@dimen/big_text_p3"
              android:textStyle="bold" />
      </RelativeLayout>
  
      <TextView
          android:id="@+id/fragment_result_election_title"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
75386c29   孙向锦   选举结果UI修改
42
          android:layout_below="@id/title_linear"
fac86401   孙向锦   初始化C5 Vote
43
44
45
          android:layout_centerHorizontal="true"
          android:layout_marginLeft="@dimen/content_margin"
          android:layout_marginRight="@dimen/content_margin"
75386c29   孙向锦   选举结果UI修改
46
          android:layout_marginTop="10dp"
fac86401   孙向锦   初始化C5 Vote
47
          android:gravity="center"
75386c29   孙向锦   选举结果UI修改
48
          android:lines="1"
fac86401   孙向锦   初始化C5 Vote
49
50
51
52
53
          android:text="@string/vote_result"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p3" />
  
      <LinearLayout
75386c29   孙向锦   选举结果UI修改
54
          android:id="@+id/data_title_layout"
fac86401   孙向锦   初始化C5 Vote
55
56
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
75386c29   孙向锦   选举结果UI修改
57
58
59
60
          android:layout_below="@id/fragment_result_election_title"
          android:layout_marginTop="20dp"
          android:orientation="horizontal"
          android:paddingRight="80dp">
fac86401   孙向锦   初始化C5 Vote
61
62
63
  
          <TextView
              android:id="@+id/fragment_result_election_num"
75386c29   孙向锦   选举结果UI修改
64
              android:layout_width="140dp"
fac86401   孙向锦   初始化C5 Vote
65
              android:layout_height="match_parent"
75386c29   孙向锦   选举结果UI修改
66
              android:gravity="center"
fac86401   孙向锦   初始化C5 Vote
67
68
              android:paddingLeft="@dimen/content_margin"
              android:text="@string/name_index"
75386c29   孙向锦   选举结果UI修改
69
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
70
71
72
73
74
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/fragment_result_election_name"
75386c29   孙向锦   选举结果UI修改
75
              android:layout_width="0dp"
fac86401   孙向锦   初始化C5 Vote
76
              android:layout_height="match_parent"
fac86401   孙向锦   初始化C5 Vote
77
78
              android:layout_weight="1"
              android:text="@string/name_xpad"
75386c29   孙向锦   选举结果UI修改
79
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
80
81
82
83
84
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/fragment_result_election_agree_num"
75386c29   孙向锦   选举结果UI修改
85
              android:layout_width="140dp"
fac86401   孙向锦   初始化C5 Vote
86
              android:layout_height="match_parent"
75386c29   孙向锦   选举结果UI修改
87
              android:gravity="center"
fac86401   孙向锦   初始化C5 Vote
88
              android:text="@string/agree_num"
75386c29   孙向锦   选举结果UI修改
89
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
90
91
92
93
94
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/fragment_result_election_oppose_num"
75386c29   孙向锦   选举结果UI修改
95
              android:layout_width="140dp"
fac86401   孙向锦   初始化C5 Vote
96
              android:layout_height="match_parent"
75386c29   孙向锦   选举结果UI修改
97
              android:gravity="center"
fac86401   孙向锦   初始化C5 Vote
98
              android:text="@string/oppose_num"
75386c29   孙向锦   选举结果UI修改
99
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
100
101
102
103
104
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/fragment_result_election_abstant_num"
75386c29   孙向锦   选举结果UI修改
105
              android:layout_width="140dp"
fac86401   孙向锦   初始化C5 Vote
106
              android:layout_height="match_parent"
75386c29   孙向锦   选举结果UI修改
107
              android:gravity="center"
fac86401   孙向锦   初始化C5 Vote
108
              android:text="@string/abstant_num"
75386c29   孙向锦   选举结果UI修改
109
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
110
111
112
113
114
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/fragment_result_election_result"
75386c29   孙向锦   选举结果UI修改
115
              android:layout_width="140dp"
fac86401   孙向锦   初始化C5 Vote
116
117
118
              android:layout_height="match_parent"
              android:layout_alignParentRight="true"
              android:layout_centerVertical="true"
75386c29   孙向锦   选举结果UI修改
119
              android:gravity="center"
fac86401   孙向锦   初始化C5 Vote
120
              android:text="@string/result"
75386c29   孙向锦   选举结果UI修改
121
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
122
123
124
125
126
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
      </LinearLayout>
  
      <LinearLayout
75386c29   孙向锦   选举结果UI修改
127
128
129
130
131
132
133
          android:id="@+id/bottom_linear"
          android:layout_width="800dp"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="20dp"
          android:orientation="horizontal">
fac86401   孙向锦   初始化C5 Vote
134
  
75386c29   孙向锦   选举结果UI修改
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
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="right"
              android:text="@string/yindao1"
              android:textColor="@color/yellow"
              android:textSize="@dimen/big_text_p3"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/yingdaoresult"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="10dp"
              android:layout_marginRight="60dp"
              android:layout_weight="1"
              android:gravity="left"
              android:text="150"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p3" />
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="60dp"
              android:layout_weight="1"
              android:gravity="right"
              android:text="@string/shidao1"
              android:textColor="@color/yellow"
              android:textSize="@dimen/big_text_p3"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/shidaoresult"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="10dp"
              android:layout_weight="1"
              android:gravity="left"
              android:text="150"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p3" />
fac86401   孙向锦   初始化C5 Vote
178
  
fac86401   孙向锦   初始化C5 Vote
179
      </LinearLayout>
75386c29   孙向锦   选举结果UI修改
180
181
182
183
184
185
186
187
188
189
190
191
  
      <ListView
          android:id="@+id/fragment_result_election_list"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_above="@id/bottom_linear"
          android:layout_below="@id/data_title_layout"
          android:layout_marginBottom="@dimen/content_margin"
          android:divider="@color/votebakground"
          android:dividerHeight="1dp" />
  
  </RelativeLayout>