Commit f9cc72e16b12f0bc6e4951fb92be5b546103ca1a
1 parent
b2831b06
修改民事结果UI
Showing
4 changed files
with
7 additions
and
4 deletions
C5/app/src/main/java/com/sunvote/xpadapp/fragments/ResultElectionCustomFragment.java
... | ... | @@ -328,6 +328,9 @@ public class ResultElectionCustomFragment extends BaseFragment { |
328 | 328 | holder.tvAgree.setVisibility(View.INVISIBLE); |
329 | 329 | holder.tvAgree.setText(""); |
330 | 330 | } |
331 | + if (position % 2 == 0) { | |
332 | + convertView.setBackgroundColor(getResources().getColor(R.color.blue2)); | |
333 | + } | |
331 | 334 | return convertView; |
332 | 335 | } |
333 | 336 | ... | ... |
C5/app/src/main/res/layout/fragment_custom_election.xml
C5/app/src/main/res/layout/fragment_election.xml
C5/app/src/main/res/layout/fragment_result_election_custom.xml
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | android:visibility="invisible" /> |
21 | 21 | |
22 | 22 | <TextView |
23 | - android:id="@+id/fragment_result_election_bill_title" | |
23 | + android:id="@+id/tv_title" | |
24 | 24 | android:layout_width="fill_parent" |
25 | 25 | android:layout_height="wrap_content" |
26 | 26 | android:layout_centerHorizontal="true" |
... | ... | @@ -103,7 +103,7 @@ |
103 | 103 | android:layout_height="match_parent" |
104 | 104 | android:gravity="center" |
105 | 105 | android:paddingLeft="@dimen/content_margin" |
106 | - android:text="@string/number" | |
106 | + android:text="序号" | |
107 | 107 | android:textColor="@color/white" |
108 | 108 | android:textSize="@dimen/px48dp" |
109 | 109 | android:textStyle="bold" /> | ... | ... |