Blame view

C5/app/src/main/res/layout/fragment_singlevote.xml 8.85 KB
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
10
11
      <LinearLayout
          android:id="@+id/singlevote_title_layout"
          android:layout_width="match_parent"
          android:layout_height="80dp"
          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
27
28
  
      <Button
          android:id="@+id/singlevote_btnB"
          android:layout_width="200dp"
          android:layout_height="60dp"
4c3de86c   孙向锦   UI改版第一版
29
          android:layout_alignParentBottom="true"
fac86401   孙向锦   初始化C5 Vote
30
31
32
33
34
35
36
37
38
39
40
41
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="20dp"
          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"
          android:layout_width="200dp"
          android:layout_height="60dp"
4c3de86c   孙向锦   UI改版第一版
42
43
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
fac86401   孙向锦   初始化C5 Vote
44
45
46
47
48
49
50
51
52
53
54
55
56
          android:layout_marginBottom="20dp"
          android:layout_marginRight="40dp"
          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"
          android:layout_width="200dp"
          android:layout_height="60dp"
4c3de86c   孙向锦   UI改版第一版
57
58
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
fac86401   孙向锦   初始化C5 Vote
59
60
61
62
63
64
65
66
67
68
69
70
71
          android:layout_marginBottom="20dp"
          android:layout_marginLeft="40dp"
          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"
          android:layout_width="200dp"
          android:layout_height="60dp"
4c3de86c   孙向锦   UI改版第一版
72
          android:layout_alignParentBottom="true"
fac86401   孙向锦   初始化C5 Vote
73
74
75
76
77
78
79
80
81
82
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="20dp"
          android:background="@drawable/modify_selector"
          android:text="@string/modify"
          android:textColor="@color/modifytext"
          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
88
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="20dp"
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
          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"
              android:layout_marginTop="20dp"
              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"
                  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
144
145
              android:layout_width="match_parent"
              android:layout_height="50dp"
              android:layout_alignParentBottom="true"
3bef6993   孙向锦   批次表决界面UI修改
146
147
              android:background="#FFF134"
              android:visibility="gone">
4c3de86c   孙向锦   UI改版第一版
148
149
150
151
152
153
154
155
156
157
158
159
  
              <TextView
                  android:id="@+id/singlevote_tv_tips"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
                  android:text="@string/please_press_key"
                  android:textColor="@color/red"
                  android:textSize="@dimen/big_text_p4"
                  android:textStyle="bold" />
          </RelativeLayout>
fac86401   孙向锦   初始化C5 Vote
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
197
198
199
200
201
202
203
204
      </RelativeLayout>
  
      <TextView
          android:id="@+id/singlevote_tv_result"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignRight="@id/singlevote_content_layout"
          android:layout_alignTop="@id/singlevote_content_layout"
          android:layout_marginRight="@dimen/button_to_content"
          android:layout_marginTop="@dimen/content_margin"
          android:alpha="0.9"
          android:background="@drawable/voted_empty"
          android:gravity="center"
          android:rotation="-20"
          android:text=""
          android:textColor="#ddff9933"
          android:textSize="@dimen/big_text_p2"
          android:textStyle="bold"
          android:visibility="visible" />
  
      <RelativeLayout
          android:id="@+id/singlevote_confirm_panel"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:background="@color/black"
          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"
              android:layout_marginTop="@dimen/button_to_content"
              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"
4c3de86c   孙向锦   UI改版第一版
205
              android:layout_marginLeft="120dp"
fac86401   孙向锦   初始化C5 Vote
206
207
208
209
210
211
212
213
214
215
216
217
218
              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/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"
4c3de86c   孙向锦   UI改版第一版
219
              android:layout_marginRight="120dp"
fac86401   孙向锦   初始化C5 Vote
220
221
222
223
224
225
226
227
228
              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>