Commit 75386c2931d2f32b3ce31014577a2a101accbe25
1 parent
1c5059dd
选举结果UI修改
Showing
13 changed files
with
157 additions
and
128 deletions
C5/app/src/main/java/com/sunvote/xpadapp/MainActivity.java
| @@ -10,6 +10,7 @@ import android.content.BroadcastReceiver; | @@ -10,6 +10,7 @@ import android.content.BroadcastReceiver; | ||
| 10 | import android.content.DialogInterface; | 10 | import android.content.DialogInterface; |
| 11 | import android.content.Intent; | 11 | import android.content.Intent; |
| 12 | import android.content.pm.PackageManager; | 12 | import android.content.pm.PackageManager; |
| 13 | +import android.graphics.Color; | ||
| 13 | import android.net.Uri; | 14 | import android.net.Uri; |
| 14 | import android.os.Build; | 15 | import android.os.Build; |
| 15 | import android.os.Bundle; | 16 | import android.os.Bundle; |
| @@ -546,6 +547,7 @@ public class MainActivity extends BaseActivity implements ComListener { | @@ -546,6 +547,7 @@ public class MainActivity extends BaseActivity implements ComListener { | ||
| 546 | } | 547 | } |
| 547 | 548 | ||
| 548 | private void hideResultFragment() { | 549 | private void hideResultFragment() { |
| 550 | + setBackgroundColor(Color.parseColor("#720600")); | ||
| 549 | if (resultFragment == null) { | 551 | if (resultFragment == null) { |
| 550 | return; | 552 | return; |
| 551 | } | 553 | } |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/MeetingWelcomeFragment.java
| 1 | package com.sunvote.xpadapp.fragments; | 1 | package com.sunvote.xpadapp.fragments; |
| 2 | 2 | ||
| 3 | import com.sunvote.util.LogUtil; | 3 | import com.sunvote.util.LogUtil; |
| 4 | +import com.sunvote.xpadapp.MainActivity; | ||
| 4 | import com.sunvote.xpadapp.R; | 5 | import com.sunvote.xpadapp.R; |
| 5 | import com.sunvote.xpadapp.base.SuperBaseFragment; | 6 | import com.sunvote.xpadapp.base.SuperBaseFragment; |
| 6 | 7 | ||
| 7 | import android.app.FragmentManager; | 8 | import android.app.FragmentManager; |
| 8 | import android.app.FragmentTransaction; | 9 | import android.app.FragmentTransaction; |
| 10 | +import android.graphics.Color; | ||
| 9 | import android.os.Bundle; | 11 | import android.os.Bundle; |
| 10 | import android.view.LayoutInflater; | 12 | import android.view.LayoutInflater; |
| 11 | import android.view.View; | 13 | import android.view.View; |
| @@ -24,7 +26,7 @@ public class MeetingWelcomeFragment extends SuperBaseFragment { | @@ -24,7 +26,7 @@ public class MeetingWelcomeFragment extends SuperBaseFragment { | ||
| 24 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | 26 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { |
| 25 | LogUtil.d("MeetingWelcome", "onCreateView"); | 27 | LogUtil.d("MeetingWelcome", "onCreateView"); |
| 26 | View view = inflater.inflate(R.layout.fragment_welcome, container, false); | 28 | View view = inflater.inflate(R.layout.fragment_welcome, container, false); |
| 27 | - | 29 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#720600")); |
| 28 | 30 | ||
| 29 | 31 | ||
| 30 | tv = (TextView) view.findViewById(R.id.welcome_title); | 32 | tv = (TextView) view.findViewById(R.id.welcome_title); |
| @@ -73,6 +75,7 @@ public class MeetingWelcomeFragment extends SuperBaseFragment { | @@ -73,6 +75,7 @@ public class MeetingWelcomeFragment extends SuperBaseFragment { | ||
| 73 | @Override | 75 | @Override |
| 74 | public void onResume() { | 76 | public void onResume() { |
| 75 | super.onResume(); | 77 | super.onResume(); |
| 78 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#720600")); | ||
| 76 | isAttach = true; | 79 | isAttach = true; |
| 77 | } | 80 | } |
| 78 | 81 |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/NoFileFragment.java
| 1 | package com.sunvote.xpadapp.fragments; | 1 | package com.sunvote.xpadapp.fragments; |
| 2 | 2 | ||
| 3 | import com.sunvote.util.LogUtil; | 3 | import com.sunvote.util.LogUtil; |
| 4 | +import com.sunvote.xpadapp.MainActivity; | ||
| 4 | import com.sunvote.xpadapp.R; | 5 | import com.sunvote.xpadapp.R; |
| 5 | 6 | ||
| 6 | import android.app.Activity; | 7 | import android.app.Activity; |
| @@ -29,7 +30,7 @@ public class NoFileFragment extends Fragment { | @@ -29,7 +30,7 @@ public class NoFileFragment extends Fragment { | ||
| 29 | View view = inflater.inflate(R.layout.fragment_no_file, container, false); | 30 | View view = inflater.inflate(R.layout.fragment_no_file, container, false); |
| 30 | 31 | ||
| 31 | tv = (TextView) view.findViewById(R.id.fragment_no_file_title); | 32 | tv = (TextView) view.findViewById(R.id.fragment_no_file_title); |
| 32 | - | 33 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#450603")); |
| 33 | // String sname = mMainActivity.meetingInfo.meetingTitle; | 34 | // String sname = mMainActivity.meetingInfo.meetingTitle; |
| 34 | tv.setText(String.format( getString(R.string.no_file_tips),meetingId)); | 35 | tv.setText(String.format( getString(R.string.no_file_tips),meetingId)); |
| 35 | 36 |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/OnLineFragment.java
| @@ -8,6 +8,7 @@ import com.sunvote.xpadapp.base.BaseFragment; | @@ -8,6 +8,7 @@ import com.sunvote.xpadapp.base.BaseFragment; | ||
| 8 | import android.app.Fragment; | 8 | import android.app.Fragment; |
| 9 | import android.app.FragmentManager; | 9 | import android.app.FragmentManager; |
| 10 | import android.app.FragmentTransaction; | 10 | import android.app.FragmentTransaction; |
| 11 | +import android.graphics.Color; | ||
| 11 | import android.os.Bundle; | 12 | import android.os.Bundle; |
| 12 | import android.os.Handler; | 13 | import android.os.Handler; |
| 13 | import android.os.Message; | 14 | import android.os.Message; |
| @@ -31,6 +32,7 @@ public class OnLineFragment extends Fragment { | @@ -31,6 +32,7 @@ public class OnLineFragment extends Fragment { | ||
| 31 | View adminView = (View)view.findViewById(R.id.fragment_online_btn_admin); | 32 | View adminView = (View)view.findViewById(R.id.fragment_online_btn_admin); |
| 32 | 33 | ||
| 33 | tvtitle.setText(getString(R.string.sunvote_system)); | 34 | tvtitle.setText(getString(R.string.sunvote_system)); |
| 35 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#720600")); | ||
| 34 | 36 | ||
| 35 | adminView.setOnClickListener(new OnClickListener() { | 37 | adminView.setOnClickListener(new OnClickListener() { |
| 36 | 38 |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/ResultElectionFragment.java
| @@ -4,6 +4,7 @@ import android.annotation.SuppressLint; | @@ -4,6 +4,7 @@ import android.annotation.SuppressLint; | ||
| 4 | import android.app.FragmentManager; | 4 | import android.app.FragmentManager; |
| 5 | import android.app.FragmentTransaction; | 5 | import android.app.FragmentTransaction; |
| 6 | import android.content.Context; | 6 | import android.content.Context; |
| 7 | +import android.graphics.Color; | ||
| 7 | import android.os.Bundle; | 8 | import android.os.Bundle; |
| 8 | import android.text.TextUtils; | 9 | import android.text.TextUtils; |
| 9 | import android.util.DisplayMetrics; | 10 | import android.util.DisplayMetrics; |
| @@ -72,6 +73,7 @@ public class ResultElectionFragment extends BaseFragment { | @@ -72,6 +73,7 @@ public class ResultElectionFragment extends BaseFragment { | ||
| 72 | ; | 73 | ; |
| 73 | } | 74 | } |
| 74 | }); | 75 | }); |
| 76 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#042160")); | ||
| 75 | initData(); | 77 | initData(); |
| 76 | initView(); | 78 | initView(); |
| 77 | ImageButton btnBack = (ImageButton) view.findViewById(R.id.fragment_result_election_btn_back); | 79 | ImageButton btnBack = (ImageButton) view.findViewById(R.id.fragment_result_election_btn_back); |
| @@ -118,21 +120,21 @@ public class ResultElectionFragment extends BaseFragment { | @@ -118,21 +120,21 @@ public class ResultElectionFragment extends BaseFragment { | ||
| 118 | TextView tvOppose= (TextView) view.findViewById(R.id.fragment_result_election_oppose_num); | 120 | TextView tvOppose= (TextView) view.findViewById(R.id.fragment_result_election_oppose_num); |
| 119 | TextView tvAbstant= (TextView) view.findViewById(R.id.fragment_result_election_abstant_num); | 121 | TextView tvAbstant= (TextView) view.findViewById(R.id.fragment_result_election_abstant_num); |
| 120 | TextView tvIndexName= (TextView) view.findViewById(R.id.fragment_result_election_num); | 122 | TextView tvIndexName= (TextView) view.findViewById(R.id.fragment_result_election_num); |
| 121 | - TextView tv_to_be= (TextView) view.findViewById(R.id.tv_to_be); | ||
| 122 | - TextView tv_to= (TextView) view.findViewById(R.id.tv_to); | 123 | + TextView tv_to_be= (TextView) view.findViewById(R.id.yingdaoresult); |
| 124 | + TextView tv_to= (TextView) view.findViewById(R.id.shidaoresult); | ||
| 123 | 125 | ||
| 124 | if(goToBe!=0xff && goToBe!=0xffff){ | 126 | if(goToBe!=0xff && goToBe!=0xffff){ |
| 125 | tv_to_be.setVisibility(View.VISIBLE); | 127 | tv_to_be.setVisibility(View.VISIBLE); |
| 126 | - tv_to_be.setText(getString(R.string.yindao)+goToBe); | 128 | + tv_to_be.setText("" + goToBe); |
| 127 | }else{ | 129 | }else{ |
| 128 | - tv_to_be.setVisibility(View.INVISIBLE); | 130 | + tv_to_be.setVisibility(View.GONE); |
| 129 | } | 131 | } |
| 130 | 132 | ||
| 131 | if(goTo!=0xff && goTo!=0xffff){ | 133 | if(goTo!=0xff && goTo!=0xffff){ |
| 132 | tv_to.setVisibility(View.VISIBLE); | 134 | tv_to.setVisibility(View.VISIBLE); |
| 133 | - tv_to.setText(getString(R.string.shidao)+goTo); | 135 | + tv_to.setText("" + goTo); |
| 134 | }else{ | 136 | }else{ |
| 135 | - tv_to.setVisibility(View.INVISIBLE); | 137 | + tv_to.setVisibility(View.GONE); |
| 136 | } | 138 | } |
| 137 | 139 | ||
| 138 | if(indexNameModel==0){ | 140 | if(indexNameModel==0){ |
| @@ -152,15 +154,15 @@ public class ResultElectionFragment extends BaseFragment { | @@ -152,15 +154,15 @@ public class ResultElectionFragment extends BaseFragment { | ||
| 152 | }else if(resultSelectModel==1){ | 154 | }else if(resultSelectModel==1){ |
| 153 | tvAgree.setVisibility(View.VISIBLE); | 155 | tvAgree.setVisibility(View.VISIBLE); |
| 154 | tvOppose.setVisibility(View.VISIBLE); | 156 | tvOppose.setVisibility(View.VISIBLE); |
| 155 | - tvAbstant.setVisibility(View.INVISIBLE); | 157 | + tvAbstant.setVisibility(View.GONE); |
| 156 | }else if(resultSelectModel==2){ | 158 | }else if(resultSelectModel==2){ |
| 157 | tvAgree.setVisibility(View.VISIBLE); | 159 | tvAgree.setVisibility(View.VISIBLE); |
| 158 | - tvOppose.setVisibility(View.INVISIBLE); | 160 | + tvOppose.setVisibility(View.GONE); |
| 159 | tvAbstant.setVisibility(View.VISIBLE); | 161 | tvAbstant.setVisibility(View.VISIBLE); |
| 160 | }else if(resultSelectModel==3){ | 162 | }else if(resultSelectModel==3){ |
| 161 | tvAgree.setVisibility(View.VISIBLE); | 163 | tvAgree.setVisibility(View.VISIBLE); |
| 162 | - tvOppose.setVisibility(View.INVISIBLE); | ||
| 163 | - tvAbstant.setVisibility(View.INVISIBLE); | 164 | + tvOppose.setVisibility(View.GONE); |
| 165 | + tvAbstant.setVisibility(View.GONE); | ||
| 164 | } | 166 | } |
| 165 | listview = (ListView) view.findViewById(R.id.fragment_result_election_list); | 167 | listview = (ListView) view.findViewById(R.id.fragment_result_election_list); |
| 166 | } | 168 | } |
| @@ -394,15 +396,15 @@ public class ResultElectionFragment extends BaseFragment { | @@ -394,15 +396,15 @@ public class ResultElectionFragment extends BaseFragment { | ||
| 394 | }else if(resultSelectModel==1){ | 396 | }else if(resultSelectModel==1){ |
| 395 | holder.tvAgree.setVisibility(View.VISIBLE); | 397 | holder.tvAgree.setVisibility(View.VISIBLE); |
| 396 | holder.tvOppose.setVisibility(View.VISIBLE); | 398 | holder.tvOppose.setVisibility(View.VISIBLE); |
| 397 | - holder.tvAbstant.setVisibility(View.INVISIBLE); | 399 | + holder.tvAbstant.setVisibility(View.GONE); |
| 398 | }else if(resultSelectModel==2){ | 400 | }else if(resultSelectModel==2){ |
| 399 | holder.tvAgree.setVisibility(View.VISIBLE); | 401 | holder.tvAgree.setVisibility(View.VISIBLE); |
| 400 | - holder.tvOppose.setVisibility(View.INVISIBLE); | 402 | + holder.tvOppose.setVisibility(View.GONE); |
| 401 | holder.tvAbstant.setVisibility(View.VISIBLE); | 403 | holder.tvAbstant.setVisibility(View.VISIBLE); |
| 402 | }else if(resultSelectModel==3){ | 404 | }else if(resultSelectModel==3){ |
| 403 | holder.tvAgree.setVisibility(View.VISIBLE); | 405 | holder.tvAgree.setVisibility(View.VISIBLE); |
| 404 | - holder.tvOppose.setVisibility(View.INVISIBLE); | ||
| 405 | - holder.tvAbstant.setVisibility(View.INVISIBLE); | 406 | + holder.tvOppose.setVisibility(View.GONE); |
| 407 | + holder.tvAbstant.setVisibility(View.GONE); | ||
| 406 | } | 408 | } |
| 407 | ResultItem it = aryList.get(position); | 409 | ResultItem it = aryList.get(position); |
| 408 | holder.tvNum.setText(String.valueOf(it.nameIndex)); | 410 | holder.tvNum.setText(String.valueOf(it.nameIndex)); |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/ResultVoteFragment.java
| @@ -11,6 +11,7 @@ import android.widget.LinearLayout; | @@ -11,6 +11,7 @@ import android.widget.LinearLayout; | ||
| 11 | import android.widget.TextView; | 11 | import android.widget.TextView; |
| 12 | 12 | ||
| 13 | import com.sunvote.util.LogUtil; | 13 | import com.sunvote.util.LogUtil; |
| 14 | +import com.sunvote.xpadapp.MainActivity; | ||
| 14 | import com.sunvote.xpadapp.R; | 15 | import com.sunvote.xpadapp.R; |
| 15 | import com.sunvote.xpadapp.base.BaseFragment; | 16 | import com.sunvote.xpadapp.base.BaseFragment; |
| 16 | import com.sunvote.xpadcomm.XPadApiInterface; | 17 | import com.sunvote.xpadcomm.XPadApiInterface; |
| @@ -85,7 +86,7 @@ public class ResultVoteFragment extends BaseFragment { | @@ -85,7 +86,7 @@ public class ResultVoteFragment extends BaseFragment { | ||
| 85 | shidaoresult = root.findViewById(R.id.shidaoresult); | 86 | shidaoresult = root.findViewById(R.id.shidaoresult); |
| 86 | fragmentResultMemo = root.findViewById(R.id.fragment_result_memo); | 87 | fragmentResultMemo = root.findViewById(R.id.fragment_result_memo); |
| 87 | fragmentMemo = root.findViewById(R.id.fragment_memo); | 88 | fragmentMemo = root.findViewById(R.id.fragment_memo); |
| 88 | - | 89 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#042160")); |
| 89 | tResult = root.findViewById(R.id.t_result); | 90 | tResult = root.findViewById(R.id.t_result); |
| 90 | dResult = root.findViewById(R.id.d_result); | 91 | dResult = root.findViewById(R.id.d_result); |
| 91 | pResult = root.findViewById(R.id.p_result); | 92 | pResult = root.findViewById(R.id.p_result); |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/SinginResultFragment.java
| 1 | package com.sunvote.xpadapp.fragments; | 1 | package com.sunvote.xpadapp.fragments; |
| 2 | 2 | ||
| 3 | +import android.graphics.Color; | ||
| 3 | import android.os.Bundle; | 4 | import android.os.Bundle; |
| 4 | import android.view.LayoutInflater; | 5 | import android.view.LayoutInflater; |
| 5 | import android.view.View; | 6 | import android.view.View; |
| 6 | import android.view.ViewGroup; | 7 | import android.view.ViewGroup; |
| 7 | import android.widget.TextView; | 8 | import android.widget.TextView; |
| 8 | 9 | ||
| 10 | +import com.sunvote.xpadapp.MainActivity; | ||
| 9 | import com.sunvote.xpadapp.R; | 11 | import com.sunvote.xpadapp.R; |
| 10 | import com.sunvote.xpadapp.base.BaseFragment; | 12 | import com.sunvote.xpadapp.base.BaseFragment; |
| 11 | import com.sunvote.xpadcomm.XPadApiInterface.VoteInfo; | 13 | import com.sunvote.xpadcomm.XPadApiInterface.VoteInfo; |
| 12 | 14 | ||
| 15 | +import org.apache.tools.ant.Main; | ||
| 16 | + | ||
| 13 | public class SinginResultFragment extends BaseFragment { | 17 | public class SinginResultFragment extends BaseFragment { |
| 14 | 18 | ||
| 15 | private VoteInfo.ResultInfo resultInfo; | 19 | private VoteInfo.ResultInfo resultInfo; |
| @@ -27,6 +31,7 @@ public class SinginResultFragment extends BaseFragment { | @@ -27,6 +31,7 @@ public class SinginResultFragment extends BaseFragment { | ||
| 27 | shidaoresult.setText("" + resultInfo.num3); | 31 | shidaoresult.setText("" + resultInfo.num3); |
| 28 | yingdaoresult.setText("" + resultInfo.num2); | 32 | yingdaoresult.setText("" + resultInfo.num2); |
| 29 | weidaoresult.setText("" + resultInfo.num1); | 33 | weidaoresult.setText("" + resultInfo.num1); |
| 34 | + ((MainActivity)getActivity()).setBackgroundColor(Color.parseColor("#042160")); | ||
| 30 | if ((resultInfo.bits & 0xF) == 0xF) { | 35 | if ((resultInfo.bits & 0xF) == 0xF) { |
| 31 | result.setText(""); | 36 | result.setText(""); |
| 32 | } else if ((resultInfo.bits & 0xF) == 0) { | 37 | } else if ((resultInfo.bits & 0xF) == 0) { |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/SingleTitleFragment.java
| @@ -3,6 +3,7 @@ package com.sunvote.xpadapp.fragments; | @@ -3,6 +3,7 @@ package com.sunvote.xpadapp.fragments; | ||
| 3 | import android.annotation.TargetApi; | 3 | import android.annotation.TargetApi; |
| 4 | import android.app.FragmentManager; | 4 | import android.app.FragmentManager; |
| 5 | import android.app.FragmentTransaction; | 5 | import android.app.FragmentTransaction; |
| 6 | +import android.graphics.Color; | ||
| 6 | import android.os.Build; | 7 | import android.os.Build; |
| 7 | import android.os.Bundle; | 8 | import android.os.Bundle; |
| 8 | import android.os.Handler; | 9 | import android.os.Handler; |
| @@ -126,6 +127,7 @@ public class SingleTitleFragment extends BaseFragment implements ContentVoteOnBa | @@ -126,6 +127,7 @@ public class SingleTitleFragment extends BaseFragment implements ContentVoteOnBa | ||
| 126 | votetype = view.findViewById(R.id.votetype); | 127 | votetype = view.findViewById(R.id.votetype); |
| 127 | initOptions(); | 128 | initOptions(); |
| 128 | mact = (MainActivity) getActivity(); | 129 | mact = (MainActivity) getActivity(); |
| 130 | + mact.setBackgroundColor(Color.parseColor("#450603")); | ||
| 129 | view.setOnClickListener(new OnClickListener() { | 131 | view.setOnClickListener(new OnClickListener() { |
| 130 | 132 | ||
| 131 | @Override | 133 | @Override |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/UserResultVoteFragment.java
| @@ -130,6 +130,9 @@ public class UserResultVoteFragment extends BaseFragment { | @@ -130,6 +130,9 @@ public class UserResultVoteFragment extends BaseFragment { | ||
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | private void setView(int pos, int digiters, int bitNum, int type) { | 132 | private void setView(int pos, int digiters, int bitNum, int type) { |
| 133 | + tResult.removeAllViews(); | ||
| 134 | + dResult.removeAllViews(); | ||
| 135 | + pResult.removeAllViews(); | ||
| 133 | LinearLayout.LayoutParams lp=new LinearLayout.LayoutParams(0,LinearLayout.LayoutParams.WRAP_CONTENT,1.0f); | 136 | LinearLayout.LayoutParams lp=new LinearLayout.LayoutParams(0,LinearLayout.LayoutParams.WRAP_CONTENT,1.0f); |
| 134 | for(int i = 1; i <= options.length ; i++) { | 137 | for(int i = 1; i <= options.length ; i++) { |
| 135 | if (options.length >= i) { | 138 | if (options.length >= i) { |
| @@ -161,7 +164,11 @@ public class UserResultVoteFragment extends BaseFragment { | @@ -161,7 +164,11 @@ public class UserResultVoteFragment extends BaseFragment { | ||
| 161 | if (notVote != 0xff) { | 164 | if (notVote != 0xff) { |
| 162 | tResult.addView(createView(getString(R.string.weian), Color.YELLOW), lp); | 165 | tResult.addView(createView(getString(R.string.weian), Color.YELLOW), lp); |
| 163 | dResult.addView(createView("" + notVote, Color.WHITE), lp); | 166 | dResult.addView(createView("" + notVote, Color.WHITE), lp); |
| 164 | - pResult.addView(createView("0%", Color.WHITE), lp); | 167 | + if ((fenmu > 0 && fenmu != 0xff)) { |
| 168 | + pResult.addView(createView("0%", Color.WHITE), lp); | ||
| 169 | + }else{ | ||
| 170 | + pResult.setVisibility(View.GONE); | ||
| 171 | + } | ||
| 165 | } | 172 | } |
| 166 | } | 173 | } |
| 167 | public static String formatDoubleToString(double value, Integer digits, boolean remove) { | 174 | public static String formatDoubleToString(double value, Integer digits, boolean remove) { |
C5/app/src/main/res/layout/fragment_multi_title.xml
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | android:id="@+id/line_panel" | 8 | android:id="@+id/line_panel" |
| 9 | android:layout_width="match_parent" | 9 | android:layout_width="match_parent" |
| 10 | android:layout_height="wrap_content" | 10 | android:layout_height="wrap_content" |
| 11 | - android:background="@color/red" | 11 | + android:background="#AC1007" |
| 12 | android:orientation="horizontal" | 12 | android:orientation="horizontal" |
| 13 | android:paddingBottom="20dp" | 13 | android:paddingBottom="20dp" |
| 14 | android:paddingLeft="20dp" | 14 | android:paddingLeft="20dp" |
C5/app/src/main/res/layout/fragment_result_election.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" | 4 | android:layout_height="match_parent" |
| 5 | android:background="#ff004586" | 5 | android:background="#ff004586" |
| 6 | - android:orientation="vertical" | ||
| 7 | - android:paddingRight="50dp"> | 6 | + android:orientation="vertical"> |
| 8 | 7 | ||
| 9 | <RelativeLayout | 8 | <RelativeLayout |
| 9 | + android:id="@+id/title_linear" | ||
| 10 | android:layout_width="match_parent" | 10 | android:layout_width="match_parent" |
| 11 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
| 12 | - android:layout_marginTop="@dimen/content_margin"> | 12 | + android:layout_marginTop="10dp"> |
| 13 | 13 | ||
| 14 | <ImageButton | 14 | <ImageButton |
| 15 | android:id="@+id/fragment_result_election_btn_back" | 15 | android:id="@+id/fragment_result_election_btn_back" |
| 16 | android:layout_width="wrap_content" | 16 | android:layout_width="wrap_content" |
| 17 | android:layout_height="wrap_content" | 17 | android:layout_height="wrap_content" |
| 18 | android:layout_marginLeft="@dimen/content_margin" | 18 | android:layout_marginLeft="@dimen/content_margin" |
| 19 | - android:visibility="invisible" | ||
| 20 | - android:background="@drawable/back_white_selector" /> | 19 | + android:background="@drawable/back_white_selector" |
| 20 | + android:visibility="invisible" /> | ||
| 21 | 21 | ||
| 22 | <TextView | 22 | <TextView |
| 23 | android:id="@+id/fragment_result_election_bill_title" | 23 | android:id="@+id/fragment_result_election_bill_title" |
| @@ -26,11 +26,11 @@ | @@ -26,11 +26,11 @@ | ||
| 26 | android:layout_centerHorizontal="true" | 26 | android:layout_centerHorizontal="true" |
| 27 | android:layout_marginLeft="@dimen/content_margin" | 27 | android:layout_marginLeft="@dimen/content_margin" |
| 28 | android:layout_marginRight="@dimen/content_margin" | 28 | android:layout_marginRight="@dimen/content_margin" |
| 29 | + android:ellipsize="end" | ||
| 29 | android:gravity="center" | 30 | android:gravity="center" |
| 31 | + android:lines="1" | ||
| 30 | android:text="@string/vote_election" | 32 | android:text="@string/vote_election" |
| 31 | android:textColor="@color/white" | 33 | android:textColor="@color/white" |
| 32 | - android:lines="1" | ||
| 33 | - android:ellipsize="end" | ||
| 34 | android:textSize="@dimen/big_text_p3" | 34 | android:textSize="@dimen/big_text_p3" |
| 35 | android:textStyle="bold" /> | 35 | android:textStyle="bold" /> |
| 36 | </RelativeLayout> | 36 | </RelativeLayout> |
| @@ -39,138 +39,153 @@ | @@ -39,138 +39,153 @@ | ||
| 39 | android:id="@+id/fragment_result_election_title" | 39 | android:id="@+id/fragment_result_election_title" |
| 40 | android:layout_width="fill_parent" | 40 | android:layout_width="fill_parent" |
| 41 | android:layout_height="wrap_content" | 41 | android:layout_height="wrap_content" |
| 42 | + android:layout_below="@id/title_linear" | ||
| 42 | android:layout_centerHorizontal="true" | 43 | android:layout_centerHorizontal="true" |
| 43 | android:layout_marginLeft="@dimen/content_margin" | 44 | android:layout_marginLeft="@dimen/content_margin" |
| 44 | android:layout_marginRight="@dimen/content_margin" | 45 | android:layout_marginRight="@dimen/content_margin" |
| 45 | - android:layout_marginTop="@dimen/content_margin" | 46 | + android:layout_marginTop="10dp" |
| 46 | android:gravity="center" | 47 | android:gravity="center" |
| 48 | + android:lines="1" | ||
| 47 | android:text="@string/vote_result" | 49 | android:text="@string/vote_result" |
| 48 | android:textColor="@color/white" | 50 | android:textColor="@color/white" |
| 49 | android:textSize="@dimen/big_text_p3" /> | 51 | android:textSize="@dimen/big_text_p3" /> |
| 50 | 52 | ||
| 51 | <LinearLayout | 53 | <LinearLayout |
| 54 | + android:id="@+id/data_title_layout" | ||
| 52 | android:layout_width="match_parent" | 55 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" | 56 | android:layout_height="wrap_content" |
| 54 | - android:layout_marginLeft="@dimen/content_margin" | ||
| 55 | - android:layout_marginRight="@dimen/content_margin" | ||
| 56 | - android:orientation="horizontal"> | 57 | + android:layout_below="@id/fragment_result_election_title" |
| 58 | + android:layout_marginTop="20dp" | ||
| 59 | + android:orientation="horizontal" | ||
| 60 | + android:paddingRight="80dp"> | ||
| 57 | 61 | ||
| 58 | <TextView | 62 | <TextView |
| 59 | android:id="@+id/fragment_result_election_num" | 63 | android:id="@+id/fragment_result_election_num" |
| 60 | - android:layout_width="match_parent" | 64 | + android:layout_width="140dp" |
| 61 | android:layout_height="match_parent" | 65 | android:layout_height="match_parent" |
| 62 | - android:layout_centerVertical="true" | ||
| 63 | - android:layout_weight="1" | 66 | + android:gravity="center" |
| 64 | android:paddingLeft="@dimen/content_margin" | 67 | android:paddingLeft="@dimen/content_margin" |
| 65 | android:text="@string/name_index" | 68 | android:text="@string/name_index" |
| 66 | - android:textColor="@color/white" | 69 | + android:textColor="@color/yellow" |
| 67 | android:textSize="@dimen/big_text_p4" | 70 | android:textSize="@dimen/big_text_p4" |
| 68 | android:textStyle="bold" /> | 71 | android:textStyle="bold" /> |
| 69 | 72 | ||
| 70 | <TextView | 73 | <TextView |
| 71 | android:id="@+id/fragment_result_election_name" | 74 | android:id="@+id/fragment_result_election_name" |
| 72 | - android:layout_width="match_parent" | 75 | + android:layout_width="0dp" |
| 73 | android:layout_height="match_parent" | 76 | android:layout_height="match_parent" |
| 74 | - android:layout_centerVertical="true" | ||
| 75 | android:layout_weight="1" | 77 | android:layout_weight="1" |
| 76 | android:text="@string/name_xpad" | 78 | android:text="@string/name_xpad" |
| 77 | - android:textColor="@color/white" | 79 | + android:textColor="@color/yellow" |
| 78 | android:textSize="@dimen/big_text_p4" | 80 | android:textSize="@dimen/big_text_p4" |
| 79 | android:textStyle="bold" /> | 81 | android:textStyle="bold" /> |
| 80 | 82 | ||
| 81 | <TextView | 83 | <TextView |
| 82 | android:id="@+id/fragment_result_election_agree_num" | 84 | android:id="@+id/fragment_result_election_agree_num" |
| 83 | - android:layout_width="match_parent" | 85 | + android:layout_width="140dp" |
| 84 | android:layout_height="match_parent" | 86 | android:layout_height="match_parent" |
| 85 | - android:layout_alignParentRight="true" | ||
| 86 | - android:layout_centerVertical="true" | ||
| 87 | - android:layout_weight="1" | 87 | + android:gravity="center" |
| 88 | android:text="@string/agree_num" | 88 | android:text="@string/agree_num" |
| 89 | - android:textColor="@color/white" | 89 | + android:textColor="@color/yellow" |
| 90 | android:textSize="@dimen/big_text_p4" | 90 | android:textSize="@dimen/big_text_p4" |
| 91 | android:textStyle="bold" /> | 91 | android:textStyle="bold" /> |
| 92 | 92 | ||
| 93 | <TextView | 93 | <TextView |
| 94 | android:id="@+id/fragment_result_election_oppose_num" | 94 | android:id="@+id/fragment_result_election_oppose_num" |
| 95 | - android:layout_width="match_parent" | 95 | + android:layout_width="140dp" |
| 96 | android:layout_height="match_parent" | 96 | android:layout_height="match_parent" |
| 97 | - android:layout_alignParentRight="true" | ||
| 98 | - android:layout_centerVertical="true" | ||
| 99 | - android:layout_weight="1" | 97 | + android:gravity="center" |
| 100 | android:text="@string/oppose_num" | 98 | android:text="@string/oppose_num" |
| 101 | - android:textColor="@color/white" | 99 | + android:textColor="@color/yellow" |
| 102 | android:textSize="@dimen/big_text_p4" | 100 | android:textSize="@dimen/big_text_p4" |
| 103 | android:textStyle="bold" /> | 101 | android:textStyle="bold" /> |
| 104 | 102 | ||
| 105 | <TextView | 103 | <TextView |
| 106 | android:id="@+id/fragment_result_election_abstant_num" | 104 | android:id="@+id/fragment_result_election_abstant_num" |
| 107 | - android:layout_width="match_parent" | 105 | + android:layout_width="140dp" |
| 108 | android:layout_height="match_parent" | 106 | android:layout_height="match_parent" |
| 109 | - android:layout_alignParentRight="true" | ||
| 110 | - android:layout_centerVertical="true" | ||
| 111 | - android:layout_weight="1" | 107 | + android:gravity="center" |
| 112 | android:text="@string/abstant_num" | 108 | android:text="@string/abstant_num" |
| 113 | - android:textColor="@color/white" | 109 | + android:textColor="@color/yellow" |
| 114 | android:textSize="@dimen/big_text_p4" | 110 | android:textSize="@dimen/big_text_p4" |
| 115 | android:textStyle="bold" /> | 111 | android:textStyle="bold" /> |
| 116 | 112 | ||
| 117 | <TextView | 113 | <TextView |
| 118 | android:id="@+id/fragment_result_election_result" | 114 | android:id="@+id/fragment_result_election_result" |
| 119 | - android:layout_width="match_parent" | 115 | + android:layout_width="140dp" |
| 120 | android:layout_height="match_parent" | 116 | android:layout_height="match_parent" |
| 121 | android:layout_alignParentRight="true" | 117 | android:layout_alignParentRight="true" |
| 122 | android:layout_centerVertical="true" | 118 | android:layout_centerVertical="true" |
| 123 | - android:layout_marginLeft="20px" | ||
| 124 | - android:layout_weight="1" | 119 | + android:gravity="center" |
| 125 | android:text="@string/result" | 120 | android:text="@string/result" |
| 126 | - android:textColor="@color/white" | 121 | + android:textColor="@color/yellow" |
| 127 | android:textSize="@dimen/big_text_p4" | 122 | android:textSize="@dimen/big_text_p4" |
| 128 | android:textStyle="bold" /> | 123 | android:textStyle="bold" /> |
| 129 | </LinearLayout> | 124 | </LinearLayout> |
| 130 | 125 | ||
| 131 | <LinearLayout | 126 | <LinearLayout |
| 132 | - android:layout_width="match_parent" | ||
| 133 | - android:layout_height="match_parent" | ||
| 134 | - android:orientation="vertical"> | 127 | + android:id="@+id/bottom_linear" |
| 128 | + android:layout_width="800dp" | ||
| 129 | + android:layout_height="wrap_content" | ||
| 130 | + android:layout_centerHorizontal="true" | ||
| 131 | + android:layout_alignParentBottom="true" | ||
| 132 | + android:layout_marginBottom="20dp" | ||
| 133 | + android:orientation="horizontal"> | ||
| 135 | 134 | ||
| 136 | - <ListView | ||
| 137 | - android:id="@+id/fragment_result_election_list" | ||
| 138 | - android:layout_width="match_parent" | ||
| 139 | - android:layout_height="match_parent" | ||
| 140 | - android:layout_marginBottom="@dimen/content_margin" | ||
| 141 | - android:layout_marginLeft="@dimen/content_margin" | ||
| 142 | - android:layout_marginRight="@dimen/content_margin" | ||
| 143 | - android:layout_marginTop="@dimen/content_margin" | ||
| 144 | - android:layout_weight="0.1" | ||
| 145 | - android:divider="@color/votebakground" | ||
| 146 | - android:dividerHeight="1dp"/> | 135 | + <TextView |
| 136 | + android:layout_width="wrap_content" | ||
| 137 | + android:layout_height="wrap_content" | ||
| 138 | + android:layout_weight="1" | ||
| 139 | + android:gravity="right" | ||
| 140 | + android:text="@string/yindao1" | ||
| 141 | + android:textColor="@color/yellow" | ||
| 142 | + android:textSize="@dimen/big_text_p3" | ||
| 143 | + android:textStyle="bold" /> | ||
| 144 | + | ||
| 145 | + <TextView | ||
| 146 | + android:id="@+id/yingdaoresult" | ||
| 147 | + android:layout_width="wrap_content" | ||
| 148 | + android:layout_height="wrap_content" | ||
| 149 | + android:layout_marginLeft="10dp" | ||
| 150 | + android:layout_marginRight="60dp" | ||
| 151 | + android:layout_weight="1" | ||
| 152 | + android:gravity="left" | ||
| 153 | + android:text="150" | ||
| 154 | + android:textColor="@color/white" | ||
| 155 | + android:textSize="@dimen/big_text_p3" /> | ||
| 156 | + | ||
| 157 | + <TextView | ||
| 158 | + android:layout_width="wrap_content" | ||
| 159 | + android:layout_height="wrap_content" | ||
| 160 | + android:layout_marginLeft="60dp" | ||
| 161 | + android:layout_weight="1" | ||
| 162 | + android:gravity="right" | ||
| 163 | + android:text="@string/shidao1" | ||
| 164 | + android:textColor="@color/yellow" | ||
| 165 | + android:textSize="@dimen/big_text_p3" | ||
| 166 | + android:textStyle="bold" /> | ||
| 167 | + | ||
| 168 | + <TextView | ||
| 169 | + android:id="@+id/shidaoresult" | ||
| 170 | + android:layout_width="wrap_content" | ||
| 171 | + android:layout_height="wrap_content" | ||
| 172 | + android:layout_marginLeft="10dp" | ||
| 173 | + android:layout_weight="1" | ||
| 174 | + android:gravity="left" | ||
| 175 | + android:text="150" | ||
| 176 | + android:textColor="@color/white" | ||
| 177 | + android:textSize="@dimen/big_text_p3" /> | ||
| 147 | 178 | ||
| 148 | - <LinearLayout | ||
| 149 | - android:layout_width="match_parent" | ||
| 150 | - android:layout_height="match_parent" | ||
| 151 | - android:layout_marginLeft="@dimen/linear_heigh" | ||
| 152 | - android:layout_marginRight="@dimen/linear_heigh" | ||
| 153 | - android:orientation="horizontal" | ||
| 154 | - android:layout_weight="0.3"> | ||
| 155 | - <TextView | ||
| 156 | - android:id="@+id/tv_to_be" | ||
| 157 | - android:layout_width="0dp" | ||
| 158 | - android:layout_height="wrap_content" | ||
| 159 | - android:layout_weight="1" | ||
| 160 | - android:gravity="left" | ||
| 161 | - android:text="@string/yindao" | ||
| 162 | - android:textColor="@color/white" | ||
| 163 | - android:textSize="@dimen/big_text_p3" /> | ||
| 164 | - | ||
| 165 | - <TextView | ||
| 166 | - android:id="@+id/tv_to" | ||
| 167 | - android:layout_width="0dp" | ||
| 168 | - android:layout_height="wrap_content" | ||
| 169 | - android:layout_weight="1" | ||
| 170 | - android:gravity="right" | ||
| 171 | - android:text="@string/shidao" | ||
| 172 | - android:textColor="@color/white" | ||
| 173 | - android:textSize="@dimen/big_text_p3" /> | ||
| 174 | - </LinearLayout> | ||
| 175 | </LinearLayout> | 179 | </LinearLayout> |
| 176 | -</LinearLayout> | ||
| 177 | \ No newline at end of file | 180 | \ No newline at end of file |
| 181 | + | ||
| 182 | + <ListView | ||
| 183 | + android:id="@+id/fragment_result_election_list" | ||
| 184 | + android:layout_width="match_parent" | ||
| 185 | + android:layout_height="match_parent" | ||
| 186 | + android:layout_above="@id/bottom_linear" | ||
| 187 | + android:layout_below="@id/data_title_layout" | ||
| 188 | + android:layout_marginBottom="@dimen/content_margin" | ||
| 189 | + android:divider="@color/votebakground" | ||
| 190 | + android:dividerHeight="1dp" /> | ||
| 191 | + | ||
| 192 | +</RelativeLayout> | ||
| 178 | \ No newline at end of file | 193 | \ No newline at end of file |
C5/app/src/main/res/layout/list_result_election_item.xml
| @@ -2,81 +2,68 @@ | @@ -2,81 +2,68 @@ | ||
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="wrap_content" | 4 | android:layout_height="wrap_content" |
| 5 | + android:layout_marginBottom="@dimen/content_margin" | ||
| 5 | android:layout_marginTop="@dimen/content_margin" | 6 | android:layout_marginTop="@dimen/content_margin" |
| 6 | - android:layout_marginBottom="@dimen/content_margin"> | ||
| 7 | - | 7 | + android:paddingRight="80dp"> |
| 8 | 8 | ||
| 9 | <TextView | 9 | <TextView |
| 10 | android:id="@+id/item_result_election_num" | 10 | android:id="@+id/item_result_election_num" |
| 11 | - android:layout_width="match_parent" | 11 | + android:layout_width="140dp" |
| 12 | android:layout_height="match_parent" | 12 | android:layout_height="match_parent" |
| 13 | android:layout_centerVertical="true" | 13 | android:layout_centerVertical="true" |
| 14 | + android:gravity="center" | ||
| 15 | + android:paddingLeft="@dimen/content_margin" | ||
| 14 | android:text="@string/name_index" | 16 | android:text="@string/name_index" |
| 15 | android:textColor="@color/white" | 17 | android:textColor="@color/white" |
| 16 | android:textSize="@dimen/big_text_p4" | 18 | android:textSize="@dimen/big_text_p4" |
| 17 | - android:paddingLeft="@dimen/content_margin" | ||
| 18 | - android:layout_weight="1" | ||
| 19 | android:textStyle="bold" /> | 19 | android:textStyle="bold" /> |
| 20 | 20 | ||
| 21 | <TextView | 21 | <TextView |
| 22 | android:id="@+id/item_result_election_name" | 22 | android:id="@+id/item_result_election_name" |
| 23 | - android:layout_width="match_parent" | 23 | + android:layout_width="0dp" |
| 24 | android:layout_height="match_parent" | 24 | android:layout_height="match_parent" |
| 25 | - android:layout_centerVertical="true" | 25 | + android:layout_weight="1" |
| 26 | android:text="@string/name_xpad" | 26 | android:text="@string/name_xpad" |
| 27 | android:textColor="@color/white" | 27 | android:textColor="@color/white" |
| 28 | android:textSize="@dimen/big_text_p4" | 28 | android:textSize="@dimen/big_text_p4" |
| 29 | - android:layout_weight="1" | ||
| 30 | android:textStyle="bold" /> | 29 | android:textStyle="bold" /> |
| 31 | 30 | ||
| 32 | <TextView | 31 | <TextView |
| 33 | android:id="@+id/item_result_election_agree" | 32 | android:id="@+id/item_result_election_agree" |
| 34 | - android:layout_width="match_parent" | 33 | + android:layout_width="140dp" |
| 35 | android:layout_height="match_parent" | 34 | android:layout_height="match_parent" |
| 36 | - android:layout_alignParentRight="true" | ||
| 37 | - android:layout_centerVertical="true" | 35 | + android:gravity="center" |
| 38 | android:text="@string/agree_num" | 36 | android:text="@string/agree_num" |
| 39 | android:textColor="@color/white" | 37 | android:textColor="@color/white" |
| 40 | - android:layout_weight="1" | ||
| 41 | android:textSize="@dimen/big_text_p4" | 38 | android:textSize="@dimen/big_text_p4" |
| 42 | - android:gravity="center" | ||
| 43 | android:textStyle="bold" /> | 39 | android:textStyle="bold" /> |
| 44 | 40 | ||
| 45 | <TextView | 41 | <TextView |
| 46 | android:id="@+id/item_result_election_oppose_num" | 42 | android:id="@+id/item_result_election_oppose_num" |
| 47 | - android:layout_width="match_parent" | 43 | + android:layout_width="140dp" |
| 48 | android:layout_height="match_parent" | 44 | android:layout_height="match_parent" |
| 49 | - android:layout_alignParentRight="true" | ||
| 50 | - android:layout_centerVertical="true" | 45 | + android:gravity="center" |
| 51 | android:text="@string/oppose_num" | 46 | android:text="@string/oppose_num" |
| 52 | android:textColor="@color/white" | 47 | android:textColor="@color/white" |
| 53 | - android:layout_weight="1" | ||
| 54 | - android:gravity="center" | ||
| 55 | android:textSize="@dimen/big_text_p4" | 48 | android:textSize="@dimen/big_text_p4" |
| 56 | android:textStyle="bold" /> | 49 | android:textStyle="bold" /> |
| 57 | 50 | ||
| 58 | <TextView | 51 | <TextView |
| 59 | android:id="@+id/item_result_election_abstant_num" | 52 | android:id="@+id/item_result_election_abstant_num" |
| 60 | - android:layout_width="match_parent" | 53 | + android:layout_width="140dp" |
| 61 | android:layout_height="match_parent" | 54 | android:layout_height="match_parent" |
| 62 | - android:layout_alignParentRight="true" | ||
| 63 | - android:layout_centerVertical="true" | ||
| 64 | - android:layout_weight="1" | 55 | + android:gravity="center" |
| 65 | android:text="@string/abstant_num" | 56 | android:text="@string/abstant_num" |
| 66 | android:textColor="@color/white" | 57 | android:textColor="@color/white" |
| 67 | android:textSize="@dimen/big_text_p4" | 58 | android:textSize="@dimen/big_text_p4" |
| 68 | - android:gravity="center" | ||
| 69 | android:textStyle="bold" /> | 59 | android:textStyle="bold" /> |
| 70 | 60 | ||
| 71 | <TextView | 61 | <TextView |
| 72 | android:id="@+id/item_result_election_result" | 62 | android:id="@+id/item_result_election_result" |
| 73 | - android:layout_width="match_parent" | 63 | + android:layout_width="140dp" |
| 74 | android:layout_height="match_parent" | 64 | android:layout_height="match_parent" |
| 75 | - android:layout_alignParentRight="true" | ||
| 76 | - android:layout_centerVertical="true" | 65 | + android:gravity="center" |
| 77 | android:text="@string/result" | 66 | android:text="@string/result" |
| 78 | - android:layout_weight="1" | ||
| 79 | - android:paddingLeft="@dimen/content_margin" | ||
| 80 | android:textColor="@color/white" | 67 | android:textColor="@color/white" |
| 81 | android:textSize="@dimen/big_text_p4" | 68 | android:textSize="@dimen/big_text_p4" |
| 82 | android:textStyle="bold" /> | 69 | android:textStyle="bold" /> |
C5/app/src/main/res/values/color.xml
| @@ -160,6 +160,8 @@ | @@ -160,6 +160,8 @@ | ||
| 160 | <color name="mediumblue">#0000CD</color> <!--中兰色 --> | 160 | <color name="mediumblue">#0000CD</color> <!--中兰色 --> |
| 161 | <color name="darkblue">#00008B</color> <!--暗蓝色 --> | 161 | <color name="darkblue">#00008B</color> <!--暗蓝色 --> |
| 162 | <color name="navy">#000080</color> <!--海军色 --> | 162 | <color name="navy">#000080</color> <!--海军色 --> |
| 163 | - <color name="black">#000000</color> <!--黑色 --> | 163 | + <color name="black">#000000</color> <!--黑色 --> |
| 164 | + | ||
| 165 | + <color name="titile_background_1">#450603</color> | ||
| 164 | 166 | ||
| 165 | </resources> | 167 | </resources> |
| 166 | \ No newline at end of file | 168 | \ No newline at end of file |