Blame view

C5/app/src/main/res/layout/fragment_singlevote.xml 8.62 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
      <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"
fac86401   孙向锦   初始化C5 Vote
75
76
77
78
79
80
81
82
          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
          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"
e129be23   孙向锦   添加一些修改选项
151
152
153
154
155
156
157
158
159
160
161
                  android:layout_width="250dp"
                  android:layout_height="80dp"
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
                  android:text="@string/submiting"
                  android:textColor="#AC1007"
                  android:textSize="@dimen/big_text_p1"
                  android:textStyle="bold" />
  
              <TextView
                  android:id="@+id/singlevote_tv_result"
4c3de86c   孙向锦   UI改版第一版
162
163
164
165
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
84a1644e   孙向锦   图片移动到drawable里
166
                  android:textColor="#4b3b93"
e129be23   孙向锦   添加一些修改选项
167
                  android:background="@drawable/voted_empty"
e129be23   孙向锦   添加一些修改选项
168
169
170
                  android:textSize="@dimen/big_text_p1"
                  android:textStyle="bold"
                  android:visibility="gone" />
4c3de86c   孙向锦   UI改版第一版
171
          </RelativeLayout>
fac86401   孙向锦   初始化C5 Vote
172
173
      </RelativeLayout>
  
e129be23   孙向锦   添加一些修改选项
174
  
fac86401   孙向锦   初始化C5 Vote
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
  
      <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"
e129be23   孙向锦   添加一些修改选项
201
              android:layout_marginLeft="200dp"
fac86401   孙向锦   初始化C5 Vote
202
203
204
205
206
207
208
209
210
211
212
213
214
              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"
e129be23   孙向锦   添加一些修改选项
215
              android:layout_marginRight="200dp"
fac86401   孙向锦   初始化C5 Vote
216
217
218
219
220
221
222
223
224
              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>