fac86401
孙向锦
初始化C5 Vote
|
1
2
3
4
|
<?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"
|
1c5059dd
孙向锦
下载文件UI更新
|
5
|
android:background="@color/votebakground">
|
fac86401
孙向锦
初始化C5 Vote
|
6
7
8
9
10
11
|
<!--标题-->
<LinearLayout
android:id="@+id/title_linear"
android:layout_width="match_parent"
android:layout_height="wrap_content"
|
1c5059dd
孙向锦
下载文件UI更新
|
12
13
14
15
16
17
|
android:background="#AC1007"
android:orientation="horizontal"
android:paddingBottom="20dp"
android:paddingLeft="20dp"
android:paddingTop="20dp"
android:paddingRight="80dp">
|
fac86401
孙向锦
初始化C5 Vote
|
18
19
20
|
<ImageButton
android:id="@+id/content_detail_btnback"
|
f839a78e
孙向锦
commit
|
21
22
|
android:layout_width="@dimen/px120dp"
android:layout_height="@dimen/px120dp"
|
1c5059dd
孙向锦
下载文件UI更新
|
23
|
android:layout_gravity="center_vertical"
|
f839a78e
孙向锦
commit
|
24
|
android:background="@drawable/back" />
|
fac86401
孙向锦
初始化C5 Vote
|
25
26
27
28
29
|
<TextView
android:id="@+id/content_detail_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
|
1c5059dd
孙向锦
下载文件UI更新
|
30
|
android:layout_gravity="center_vertical"
|
fac86401
孙向锦
初始化C5 Vote
|
31
|
android:layout_marginLeft="10dp"
|
1c5059dd
孙向锦
下载文件UI更新
|
32
|
android:layout_weight="1"
|
fac86401
孙向锦
初始化C5 Vote
|
33
34
35
36
|
android:ellipsize="end"
android:gravity="left"
android:lines="1"
android:text="title"
|
1c5059dd
孙向锦
下载文件UI更新
|
37
38
39
|
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
|
fac86401
孙向锦
初始化C5 Vote
|
40
41
42
43
44
|
<Button
android:id="@+id/btn_look_pdf"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
|
1c5059dd
孙向锦
下载文件UI更新
|
45
46
|
android:layout_gravity="center_vertical"
android:layout_marginRight="20dp"
|
f839a78e
孙向锦
commit
|
47
|
android:background="@drawable/oppos_selector"
|
fac86401
孙向锦
初始化C5 Vote
|
48
|
android:text="查看批注"
|
f839a78e
孙向锦
commit
|
49
|
android:textColor="@color/white"
|
fac86401
孙向锦
初始化C5 Vote
|
50
|
android:textSize="@dimen/big_text_p4"
|
f839a78e
孙向锦
commit
|
51
|
android:visibility="gone"
|
fac86401
孙向锦
初始化C5 Vote
|
52
53
54
55
56
57
58
59
60
61
|
android:textStyle="bold" />
</LinearLayout>
<!--投票选项-->
<RelativeLayout
android:id="@+id/content_detail_pannal_vote"
android:layout_width="match_parent"
android:layout_height="@dimen/linear_heigh"
android:layout_alignParentBottom="true"
android:alpha="0.9"
|
1c5059dd
孙向锦
下载文件UI更新
|
62
|
android:background="@drawable/black_alpha">
|
fac86401
孙向锦
初始化C5 Vote
|
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
|
<Button
android:id="@+id/content_detail_btnB"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/oppos_selector"
android:gravity="center"
android:text="@string/oppose"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
<Button
android:id="@+id/content_detail_btnA"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/content_margin"
android:layout_toLeftOf="@id/content_detail_btnB"
android:background="@drawable/agree_selector"
android:text="@string/abstant"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
<Button
android:id="@+id/content_detail_btnC"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/content_margin"
android:layout_toRightOf="@id/content_detail_btnB"
android:background="@drawable/abstain_selector"
android:text="赞成"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
</RelativeLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
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
|
<!--修改选项-->
<RelativeLayout
android:id="@+id/content_detail_pannal_modify"
android:layout_width="match_parent"
android:layout_height="@dimen/linear_heigh"
android:layout_alignParentBottom="true"
android:background="@color/black"
android:visibility="invisible">
<Button
android:id="@+id/content_detail_btn_modify"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/signin_selector"
android:text="@string/modify"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/content_detail_pannal_vote1"
android:layout_width="match_parent"
android:layout_height="@dimen/linear_heigh"
android:layout_alignParentBottom="true"
|
fac86401
孙向锦
初始化C5 Vote
|
130
|
android:background="@drawable/black_alpha"
|
1c5059dd
孙向锦
下载文件UI更新
|
131
|
android:gravity="center_horizontal"
|
fac86401
孙向锦
初始化C5 Vote
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
android:visibility="gone">
</RelativeLayout>
<!--正文内容PDF-->
<RelativeLayout
android:id="@+id/content_detail_scview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@id/content_detail_pannal_vote"
android:layout_below="@+id/title_linear"
android:layout_marginBottom="@dimen/content_margin"
android:layout_marginLeft="@dimen/content_margin"
android:layout_marginRight="@dimen/content_margin"
android:layout_marginTop="@dimen/content_margin"
android:background="@color/white"
|
1c5059dd
孙向锦
下载文件UI更新
|
147
148
|
android:fillViewport="false">
|
fac86401
孙向锦
初始化C5 Vote
|
149
150
151
152
153
154
|
<com.github.barteksc.pdfviewer.PDFView
android:id="@+id/content_detail_pdfview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="86dp"
android:layout_marginRight="86dp"
|
1c5059dd
孙向锦
下载文件UI更新
|
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
android:background="@color/white" />
<!--投票状态-->
<RelativeLayout
android:id="@+id/content_detail_pannal_tips"
android:layout_width="match_parent"
android:layout_height="@dimen/linear_heigh"
android:layout_alignParentBottom="true"
android:background="@color/yellow"
android:visibility="invisible">
<TextView
android:id="@+id/content_detail_tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="@string/submiting"
android:textColor="@color/red"
android:textSize="@dimen/big_text_p4"
android:textStyle="bold" />
</RelativeLayout>
|
fac86401
孙向锦
初始化C5 Vote
|
176
177
178
179
180
181
182
183
184
185
|
</RelativeLayout>
<!--投票结果,居中显示-->
<TextView
android:id="@+id/content_detail_tv_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/content_detail_scview"
android:layout_centerInParent="true"
android:layout_marginTop="@dimen/content_margin"
android:alpha="0.9"
|
fac86401
孙向锦
初始化C5 Vote
|
186
|
android:gravity="center"
|
1c5059dd
孙向锦
下载文件UI更新
|
187
|
android:rotation="-20"
|
fac86401
孙向锦
初始化C5 Vote
|
188
189
190
191
192
193
194
195
196
197
|
android:textColor="#ddff9933"
android:textSize="@dimen/big_text_p2"
android:textStyle="bold"
android:visibility="visible" />
<!--提交确认-->
<RelativeLayout
android:id="@+id/content_detail_confirm_panel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ff000000"
|
1c5059dd
孙向锦
下载文件UI更新
|
198
|
android:visibility="gone">
|
fac86401
孙向锦
初始化C5 Vote
|
199
200
201
202
203
204
|
<TextView
android:id="@+id/content_detail_confirm_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
|
fac86401
孙向锦
初始化C5 Vote
|
205
206
|
android:layout_marginLeft="@dimen/content_margin"
android:layout_marginRight="@dimen/content_margin"
|
1c5059dd
孙向锦
下载文件UI更新
|
207
|
android:layout_marginTop="@dimen/button_to_content"
|
fac86401
孙向锦
初始化C5 Vote
|
208
|
android:gravity="center"
|
1c5059dd
孙向锦
下载文件UI更新
|
209
210
|
android:text="@string/cant_modify_confirm"
android:textColor="@color/white"
|
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
235
236
237
238
239
240
241
242
|
android:textSize="@dimen/big_text_p4" />
<Button
android:id="@+id/content_detail_btn_confirm_cancel"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_alignParentLeft="true"
android:layout_below="@id/content_detail_confirm_textview"
android:layout_marginLeft="@dimen/button_to_left"
android:layout_marginTop="@dimen/button_to_content"
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/content_detail_btn_confirm_ok"
android:layout_width="@dimen/button_width"
android:layout_height="@dimen/button_heigh"
android:layout_alignParentRight="true"
android:layout_below="@id/content_detail_confirm_textview"
android:layout_marginRight="@dimen/button_to_right"
android:layout_marginTop="@dimen/button_to_content"
android:background="@drawable/btn_agree"
android:text="@string/ok"
android:textColor="@color/white"
android:textSize="@dimen/big_text_p5"
android:textStyle="bold" />
</RelativeLayout>
</RelativeLayout>
|