Blame view

C5/app/src/main/res/layout/fragment_result_vote.xml 9.92 KB
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"
4c3de86c   孙向锦   UI改版第一版
5
6
7
8
9
      android:background="#ff0952B5"
      android:orientation="vertical">
      <LinearLayout
          android:id="@+id/result_layout"
          android:layout_width="wrap_content"
fac86401   孙向锦   初始化C5 Vote
10
          android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
11
12
13
14
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="50dp"
          android:orientation="vertical">
fac86401   孙向锦   初始化C5 Vote
15
16
  
          <TextView
4c3de86c   孙向锦   UI改版第一版
17
              android:id="@+id/fragment_memo"
fac86401   孙向锦   初始化C5 Vote
18
19
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
fac86401   孙向锦   初始化C5 Vote
20
              android:gravity="center"
4c3de86c   孙向锦   UI改版第一版
21
              android:text="表决结果"
fac86401   孙向锦   初始化C5 Vote
22
              android:textColor="@color/white"
fac86401   孙向锦   初始化C5 Vote
23
              android:textSize="@dimen/big_text_p3"
4c3de86c   孙向锦   UI改版第一版
24
              android:textStyle="bold" />
fac86401   孙向锦   初始化C5 Vote
25
26
  
          <TextView
4c3de86c   孙向锦   UI改版第一版
27
28
              android:id="@+id/fragment_result_memo"
              android:layout_width="fill_parent"
fac86401   孙向锦   初始化C5 Vote
29
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
30
31
32
33
34
35
36
              android:layout_marginTop="10dp"
              android:gravity="center"
              android:text="通过"
              android:textColor="@color/yellow"
              android:textSize="@dimen/big_text_p2"
              android:textStyle="bold" />
      </LinearLayout>
fac86401   孙向锦   初始化C5 Vote
37
  
fac86401   孙向锦   初始化C5 Vote
38
      <RelativeLayout
4c3de86c   孙向锦   UI改版第一版
39
40
          android:id="@+id/data_title_layout"
          android:layout_width="match_parent"
fac86401   孙向锦   初始化C5 Vote
41
          android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
42
43
          android:layout_below="@id/result_layout"
          android:layout_marginTop="20dp">
fac86401   孙向锦   初始化C5 Vote
44
  
4c3de86c   孙向锦   UI改版第一版
45
46
47
          <LinearLayout
              android:id="@+id/t_result"
              android:layout_width="800dp"
fac86401   孙向锦   初始化C5 Vote
48
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
49
50
              android:layout_centerHorizontal="true"
              android:orientation="horizontal">
fac86401   孙向锦   初始化C5 Vote
51
  
4c3de86c   孙向锦   UI改版第一版
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
              <TextView
                  android:id="@+id/title1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="@string/agree"
                  android:textColor="@color/yellow"
                  android:textSize="@dimen/big_text_p3" />
  
              <TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="@string/oppose"
                  android:textColor="@color/yellow"
                  android:textSize="@dimen/big_text_p3" />
  
              <TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="@string/abstant"
                  android:textColor="@color/yellow"
                  android:textSize="@dimen/big_text_p3" />
          </LinearLayout>
fac86401   孙向锦   初始化C5 Vote
80
      </RelativeLayout>
4c3de86c   孙向锦   UI改版第一版
81
82
83
84
85
86
  
      <View
          android:id="@+id/line"
          android:layout_width="match_parent"
          android:layout_height="1dp"
          android:layout_below="@id/data_title_layout"
fac86401   孙向锦   初始化C5 Vote
87
          android:layout_marginTop="10dp"
4c3de86c   孙向锦   UI改版第一版
88
          android:background="#B2FFFFFF" />
fac86401   孙向锦   初始化C5 Vote
89
  
4c3de86c   孙向锦   UI改版第一版
90
91
92
93
94
95
      <RelativeLayout
          android:id="@+id/data_result_layout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/line"
          android:background="#064AA3">
fac86401   孙向锦   初始化C5 Vote
96
  
4c3de86c   孙向锦   UI改版第一版
97
98
99
          <LinearLayout
              android:id="@+id/d_result"
              android:layout_width="800dp"
