fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
1
2
3
4
5
6 
 | 
  <?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"
      android:background="@color/votebakground">
  
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
7
8
9 
 | 
      <LinearLayout
          android:id="@+id/singlevote_title_layout"
          android:layout_width="match_parent"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
10 
 | 
          android:layout_height="63dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
11 
 | 
          android:background="#AC1007">
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
12 
 | 
  
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
13 
 | 
          <TextView
 
 | 
3bef6993
 
  孙向锦
 
批次表决界面UI修改
 | 
14 
 | 
              android:id="@+id/votetype"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
15 
 | 
              android:layout_width="wrap_content"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
16
17
18
19
20
21
22
23 
 | 
              android:layout_height="match_parent"
              android:layout_marginLeft="25dp"
              android:gravity="center_vertical"
              android:text="议案表决"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p3"
              android:textStyle="bold" />
      </LinearLayout>
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
24
25
26 
 | 
  
      <Button
          android:id="@+id/singlevote_btnB"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
27 
 | 
          android:layout_width="160dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
28 
 | 
          android:layout_height="60dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
29 
 | 
          android:layout_alignParentBottom="true"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
30 
 | 
          android:layout_centerHorizontal="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
31 
 | 
          android:layout_marginBottom="26dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
32
33
34
35
36
37
38
39 
 | 
          android:background="@drawable/oppos_selector"
          android:text="@string/oppose"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
      <Button
          android:id="@+id/singlevote_btnA"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
40 
 | 
          android:layout_width="160dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
41 
 | 
          android:layout_height="60dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
42
43 
 | 
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
44
45 
 | 
          android:layout_marginBottom="26dp"
          android:layout_marginRight="10dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
46
47
48
49
50
51
52
53
54 
 | 
          android:layout_toLeftOf="@id/singlevote_btnB"
          android:background="@drawable/agree_selector"
          android:text="@string/agree"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
      <Button
          android:id="@+id/singlevote_btnC"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
55 
 | 
          android:layout_width="160dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
56 
 | 
          android:layout_height="60dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
57
58 
 | 
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
59
60 
 | 
          android:layout_marginBottom="26dp"
          android:layout_marginLeft="10dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
61
62
63
64
65
66
67
68
69 
 | 
          android:layout_toRightOf="@id/singlevote_btnB"
          android:background="@drawable/abstain_selector"
          android:text="@string/abstant"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
      <Button
          android:id="@+id/singlevote_btn_modify"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
70 
 | 
          android:layout_width="160dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
71 
 | 
          android:layout_height="60dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
72 
 | 
          android:layout_alignParentBottom="true"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
73 
 | 
          android:layout_centerHorizontal="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
74 
 | 
          android:layout_marginBottom="26dp"
 
 | 
f839a78e
 
  孙向锦
 
commit
 | 
75 
 | 
          android:background="@drawable/agree_selector"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
76 
 | 
          android:text="@string/modify"
 
 | 
f839a78e
 
  孙向锦
 
commit
 | 
77 
 | 
          android:textColor="@color/white"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
78
79
80
81
82 
 | 
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold"
          android:visibility="invisible" />
  
      <RelativeLayout
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
83 
 | 
          android:id="@+id/singlevote_btn_layout1"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
84
85 
 | 
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
86
87 
 | 
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
88 
 | 
          android:layout_marginBottom="26dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
89
90 
 | 
          android:layout_marginLeft="@dimen/content_margin"
          android:layout_marginRight="@dimen/content_margin"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
91
92
93
94 
 | 
          android:gravity="center_horizontal">
  
      </RelativeLayout>
  
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
95
96 
 | 
  
      <RelativeLayout
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
97 
 | 
          android:id="@+id/singlevote_content_layout"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
98 
 | 
          android:layout_width="match_parent"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
99
100
101
102
103
104
105
106
107
108
109
110
111 
 | 
          android:layout_height="match_parent"
          android:layout_above="@id/singlevote_btnB"
          android:layout_below="@id/singlevote_title_layout"
          android:layout_margin="20dp"
          android:background="@color/white">
  
          <ScrollView
              android:id="@+id/singlevote_content_scview"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_marginLeft="20dp"
              android:layout_marginRight="20dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
112
113
114
115
116
117
118
119
120
121 
 | 
              android:fadeScrollbars="false"
              android:fillViewport="false"
              android:scrollbarAlwaysDrawVerticalTrack="true"
              android:scrollbars="vertical">
  
              <TextView
                  android:id="@+id/singlevote_content"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerInParent="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
122 
 | 
                  android:layout_margin="110dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
123
124
125
126
127
128
129 
 | 
                  android:background="@color/white"
                  android:gravity="center"
                  android:scrollbars="vertical"
                  android:text="@string/please_vote"
                  android:textColor="@color/black"
                  android:textSize="@dimen/big_text_p3" />
          </ScrollView>
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
130 
 | 
  
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
131
132
133
134
135
136
137
138
139
140
141 
 | 
          <ImageView
              android:id="@+id/singlevote_img_detail"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentRight="true"
              android:layout_centerVertical="true"
              android:layout_marginRight="10dp"
              android:layout_marginTop="20dp"
              android:src="@drawable/detail_icon" />
  
          <RelativeLayout
 
 | 
