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"
|
ba547d80
孙向锦
会议不存在UI更新
|
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
|
android:background="@color/red"
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"
android:lines="1"
android:text="票决民生实事项目"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4" />
<TextView
android:id="@+id/title_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:layout_marginRight="20dp"
android:textSize="@dimen/big_text_p5" />
</LinearLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
40
41
42
|
<RelativeLayout
android:id="@+id/election_pannal_OX"
android:layout_width="match_parent"
|
35544865
孙向锦
选举bug 修复
|
43
44
45
|
android:layout_height="50dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
|
ba547d80
孙向锦
会议不存在UI更新
|
46
|
android:layout_below="@+id/line_panel" >
|
fac86401
孙向锦
初始化C5 Vote
|
47
48
49
50
51
52
53
54
|
<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"
android:text="序号"
|
35544865
孙向锦
选举bug 修复
|
55
|
android:textColor="@color/gray"
|
fac86401
孙向锦
初始化C5 Vote
|
56
57
|
android:textSize="@dimen/big_text_p5" />
|
35544865
孙向锦
选举bug 修复
|
58
|
<!-- <View
|
fac86401
孙向锦
初始化C5 Vote
|
59
60
61
62
|
android:id="@+id/view_line"
android:layout_width="2px"
android:layout_height="match_parent"
android:background="@color/votebakground"
|
35544865
孙向锦
选举bug 修复
|
63
|
android:layout_toRightOf="@id/tv_num"/>-->
|
fac86401
孙向锦
初始化C5 Vote
|
64
65
66
67
68
69
|
<TextView
android:id="@+id/tv_name"
android:layout_width="400dp"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
|
35544865
孙向锦
选举bug 修复
|
70
|
android:layout_toRightOf="@id/tv_num"
|
fac86401
孙向锦
初始化C5 Vote
|
71
72
|
android:gravity="center"
android:text="项目"
|
35544865
孙向锦
选举bug 修复
|
73
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
74
75
|
android:textSize="@dimen/big_text_p5" />
|
35544865
孙向锦
选举bug 修复
|
76
|
<!-- <View
|
fac86401
孙向锦
初始化C5 Vote
|
77
78
79
80
|
android:layout_width="2px"
android:layout_height="match_parent"
android:background="@color/votebakground"
android:layout_toRightOf="@id/tv_name"/>
|
35544865
孙向锦
选举bug 修复
|
81
|
-->
|
fac86401
孙向锦
初始化C5 Vote
|
82
83
84
85
86
87
88
|
<TextView
android:id="@+id/tv_agree"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerVertical="true"
android:text="赞成"
|
35544865
孙向锦
选举bug 修复
|
89
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
90
91
92
93
94
95
96
97
98
99
100
|
android:layout_toRightOf="@id/tv_name"
android:layout_marginLeft="50dp"
android:textSize="@dimen/big_text_p5" />
<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="反对"
|
35544865
孙向锦
选举bug 修复
|
101
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
102
103
104
105
106
107
108
109
110
111
112
|
android:layout_toRightOf="@id/tv_agree"
android:layout_marginLeft="40dp"
android:textSize="@dimen/big_text_p5" />
<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="弃权"
|
35544865
孙向锦
选举bug 修复
|
113
|
android:textColor="@color/red"
|
fac86401
孙向锦
初始化C5 Vote
|
114
115
116
117
118
119
120
121
122
123
124
125
126
|
android:layout_toRightOf="@id/tv_oppose"
android:layout_marginLeft="40dp"
android:textSize="@dimen/big_text_p5" />
</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 修复
|
127
|
android:background="@color/white"
|
fac86401
孙向锦
初始化C5 Vote
|
128
129
130
131
132
133
|
android:visibility="visible">
<Button
android:id="@+id/election_btn_confirm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
|
35544865
孙向锦
选举bug 修复
|
134
|
android:layout_centerInParent="true"
|
ba547d80
孙向锦
会议不存在UI更新
|
135
|
android:background="@drawable/oppos_selector"
|
fac86401
孙向锦
初始化C5 Vote
|
136
137
138
139
140
141
142
143
144
|
android:text="@string/confirm_submit"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
<Button
android:id="@+id/election_btn_modify"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
|
35544865
孙向锦
选举bug 修复
|
145
|
android:layout_centerInParent="true"
|
fac86401
孙向锦
初始化C5 Vote
|
146
147
148
149
150
151
152
|
android:background="@drawable/signin_selector"
android:text="@string/modify"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold"
android:visibility="invisible" />
|
fac86401
孙向锦
初始化C5 Vote
|
153
154
155
156
157
158
159
160
161
|
<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
|
162
163
164
165
166
167
168
169
|
</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 修复
|
170
|
android:layout_marginBottom="1dp"
|
fac86401
孙向锦
初始化C5 Vote
|
171
|
android:divider="@color/votebakground"
|
35544865
孙向锦
选举bug 修复
|
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
|
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"
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
|
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
<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
孙向锦
添加一些修改选项
|
235
|
android:layout_marginLeft="200dp"
|
fac86401
孙向锦
初始化C5 Vote
|
236
237
238
239
240
241
242
243
244
245
246
247
248
|
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
孙向锦
添加一些修改选项
|
249
|
android:layout_marginRight="200dp"
|
fac86401
孙向锦
初始化C5 Vote
|
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
|
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>
<TextView
android:id="@+id/singlevote_tv_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="0.9"
android:background="@drawable/voted_empty"
android:gravity="center"
android:rotation="-15"
android:text=""
android:textColor="#ddff9933"
android:textSize="@dimen/big_text_p2"
android:textStyle="bold"
android:visibility="invisible"
|
35544865
孙向锦
选举bug 修复
|
271
|
android:layout_centerInParent="true"
|
fac86401
孙向锦
初始化C5 Vote
|
272
273
274
|
android:layout_marginTop="40dp"
android:layout_marginRight="40dp"/>
</RelativeLayout>
|