fac86401   孙向锦   初始化C5 Vote
100
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
101
102
              android:layout_centerHorizontal="true"
              android:orientation="horizontal">
fac86401   孙向锦   初始化C5 Vote
103
  
4c3de86c   孙向锦   UI改版第一版
104
105
106
107
108
109
110
111
112
113
              <TextView
                  android:id="@+id/result1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="150"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
fac86401   孙向锦   初始化C5 Vote
114
  
fac86401   孙向锦   初始化C5 Vote
115
  
4c3de86c   孙向锦   UI改版第一版
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
              <TextView
                  android:id="@+id/result2"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="0"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
  
  
              <TextView
                  android:id="@+id/result3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="0"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
          </LinearLayout>
fac86401   孙向锦   初始化C5 Vote
139
  
fac86401   孙向锦   初始化C5 Vote
140
      </RelativeLayout>
4c3de86c   孙向锦   UI改版第一版
141
142
143
144
145
146
147
148
  
      <View
          android:id="@+id/line2"
          android:layout_width="match_parent"
          android:layout_height="1dp"
          android:layout_below="@id/data_result_layout"
          android:background="#B2FFFFFF" />
  
fac86401   孙向锦   初始化C5 Vote
149
      <RelativeLayout
4c3de86c   孙向锦   UI改版第一版
150
151
          android:id="@+id/pesent_result_layout"
          android:layout_width="match_parent"
fac86401   孙向锦   初始化C5 Vote
152
          android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
153
154
155
156
157
          android:layout_below="@id/line2">
  
          <LinearLayout
              android:id="@+id/p_result"
              android:layout_width="800dp"
fac86401   孙向锦   初始化C5 Vote
158
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
159
160
161
162
163
164
165
166
167
168
169
170
171
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
              android:layout_centerHorizontal="true"
              android:orientation="horizontal">
  
              <TextView
                  android:id="@+id/p1"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="100%"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
  
  
              <TextView
                  android:id="@+id/p2"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="0%"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
  
              <TextView
                  android:id="@+id/p3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center"
                  android:text="0%"
                  android:textColor="@color/white"
                  android:textSize="@dimen/big_text_p2"
                  android:textStyle="bold" />
          </LinearLayout>
  
fac86401   孙向锦   初始化C5 Vote
197
      </RelativeLayout>
4c3de86c   孙向锦   UI改版第一版
198
199
200
201
202
203
204
  
      <View
          android:layout_width="match_parent"
          android:layout_height="1dp"
          android:layout_below="@id/pesent_result_layout"
          android:background="#B2FFFFFF" />
  
fac86401   孙向锦   初始化C5 Vote
205
      <RelativeLayout
4c3de86c   孙向锦   UI改版第一版
206
207
          android:id="@+id/fragment_result_vote_top_panel"
          android:layout_width="match_parent"
fac86401   孙向锦   初始化C5 Vote
208
          android:layout_height="wrap_content"
fac86401   孙向锦   初始化C5 Vote
209
          android:layout_alignParentBottom="true"
4c3de86c   孙向锦   UI改版第一版
210
          android:layout_marginBottom="30dp">
fac86401   孙向锦   初始化C5 Vote
211
  
4c3de86c   孙向锦   UI改版第一版
212
213
          <LinearLayout
              android:layout_width="800dp"
fac86401   孙向锦   初始化C5 Vote
214
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
              android:layout_centerHorizontal="true"
              android:orientation="horizontal">
  
              <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" />
  
          </LinearLayout>
  
          <TextView
              android:id="@+id/fragment_result_bill_title"
              android:layout_width="fill_parent"
fac86401   孙向锦   初始化C5 Vote
267
              android:layout_height="wrap_content"
4c3de86c   孙向锦   UI改版第一版
268
269
270
271
272
273
274
              android:layout_centerHorizontal="true"
              android:layout_marginLeft="80dp"
              android:layout_marginRight="80dp"
              android:gravity="center"
              android:textColor="@color/white"
              android:textStyle="bold"
              android:visibility="gone" />
fac86401   孙向锦   初始化C5 Vote
275
276
      </RelativeLayout>
  </RelativeLayout>