3bef6993
 
  孙向锦
 
批次表决界面UI修改
 | 
142 
 | 
              android:id="@+id/singlevote_tv_tips_layout"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
143 
 | 
              android:layout_width="match_parent"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
144
145 
 | 
              android:layout_height="wrap_content"
              android:layout_marginBottom="20dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
146 
 | 
              android:layout_alignParentBottom="true"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
147 
 | 
              >
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
148
149
150 
 | 
  
              <TextView
                  android:id="@+id/singlevote_tv_tips"
 
 | 
dd9a0f58
 
  孙向锦
 
修改投票过程显示结果的bug
 | 
151
152 
 | 
                  android:layout_width="@dimen/px622dp"
                  android:layout_height="@dimen/px217dp"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
153
154
155
156 
 | 
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
                  android:text="@string/submiting"
                  android:textColor="#AC1007"
 
 | 
dd9a0f58
 
  孙向锦
 
修改投票过程显示结果的bug
 | 
157
158
159 
 | 
                  android:textSize="@dimen/px140dp"
                  android:textStyle="bold"
                  />
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
160
161
162 
 | 
  
              <TextView
                  android:id="@+id/singlevote_tv_result"
 
 | 
dd9a0f58
 
  孙向锦
 
修改投票过程显示结果的bug
 | 
163
164 
 | 
                  android:layout_width="wrap_content"
                  android:layout_height="@dimen/px217dp"
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
165
166 
 | 
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
 
 | 
84a1644e
 
  孙向锦
 
图片移动到drawable里
 | 
167 
 | 
                  android:textColor="#4b3b93"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
168 
 | 
                  android:background="@drawable/voted_empty"
 
 | 
dd9a0f58
 
  孙向锦
 
修改投票过程显示结果的bug
 | 
169 
 | 
                  android:textSize="@dimen/px120dp"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
170 
 | 
                  android:textStyle="bold"
 
 | 
dd9a0f58
 
  孙向锦
 
修改投票过程显示结果的bug
 | 
171 
 | 
                  />
 
 | 
4c3de86c
 
  孙向锦
 
UI改版第一版
 | 
172 
 | 
          </RelativeLayout>
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
173
174 
 | 
      </RelativeLayout>
  
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
175 
 | 
  
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
176
177
178
179
180 
 | 
  
      <RelativeLayout
          android:id="@+id/singlevote_confirm_panel"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
181 
 | 
          android:background="#CC000000"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
182
183
184
185
186
187
188
189
190 
 | 
          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_marginLeft="@dimen/content_margin"
              android:layout_marginRight="@dimen/content_margin"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
191 
 | 
              android:layout_marginTop="@dimen/px352dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
192
193 
 | 
              android:text="@string/cant_modify_confirm"
              android:textColor="@color/white"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
194
195 
 | 
              android:textSize="@dimen/px70dp"
              android:textStyle="bold"/>
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
196
197
198 
 | 
  
          <Button
              android:id="@+id/singlevote_btn_confirm_cancel"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
199
200 
 | 
              android:layout_width="@dimen/px360dp"
              android:layout_height="@dimen/px110dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
201
202 
 | 
              android:layout_alignParentLeft="true"
              android:layout_below="@id/singlevote_confirm_textview"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
203 
 | 
              android:layout_marginLeft="200dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
204 
 | 
              android:layout_marginTop="@dimen/button_to_content"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
205 
 | 
              android:background="#FBBF16"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
206
207 
 | 
              android:text="@string/cancel"
              android:textColor="@color/white"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
208 
 | 
              android:textSize="@dimen/px60dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
209
210
211
212 
 | 
              android:textStyle="bold" />
  
          <Button
              android:id="@+id/singlevote_btn_confirm_ok"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
213
214 
 | 
              android:layout_width="@dimen/px360dp"
              android:layout_height="@dimen/px110dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
215
216 
 | 
              android:layout_alignParentRight="true"
              android:layout_below="@id/singlevote_confirm_textview"
 
 | 
e129be23
 
  孙向锦
 
添加一些修改选项
 | 
217 
 | 
              android:layout_marginRight="200dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
218
219
220
221 
 | 
              android:layout_marginTop="@dimen/button_to_content"
              android:background="@drawable/btn_agree"
              android:text="@string/ok"
              android:textColor="@color/white"
 
 | 
74a0ade9
 
  孙向锦
 
添加长度定义文件
 | 
222 
 | 
              android:textSize="@dimen/px60dp"
 
 | 
fac86401
 
  孙向锦
 
初始化C5 Vote
 | 
223
224
225
226 
 | 
              android:textStyle="bold" />
      </RelativeLayout>
  
  </RelativeLayout>
 
 |