fac86401
孙向锦
初始化C5 Vote
|
1
2
3
4
5
6
7
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/election_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/votebakground" >
|
ba547d80
孙向锦
会议不存在UI更新
|
8
9
10
|
<LinearLayout
android:id="@+id/line_panel"
android:layout_width="match_parent"
|
fac86401
孙向锦
初始化C5 Vote
|
11
|
android:layout_height="wrap_content"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
12
|
android:background="@color/red2"
|
ba547d80
孙向锦
会议不存在UI更新
|
13
14
15
16
17
18
19
20
21
22
23
24
|
android:orientation="horizontal"
android:paddingBottom="20dp"
android:paddingLeft="20dp"
android:paddingRight="80dp"
android:paddingTop="20dp">
<TextView
android:id="@+id/election_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
25
|
android:textStyle="bold"
|
ba547d80
孙向锦
会议不存在UI更新
|
26
27
28
|
android:lines="1"
android:text="票决民生实事项目"
android:textColor="@color/white"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
29
|
android:textSize="@dimen/px60dp" />
|
ba547d80
孙向锦
会议不存在UI更新
|
30
31
32
33
34
35
|
<TextView
android:id="@+id/title_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
36
|
android:textStyle="bold"
|
ba547d80
孙向锦
会议不存在UI更新
|
37
|
android:layout_marginRight="20dp"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
38
39
|
android:textColor="@color/white"
android:textSize="@dimen/px40dp" />
|
ba547d80
孙向锦
会议不存在UI更新
|
40
41
42
|
</LinearLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
43
44
45
|
<RelativeLayout
android:id="@+id/election_pannal_OX"
android:layout_width="match_parent"
|
35544865
孙向锦
选举bug 修复
|
46
47
48
|
android:layout_height="50dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
|
ba547d80
孙向锦
会议不存在UI更新
|
49
|
android:layout_below="@+id/line_panel" >
|
fac86401
孙向锦
初始化C5 Vote
|
50
51
52
53
54
55
56
|
<TextView
android:id="@+id/tv_num"
android:layout_width="80dp"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:gravity="center"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
57
|
android:textStyle="bold"
|
fac86401
孙向锦
初始化C5 Vote
|
58
|
android:text="序号"
|
35544865
孙向锦
选举bug 修复
|
59
|
android:textColor="@color/gray"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
60
|
android:textSize="@dimen/px40dp" />
|
fac86401
孙向锦
初始化C5 Vote
|
61
|
|
35544865
孙向锦
选举bug 修复
|
62
|
<!-- <View
|
fac86401
孙向锦
初始化C5 Vote
|
63
64
65
66
|
android:id="@+id/view_line"
android:layout_width="2px"
android:layout_height="match_parent"
android:background="@color/votebakground"
|
35544865
孙向锦
选举bug 修复
|
67
|
android:layout_toRightOf="@id/tv_num"/>-->
|
fac86401
孙向锦
初始化C5 Vote
|
68
69
70
|
<TextView
android:id="@+id/tv_name"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
71
|
android:layout_width="@dimen/px1000dp"
|
fac86401
孙向锦
初始化C5 Vote
|
72
73
|
android:layout_height="wrap_content"
android:layout_centerVertical="true"
|
35544865
孙向锦
选举bug 修复
|
74
|
android:layout_toRightOf="@id/tv_num"
|
fac86401
孙向锦
初始化C5 Vote
|
75
|
android:gravity="center"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
76
|
android:textStyle="bold"
|
fac86401
孙向锦
初始化C5 Vote
|
77
|
android:text="项目"
|
35544865
孙向锦
选举bug 修复
|
78
|
android:textColor="@color/red"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
79
|
android:textSize="@dimen/px40dp" />
|
fac86401
孙向锦
初始化C5 Vote
|
80
|
|
35544865
孙向锦
选举bug 修复
|
81
|
<!-- <View
|
fac86401
孙向锦
初始化C5 Vote
|
82
83
84
85
|
android:layout_width="2px"
android:layout_height="match_parent"
android:background="@color/votebakground"
android:layout_toRightOf="@id/tv_name"/>
|
35544865
孙向锦
选举bug 修复
|
86
|
-->
|
fac86401
孙向锦
初始化C5 Vote
|
87
88
89
90
91
92
|
<TextView
android:id="@+id/tv_agree"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerVertical="true"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
93
|
android:textStyle="bold"
|
fac86401
孙向锦
初始化C5 Vote
|
94
|
android:text="赞成"
|
35544865
孙向锦
选举bug 修复
|
95
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
96
|
android:layout_toRightOf="@id/tv_name"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
97
98
|
android:layout_marginLeft="@dimen/px300dp"
android:textSize="@dimen/px40dp" />
|
fac86401
孙向锦
初始化C5 Vote
|
99
100
101
102
103
104
105
106
|
<TextView
android:id="@+id/tv_oppose"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerVertical="true"
android:text="反对"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
107
|
android:visibility="gone"
|
35544865
孙向锦
选举bug 修复
|
108
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
109
110
|
android:layout_toRightOf="@id/tv_agree"
android:layout_marginLeft="40dp"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
111
|
android:textSize="@dimen/px40dp" />
|
fac86401
孙向锦
初始化C5 Vote
|
112
113
114
115
116
117
118
119
|
<TextView
android:id="@+id/tv_abstain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerVertical="true"
android:text="弃权"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
120
|
android:visibility="gone"
|
35544865
孙向锦
选举bug 修复
|
121
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
122
123
|
android:layout_toRightOf="@id/tv_oppose"
android:layout_marginLeft="40dp"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
124
|
android:textSize="@dimen/px40dp" />
|
fac86401
孙向锦
初始化C5 Vote
|
125
126
127
128
129
130
131
132
133
134
|
</RelativeLayout>
<RelativeLayout
android:id="@+id/election_pannal_bottom"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:alpha="0.9"
|
35544865
孙向锦
选举bug 修复
|
135
|
android:background="@color/white"
|
fac86401
孙向锦
初始化C5 Vote
|
136
137
138
139
|
android:visibility="visible">
<Button
android:id="@+id/election_btn_confirm"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
140
141
|
android:layout_width="@dimen/px420dp"
android:layout_height="@dimen/px110dp"
|
35544865
孙向锦
选举bug 修复
|
142
|
android:layout_centerInParent="true"
|
ba547d80
孙向锦
会议不存在UI更新
|
143
|
android:background="@drawable/oppos_selector"
|
fac86401
孙向锦
初始化C5 Vote
|
144
145
|
android:text="@string/confirm_submit"
android:textColor="@color/white"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
146
|
android:textSize="@dimen/px60dp"
|
fac86401
孙向锦
初始化C5 Vote
|
147
148
149
150
|
android:textStyle="bold" />
<Button
android:id="@+id/election_btn_modify"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
151
152
|
android:layout_width="@dimen/px420dp"
android:layout_height="@dimen/px110dp"
|
35544865
孙向锦
选举bug 修复
|
153
|
android:layout_centerInParent="true"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
154
|
android:background="@drawable/agree_selector"
|
fac86401
孙向锦
初始化C5 Vote
|
155
156
|
android:text="@string/modify"
android:textColor="@color/white"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
157
|
android:textSize="@dimen/px60dp"
|
fac86401
孙向锦
初始化C5 Vote
|
158
159
160
|
android:textStyle="bold"
android:visibility="invisible" />
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
161
|
|
fac86401
孙向锦
初始化C5 Vote
|
162
163
164
165
166
167
168
169
170
|
<TextView
android:id="@+id/tv_tip_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text=""
android:textSize="@dimen/big_text_p4" />
|
fac86401
孙向锦
初始化C5 Vote
|
171
172
173
174
175
176
177
178
|
</RelativeLayout>
<ListView
android:id="@+id/election_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/election_pannal_bottom"
android:layout_below="@id/election_pannal_OX"
|
35544865
孙向锦
选举bug 修复
|
179
|
android:layout_marginBottom="1dp"
|
fac86401
孙向锦
初始化C5 Vote
|
180
|
android:divider="@color/votebakground"
|
35544865
孙向锦
选举bug 修复
|
181
182
183
184
185
186
187
188
189
190
191
192
|
android:background="@color/white"
android:dividerHeight="1dp" />
<LinearLayout
android:layout_width="40dp"
android:layout_height="150dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginBottom="50dp"
android:layout_marginRight="20dp"
android:layout_marginTop="50dp"
android:background="@drawable/right_control"
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
193
|
android:visibility="gone"
|
35544865
孙向锦
选举bug 修复
|
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
android:orientation="vertical">
<ImageView
android:id="@+id/election_pageup"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:padding="10dp"
android:src="@drawable/page_up" />
<ImageView
android:id="@+id/election_pagedown"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:padding="10dp"
android:src="@drawable/page_down" />
<ImageView
android:id="@+id/election_pagelast"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:padding="10dp"
android:src="@drawable/page_frist" />
</LinearLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
|
<RelativeLayout
android:id="@+id/singlevote_confirm_panel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ff000000"
android:visibility="gone">
<TextView
android:id="@+id/singlevote_confirm_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="100dp"
android:text="@string/cant_modify_confirm"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4" />
<Button
android:id="@+id/singlevote_btn_confirm_cancel"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_alignParentLeft="true"
android:layout_below="@id/singlevote_confirm_textview"
|
e129be23
孙向锦
添加一些修改选项
|
245
|
android:layout_marginLeft="200dp"
|
fac86401
孙向锦
初始化C5 Vote
|
246
247
248
249
250
251
252
253
254
255
256
257
258
|
android:layout_marginTop="@dimen/button_to_right"
android:background="@drawable/btn_signin_d"
android:text="@string/cancel"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p5"
android:textStyle="bold" />
<Button
android:id="@+id/singlevote_btn_confirm_ok"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_alignParentRight="true"
android:layout_below="@id/singlevote_confirm_textview"
|
e129be23
孙向锦
添加一些修改选项
|
259
|
android:layout_marginRight="200dp"
|
fac86401
孙向锦
初始化C5 Vote
|
260
261
262
263
264
265
266
267
|
android:layout_marginTop="@dimen/button_to_right"
android:background="@drawable/btn_agree"
android:text="@string/ok"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p5"
android:textStyle="bold" />
</RelativeLayout>
|
e3db4ced
wutaian
修改投票,民事表决,新增民事表决结果
|
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
|
<FrameLayout
android:id="@+id/result_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/election_pannal_bottom"
android:visibility="gone"
android:gravity="center">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:alpha="0.4"
android:orientation="horizontal"/>
<TextView
android:id="@+id/singlevote_tv_result"
android:layout_width="@dimen/px625dp"
android:layout_height="@dimen/px217dp"
android:layout_marginTop="@dimen/px100dp"
android:background="@drawable/voted"
android:layout_gravity="center"
android:textSize="@dimen/big_text_p2"
android:textStyle="bold"/>
<TextView
android:id="@+id/submiting_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/px100dp"
android:layout_gravity="center"
android:textColor="@color/red"
android:text="@string/submiting"
android:textSize="@dimen/px140dp"
android:visibility="gone"
android:textStyle="bold"/>
</FrameLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
306
|
</RelativeLayout>
|