Blame view

C5/app/src/main/res/layout/fragment_singlevote.xml 8.6 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"
ab44099d   孙向锦   修改结果显示不正确
151
152
                  android:layout_width="@dimen/px554dp"
                  android:layout_height="@dimen/px133dp"
e129be23   孙向锦   添加一些修改选项
153
154
155
156
157
158
159
160
161
                  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"
66da514d   孙向锦   图片移动到统一文件夹
162
163
                  android:layout_width="200dp"
                  android:layout_height="80dp"
4c3de86c   孙向锦   UI改版第一版
164
165
                  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
  
      <RelativeLayout
          android:id="@+id/singlevote_confirm_panel"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
74a0ade9   孙向锦   添加长度定义文件
180
          android:background="#CC000000"
fac86401   孙向锦   初始化C5 Vote
181
182
183
184
185
186
187
188
189
          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   孙向锦   添加长度定义文件
190
              android:layout_marginTop="@dimen/px352dp"
fac86401   孙向锦   初始化C5 Vote
191
192
              android:text="@string/cant_modify_confirm"
              android:textColor="@color/white"
74a0ade9   孙向锦   添加长度定义文件
193
194
              android:textSize="@dimen/px70dp"
              android:textStyle="bold"/>
fac86401   孙向锦   初始化C5 Vote
195
196
197
  
          <Button
              android:id="@+id/singlevote_btn_confirm_cancel"
74a0ade9   孙向锦   添加长度定义文件
198
199
              android:layout_width="@dimen/px360dp"
              android:layout_height="@dimen/px110dp"
fac86401   孙向锦   初始化C5 Vote
200
201
              android:layout_alignParentLeft="true"
              android:layout_below="@id/singlevote_confirm_textview"
e129be23   孙向锦   添加一些修改选项
202
              android:layout_marginLeft="200dp"
fac86401   孙向锦   初始化C5 Vote
203
              android:layout_marginTop="@dimen/button_to_content"
74a0ade9   孙向锦   添加长度定义文件
204
              android:background="#FBBF16"
fac86401   孙向锦   初始化C5 Vote
205
206
              android:text="@string/cancel"
              android:textColor="@color/white"
74a0ade9   孙向锦   添加长度定义文件
207
              android:textSize="@dimen/px60dp"
fac86401   孙向锦   初始化C5 Vote
208
209
210
211
              android:textStyle="bold" />
  
          <Button
              android:id="@+id/singlevote_btn_confirm_ok"
74a0ade9   孙向锦   添加长度定义文件
212
213
              android:layout_width="@dimen/px360dp"
              android:layout_height="@dimen/px110dp"
fac86401   孙向锦   初始化C5 Vote
214
215
              android:layout_alignParentRight="true"
              android:layout_below="@id/singlevote_confirm_textview"
e129be23   孙向锦   添加一些修改选项
216
              android:layout_marginRight="200dp"
fac86401   孙向锦   初始化C5 Vote
217
218
219
220
              android:layout_marginTop="@dimen/button_to_content"
              android:background="@drawable/btn_agree"
              android:text="@string/ok"
              android:textColor="@color/white"
74a0ade9   孙向锦   添加长度定义文件
221
              android:textSize="@dimen/px60dp"
fac86401   孙向锦   初始化C5 Vote
222
223
224
225
              android:textStyle="bold" />
      </RelativeLayout>
  
  </RelativeLayout>