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,6 +328,9 @@ public class ResultElectionCustomFragment extends BaseFragment { | ||
328 | holder.tvAgree.setVisibility(View.INVISIBLE); | 328 | holder.tvAgree.setVisibility(View.INVISIBLE); |
329 | holder.tvAgree.setText(""); | 329 | holder.tvAgree.setText(""); |
330 | } | 330 | } |
331 | + if (position % 2 == 0) { | ||
332 | + convertView.setBackgroundColor(getResources().getColor(R.color.blue2)); | ||
333 | + } | ||
331 | return convertView; | 334 | return convertView; |
332 | } | 335 | } |
333 | 336 |
C5/app/src/main/res/layout/fragment_custom_election.xml
@@ -278,7 +278,7 @@ | @@ -278,7 +278,7 @@ | ||
278 | android:layout_width="match_parent" | 278 | android:layout_width="match_parent" |
279 | android:layout_height="match_parent" | 279 | android:layout_height="match_parent" |
280 | android:background="@color/white" | 280 | android:background="@color/white" |
281 | - android:alpha="0.4" | 281 | + android:alpha="0.5" |
282 | android:orientation="horizontal"/> | 282 | android:orientation="horizontal"/> |
283 | 283 | ||
284 | <TextView | 284 | <TextView |
C5/app/src/main/res/layout/fragment_election.xml
@@ -435,7 +435,7 @@ | @@ -435,7 +435,7 @@ | ||
435 | android:layout_width="match_parent" | 435 | android:layout_width="match_parent" |
436 | android:layout_height="match_parent" | 436 | android:layout_height="match_parent" |
437 | android:background="@color/white" | 437 | android:background="@color/white" |
438 | - android:alpha="0.4" | 438 | + android:alpha="0.5" |
439 | android:orientation="horizontal" /> | 439 | android:orientation="horizontal" /> |
440 | 440 | ||
441 | <TextView | 441 | <TextView |
C5/app/src/main/res/layout/fragment_result_election_custom.xml
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | android:visibility="invisible" /> | 20 | android:visibility="invisible" /> |
21 | 21 | ||
22 | <TextView | 22 | <TextView |
23 | - android:id="@+id/fragment_result_election_bill_title" | 23 | + android:id="@+id/tv_title" |
24 | android:layout_width="fill_parent" | 24 | android:layout_width="fill_parent" |
25 | android:layout_height="wrap_content" | 25 | android:layout_height="wrap_content" |
26 | android:layout_centerHorizontal="true" | 26 | android:layout_centerHorizontal="true" |
@@ -103,7 +103,7 @@ | @@ -103,7 +103,7 @@ | ||
103 | android:layout_height="match_parent" | 103 | android:layout_height="match_parent" |
104 | android:gravity="center" | 104 | android:gravity="center" |
105 | android:paddingLeft="@dimen/content_margin" | 105 | android:paddingLeft="@dimen/content_margin" |
106 | - android:text="@string/number" | 106 | + android:text="序号" |
107 | android:textColor="@color/white" | 107 | android:textColor="@color/white" |
108 | android:textSize="@dimen/px48dp" | 108 | android:textSize="@dimen/px48dp" |
109 | android:textStyle="bold" /> | 109 | android:textStyle="bold" /> |