Blame view

C5/app/src/main/res/layout/fragment_result_multi_vote.xml 7.42 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"
e4b5e826   孙向锦   表决结果UI修改
5
      android:background="#ff004586">
fac86401   孙向锦   初始化C5 Vote
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  
      <LinearLayout
          android:id="@+id/multi_vote_result_top_panal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="@dimen/content_margin"
          android:layout_marginRight="@dimen/content_margin"
          android:layout_marginLeft="@dimen/content_margin"
          android:orientation="horizontal">
  
          <ImageButton
              android:id="@+id/multi_vote_result_btnback"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:background="@drawable/back_selector"
              android:visibility="gone" />
  
          <TextView
              android:id="@+id/multi_vote_result_tv_title"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="center"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p3"
              android:maxLines="2"
              android:ellipsize="end"
              android:textStyle="bold" />
      </LinearLayout>
  
      <LinearLayout
          android:id="@+id/multi_vote_result_title_panel"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/multi_vote_result_top_panal"
e4b5e826   孙向锦   表决结果UI修改
41
          android:paddingRight="80dp"
fac86401   孙向锦   初始化C5 Vote
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
          android:layout_marginTop="10dp"
          android:orientation="horizontal">
  
          <TextView
              android:id="@+id/multi_vote_result_title_num"
              android:layout_width="20dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="5dp"
              android:gravity="center"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p6"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_name"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_weight="1"
              android:gravity="center"
e4b5e826   孙向锦   表决结果UI修改
62
63
64
              android:textColor="@color/yellow"
              android:text="表决项"
              android:textSize="@dimen/big_text_p4"
fac86401   孙向锦   初始化C5 Vote
65
66
67
68
69
70
71
72
73
74
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_agree"
              android:layout_width="80dp"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_marginLeft="15dp"
              android:gravity="center"
              android:text="@string/agree"
e4b5e826   孙向锦   表决结果UI修改
75
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
76
77
78
79
80
81
82
83
84
85
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_oppose"
              android:layout_width="80dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="15dp"
              android:gravity="center"
              android:text="@string/oppose"
e4b5e826   孙向锦   表决结果UI修改
86
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
87
88
89
90
91
92
93
94
95
96
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_abstan"
              android:layout_width="80dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="15dp"
              android:gravity="center"
              android:text="@string/abstant"
e4b5e826   孙向锦   表决结果UI修改
97
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
98
99
100
101
102
103
104
105
106
107
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_unvote"
              android:layout_width="80dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="15dp"
              android:gravity="center"
              android:text="@string/unvote"
e4b5e826   孙向锦   表决结果UI修改
108
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
109
110
111
112
113
114
115
116
117
118
119
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
  
          <TextView
              android:id="@+id/multi_vote_result_title_result"
              android:layout_width="80dp"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_marginLeft="15dp"
              android:gravity="center"
              android:text="@string/result"
e4b5e826   孙向锦   表决结果UI修改
120
              android:textColor="@color/yellow"
fac86401   孙向锦   初始化C5 Vote
121
122
123
124
              android:textSize="@dimen/big_text_p4"
              android:textStyle="bold" />
      </LinearLayout>
  
e4b5e826   孙向锦   表决结果UI修改
125
      <RelativeLayout
fac86401   孙向锦   初始化C5 Vote
126
          android:id="@+id/bottom_linear"
e4b5e826   孙向锦   表决结果UI修改
127
          android:layout_width="match_parent"
fac86401   孙向锦   初始化C5 Vote
128
129
130
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
e4b5e826   孙向锦   表决结果UI修改
131
          android:layout_marginBottom="20dp">
fac86401   孙向锦   初始化C5 Vote
132
  
e4b5e826   孙向锦   表决结果UI修改
133
134
          <LinearLayout
              android:layout_width="800dp"
fac86401   孙向锦   初始化C5 Vote
135
              android:layout_height="wrap_content"
e4b5e826   孙向锦   表决结果UI修改
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
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
              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/multi_vote_result_yindao"
                  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/multi_vote_result_shidao"
                  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>
      </RelativeLayout>
  
fac86401   孙向锦   初始化C5 Vote
186
  
fac86401   孙向锦   初始化C5 Vote
187
188
189
190
191
192
193
194
  
      <ListView
          android:id="@+id/multi_vote_result_listview"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_below="@id/multi_vote_result_title_panel"
          android:layout_above="@id/bottom_linear"
          android:layout_marginBottom="10dp"
fac86401   孙向锦   初始化C5 Vote
195
196
197
198
          android:divider="@color/material_grey_600"
          android:dividerHeight="2dp"></ListView>
  
  </RelativeLayout>