Commit 4c3de86c21793405c52ca3a23e48180f939e55f1
1 parent
fac86401
UI改版第一版
Showing
174 changed files
with
1220 additions
and
17501 deletions
Too many changes.
To preserve performance only 100 of 174 files are displayed.
C5/app/build.gradle
C5/app/src/main/java/com/sunvote/xpadapp/MainActivity.java
... | ... | @@ -56,6 +56,7 @@ import com.sunvote.xpadapp.fragments.MultiContentDetailFragment; |
56 | 56 | import com.sunvote.xpadapp.fragments.MultiContentFragment; |
57 | 57 | import com.sunvote.xpadapp.fragments.MultiPingshengFragment; |
58 | 58 | import com.sunvote.xpadapp.fragments.MultiTitleFragment; |
59 | +import com.sunvote.xpadapp.fragments.UserResultVoteFragment; | |
59 | 60 | import com.sunvote.xpadapp.fragments.NoFileFragment; |
60 | 61 | import com.sunvote.xpadapp.fragments.OfflineFragment; |
61 | 62 | import com.sunvote.xpadapp.fragments.OnLineFragment; |
... | ... | @@ -65,6 +66,7 @@ import com.sunvote.xpadapp.fragments.ResultMultiVoteFragment; |
65 | 66 | import com.sunvote.xpadapp.fragments.ResultVoteFragment; |
66 | 67 | import com.sunvote.xpadapp.fragments.ShowIdFragment; |
67 | 68 | import com.sunvote.xpadapp.fragments.SigninFragment; |
69 | +import com.sunvote.xpadapp.fragments.SinginResultFragment; | |
68 | 70 | import com.sunvote.xpadapp.fragments.SingleTitleFragment; |
69 | 71 | import com.sunvote.xpadapp.presenter.ServicePresent; |
70 | 72 | import com.sunvote.xpadapp.presenter.XPadPresenter; |
... | ... | @@ -100,7 +102,7 @@ public class MainActivity extends BaseActivity implements ComListener { |
100 | 102 | private final int Msg_Download = 3; |
101 | 103 | private final int Msg_Welcome = 4; |
102 | 104 | |
103 | - // private final int Msg_Signin = 5; | |
105 | +// private final int Msg_Signin = 5; | |
104 | 106 | // private final int Msg_QuickVote = 6; |
105 | 107 | // private final int Msg_SingleTitleVote = 7; |
106 | 108 | // private final int Msg_MultiTitleVote = 8; |
... | ... | @@ -625,8 +627,9 @@ public class MainActivity extends BaseActivity implements ComListener { |
625 | 627 | FragmentManager fm = getFragmentManager(); |
626 | 628 | FragmentTransaction transaction = fm.beginTransaction(); |
627 | 629 | ResultVoteFragment fr = new ResultVoteFragment(); |
628 | - fr.voteInfo = vote; | |
629 | - fr.bill = currBillInfo; | |
630 | +// fr.voteInfo = vote; | |
631 | +// fr.bill = currBillInfo; | |
632 | + fr.setVoteInfo(vote); | |
630 | 633 | resultFragment = fr; |
631 | 634 | transaction.setCustomAnimations(android.R.animator.fade_in, android.R.animator.fade_out); |
632 | 635 | transaction.add(R.id.frame_content, fr); |
... | ... | @@ -635,6 +638,20 @@ public class MainActivity extends BaseActivity implements ComListener { |
635 | 638 | LogUtil.i(TAG, "showVoteResultFragment 信标"); |
636 | 639 | } |
637 | 640 | |
641 | + private void showSigninResultFragment(VoteInfo vote) { | |
642 | + hideResultFragment(); | |
643 | + FragmentManager fm = getFragmentManager(); | |
644 | + FragmentTransaction transaction = fm.beginTransaction(); | |
645 | + SinginResultFragment fr = new SinginResultFragment(); | |
646 | + fr.setResultInfo(vote.resultInfo); | |
647 | + resultFragment = fr; | |
648 | + transaction.setCustomAnimations(android.R.animator.fade_in, android.R.animator.fade_out); | |
649 | + transaction.add(R.id.frame_content, fr); | |
650 | + transaction.addToBackStack("signinresult"); | |
651 | + transaction.commitAllowingStateLoss(); | |
652 | + LogUtil.i(TAG, "showSigninResultFragment 信标"); | |
653 | + } | |
654 | + | |
638 | 655 | private void showResultElectionFragment(byte[] buffer) { |
639 | 656 | |
640 | 657 | int voteId = buffer[3] & 0xff; |
... | ... | @@ -689,11 +706,9 @@ public class MainActivity extends BaseActivity implements ComListener { |
689 | 706 | hideResultFragment(); |
690 | 707 | |
691 | 708 | FragmentTransaction transaction = fm.beginTransaction(); |
692 | - ResultVoteFragment fr = new ResultVoteFragment(); | |
693 | - fr.voteInfo = null; | |
694 | - fr.data = buffer; | |
695 | - fr.bill = currBillInfo; | |
696 | - fr.options = currBillInfo.billOptions.split("/"); | |
709 | + UserResultVoteFragment fr = new UserResultVoteFragment(); | |
710 | + fr.setData(buffer); | |
711 | + fr.setOptions(currBillInfo.billOptions.split("/")); | |
697 | 712 | resultFragment = fr; |
698 | 713 | transaction.setCustomAnimations(android.R.animator.fade_in, android.R.animator.fade_out); |
699 | 714 | transaction.add(R.id.frame_content, fr); |
... | ... | @@ -1377,14 +1392,14 @@ public class MainActivity extends BaseActivity implements ComListener { |
1377 | 1392 | } |
1378 | 1393 | } |
1379 | 1394 | if (voteInfo.mode1_msgType == 2) { // 结果显示 |
1380 | - if (voteInfo.resultInfo.resultType == XPadApi.VoteType_BatchVote) { // 多项 | |
1395 | + if(voteInfo.resultInfo.resultType == XPadApi.VoteType_Stop){ | |
1396 | + showSigninResultFragment(voteInfo); | |
1397 | + }else if (voteInfo.resultInfo.resultType == XPadApi.VoteType_BatchVote) { // 多项 | |
1381 | 1398 | if (currFragment != null) { |
1382 | 1399 | currFragment.onVoteEvent(voteInfo); |
1383 | 1400 | } |
1384 | - } else { | |
1385 | - if (voteInfo.resultInfo.resultType !=101 && voteInfo.resultInfo.resultType != XPadApi.VoteType_BatchElect){ | |
1401 | + } else if (voteInfo.resultInfo.resultType !=101 && voteInfo.resultInfo.resultType != XPadApi.VoteType_BatchElect){ | |
1386 | 1402 | showVoteResultFragment(voteInfo); |
1387 | - } | |
1388 | 1403 | } |
1389 | 1404 | } |
1390 | 1405 | } else if (voteInfo.mode == XPadApi.VoteType_Signin) { | ... | ... |
C5/app/src/main/java/com/sunvote/xpadapp/adapter/SingerVoteResultAdapter.java
0 → 100644
1 | +package com.sunvote.xpadapp.adapter; | |
2 | + | |
3 | +import android.graphics.Color; | |
4 | +import android.view.LayoutInflater; | |
5 | +import android.view.View; | |
6 | +import android.view.ViewGroup; | |
7 | +import android.widget.BaseAdapter; | |
8 | +import android.widget.TextView; | |
9 | + | |
10 | +import com.sunvote.xpadapp.R; | |
11 | + | |
12 | +import java.util.ArrayList; | |
13 | +import java.util.List; | |
14 | + | |
15 | +public class SingerVoteResultAdapter extends BaseAdapter { | |
16 | + | |
17 | + public SingerVoteResultAdapter(LayoutInflater inflater, List<String[]> dataList, int optionNum) { | |
18 | + this.mInflater = inflater; | |
19 | + this.dataList = dataList; | |
20 | + this.optionNum = optionNum; | |
21 | + } | |
22 | + | |
23 | + private List<String[]> dataList = new ArrayList<>(); | |
24 | + private int optionNum; | |
25 | + private LayoutInflater mInflater; | |
26 | + | |
27 | + @Override | |
28 | + public int getCount() { | |
29 | + return dataList.size(); | |
30 | + } | |
31 | + | |
32 | + @Override | |
33 | + public Object getItem(int position) { | |
34 | + return dataList.get(position); | |
35 | + } | |
36 | + | |
37 | + @Override | |
38 | + public long getItemId(int position) { | |
39 | + return position; | |
40 | + } | |
41 | + | |
42 | + @Override | |
43 | + public View getView(int position, View convertView, ViewGroup parent) { | |
44 | + ViewHolder viewHolder; | |
45 | + if (convertView == null) { | |
46 | + convertView = mInflater.inflate(R.layout.item_singer_vote_result, null); | |
47 | + viewHolder = new ViewHolder(); | |
48 | + viewHolder.result1 = convertView.findViewById(R.id.result1); | |
49 | + viewHolder.result2 = convertView.findViewById(R.id.result2); | |
50 | + viewHolder.result3 = convertView.findViewById(R.id.result3); | |
51 | + viewHolder.result4 = convertView.findViewById(R.id.result4); | |
52 | + viewHolder.result5 = convertView.findViewById(R.id.result5); | |
53 | + viewHolder.result6 = convertView.findViewById(R.id.result6); | |
54 | + viewHolder.result7 = convertView.findViewById(R.id.result7); | |
55 | + convertView.setTag(viewHolder); | |
56 | + } else { | |
57 | + viewHolder = (ViewHolder) convertView.getTag(); | |
58 | + } | |
59 | + setVisible(viewHolder, position); | |
60 | + String[] options = dataList.get(position); | |
61 | + setData(viewHolder, options); | |
62 | + return convertView; | |
63 | + } | |
64 | + | |
65 | + private void setData(ViewHolder viewHolder, String[] options) { | |
66 | + if (optionNum > 0 && options.length > 0) { | |
67 | + viewHolder.result1.setText(options[0]); | |
68 | + } | |
69 | + if (optionNum > 1 && options.length > 1) { | |
70 | + viewHolder.result1.setText(options[1]); | |
71 | + } | |
72 | + if (optionNum > 2 && options.length > 2) { | |
73 | + viewHolder.result1.setText(options[2]); | |
74 | + } | |
75 | + if (optionNum > 3 && options.length > 3) { | |
76 | + viewHolder.result1.setText(options[3]); | |
77 | + } | |
78 | + if (optionNum > 4 && options.length > 4) { | |
79 | + viewHolder.result1.setText(options[4]); | |
80 | + } | |
81 | + if (optionNum > 5 && options.length > 5) { | |
82 | + viewHolder.result1.setText(options[5]); | |
83 | + } | |
84 | + if (optionNum > 6 && options.length > 6) { | |
85 | + viewHolder.result1.setText(options[6]); | |
86 | + } | |
87 | + } | |
88 | + | |
89 | + private void setVisible(ViewHolder viewHolder, int position) { | |
90 | + if (optionNum > 0) { | |
91 | + viewHolder.result1.setVisibility(View.VISIBLE); | |
92 | + } else { | |
93 | + viewHolder.result1.setVisibility(View.GONE); | |
94 | + } | |
95 | + viewHolder.result1.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
96 | + if (optionNum > 1) { | |
97 | + viewHolder.result2.setVisibility(View.VISIBLE); | |
98 | + } else { | |
99 | + viewHolder.result2.setVisibility(View.GONE); | |
100 | + } | |
101 | + viewHolder.result2.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
102 | + if (optionNum > 2) { | |
103 | + viewHolder.result3.setVisibility(View.VISIBLE); | |
104 | + } else { | |
105 | + viewHolder.result3.setVisibility(View.GONE); | |
106 | + } | |
107 | + viewHolder.result3.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
108 | + if (optionNum > 3) { | |
109 | + viewHolder.result4.setVisibility(View.VISIBLE); | |
110 | + } else { | |
111 | + viewHolder.result4.setVisibility(View.GONE); | |
112 | + } | |
113 | + viewHolder.result4.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
114 | + if (optionNum > 4) { | |
115 | + viewHolder.result5.setVisibility(View.VISIBLE); | |
116 | + } else { | |
117 | + viewHolder.result5.setVisibility(View.GONE); | |
118 | + } | |
119 | + viewHolder.result5.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
120 | + if (optionNum > 5) { | |
121 | + viewHolder.result6.setVisibility(View.VISIBLE); | |
122 | + } else { | |
123 | + viewHolder.result6.setVisibility(View.GONE); | |
124 | + } | |
125 | + viewHolder.result6.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
126 | + if (optionNum > 6) { | |
127 | + viewHolder.result7.setVisibility(View.VISIBLE); | |
128 | + } else { | |
129 | + viewHolder.result7.setVisibility(View.GONE); | |
130 | + } | |
131 | + viewHolder.result7.setTextColor(position == 0 ? Color.YELLOW : Color.WHITE); | |
132 | + } | |
133 | + | |
134 | + class ViewHolder { | |
135 | + TextView result1; | |
136 | + TextView result2; | |
137 | + TextView result3; | |
138 | + TextView result4; | |
139 | + TextView result5; | |
140 | + TextView result6; | |
141 | + TextView result7; | |
142 | + } | |
143 | +} | ... | ... |
C5/app/src/main/java/com/sunvote/xpadapp/base/BaseActivity.java
... | ... | @@ -11,6 +11,7 @@ import android.support.v4.app.FragmentActivity; |
11 | 11 | import android.support.v4.content.ContextCompat; |
12 | 12 | import android.util.DisplayMetrics; |
13 | 13 | import android.view.KeyEvent; |
14 | +import android.view.Window; | |
14 | 15 | import android.view.WindowManager; |
15 | 16 | import android.widget.Toast; |
16 | 17 | |
... | ... | @@ -29,12 +30,17 @@ public class BaseActivity extends FragmentActivity { |
29 | 30 | |
30 | 31 | @Override |
31 | 32 | protected void onCreate(Bundle savedInstanceState) { |
32 | - this.getWindow().setFlags(FLAG_HOMEKEY_DISPATCHED, FLAG_HOMEKEY_DISPATCHED);//关键代码 | |
33 | + //无title | |
34 | + requestWindowFeature(Window.FEATURE_NO_TITLE); | |
35 | + //全屏 | |
36 | + getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN , | |
37 | + WindowManager.LayoutParams. FLAG_FULLSCREEN); | |
33 | 38 | setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); |
34 | 39 | getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); |
35 | 40 | // if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.KITKAT){ |
36 | 41 | // getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); |
37 | 42 | // } |
43 | + | |
38 | 44 | super.onCreate(savedInstanceState); |
39 | 45 | |
40 | 46 | checkPermission(); | ... | ... |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/ResultVoteFragment.java
1 | 1 | package com.sunvote.xpadapp.fragments; |
2 | 2 | |
3 | -import java.text.DecimalFormat; | |
4 | -import java.util.ArrayList; | |
5 | -import java.util.logging.Handler; | |
6 | - | |
7 | -import com.sunvote.xpadapp.MainActivity; | |
8 | -import com.sunvote.xpadapp.R; | |
9 | -import com.sunvote.xpadapp.base.BaseFragment; | |
10 | -import com.sunvote.xpadapp.base.CustomTextView; | |
11 | -import com.sunvote.xpadapp.base.TextViewUtils; | |
12 | -import com.sunvote.xpadapp.db.DBManager; | |
13 | -import com.sunvote.xpadapp.db.modal.BillInfo; | |
14 | -import com.sunvote.xpadapp.db.modal.MultiTitleItem; | |
15 | -import com.sunvote.xpadcomm.XPadApiInterface.VoteInfo; | |
16 | - | |
17 | -import android.app.FragmentManager; | |
18 | -import android.app.FragmentTransaction; | |
3 | +import android.graphics.Color; | |
19 | 4 | import android.os.Bundle; |
20 | -import android.text.TextPaint; | |
21 | -import android.util.Log; | |
22 | -import android.util.TypedValue; | |
23 | 5 | import android.view.Gravity; |
24 | 6 | import android.view.LayoutInflater; |
25 | 7 | import android.view.View; |
26 | -import android.view.ViewGroup; | |
27 | 8 | import android.view.View.OnClickListener; |
28 | -import android.widget.Button; | |
29 | -import android.widget.ImageButton; | |
30 | -import android.widget.RelativeLayout; | |
9 | +import android.view.ViewGroup; | |
10 | +import android.widget.LinearLayout; | |
31 | 11 | import android.widget.TextView; |
32 | 12 | |
33 | -public class ResultVoteFragment extends BaseFragment { | |
34 | - | |
35 | - public BillInfo bill; | |
36 | - public ArrayList<MultiTitleItem> subInfo; | |
37 | - public VoteInfo voteInfo; | |
38 | - public String resultStr; | |
39 | - public String[] options; | |
40 | - public byte[] data; | |
41 | - | |
42 | - String TAG = "ResultVoteFragment"; | |
43 | - | |
44 | - private int page = 0; | |
45 | - | |
46 | - TextView tvBillTitle; | |
47 | - TextView tvSubTitle; | |
48 | - TextView tvOption1; | |
49 | - TextView tvValue1; | |
50 | - TextView tvOption2; | |
51 | - TextView tvValue2; | |
52 | - TextView tvOption3; | |
53 | - TextView tvValue3; | |
54 | - TextView tvOption4; | |
55 | - TextView tvValue4; | |
56 | - TextView tvOption5; | |
57 | - TextView tvValue5; | |
58 | - TextView tvOption6; | |
59 | - TextView tvValue6; | |
60 | - TextView tvOption7; | |
61 | - TextView tvValue7; | |
62 | - TextView tvMemo; | |
63 | - TextView tvPage; | |
64 | - | |
65 | - private View fragment_result_option_panel1; | |
66 | - private View fragment_result_option_panel2; | |
67 | - private View fragment_result_option_panel3; | |
68 | - private View fragment_result_option_panel4; | |
69 | - private View fragment_result_option_panel5; | |
70 | - private View fragment_result_option_panel6; | |
71 | - private View fragment_result_option_panel7; | |
72 | - | |
73 | - private Handler mHandle; | |
74 | - | |
75 | - public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
76 | - View view = inflater.inflate(R.layout.fragment_result_vote, container, false); | |
77 | - final MainActivity mact = (MainActivity) getActivity(); | |
78 | - | |
79 | - tvBillTitle = (TextView) view.findViewById(R.id.fragment_result_bill_title); | |
80 | - tvSubTitle = (TextView) view.findViewById(R.id.fragment_result_sub_title); | |
81 | - tvOption1 = (TextView) view.findViewById(R.id.fragment_result_option1); | |
82 | - tvValue1 = (TextView) view.findViewById(R.id.fragment_result_value1); | |
83 | - tvOption2 = (TextView) view.findViewById(R.id.fragment_result_option2); | |
84 | - tvValue2 = (TextView) view.findViewById(R.id.fragment_result_value2); | |
85 | - tvOption3 = (TextView) view.findViewById(R.id.fragment_result_option3); | |
86 | - tvValue3 = (TextView) view.findViewById(R.id.fragment_result_value3); | |
87 | - tvOption4 = (TextView) view.findViewById(R.id.fragment_result_option4); | |
88 | - tvValue4 = (TextView) view.findViewById(R.id.fragment_result_value4); | |
89 | - tvOption5 = (TextView) view.findViewById(R.id.fragment_result_option5); | |
90 | - tvValue5 = (TextView) view.findViewById(R.id.fragment_result_value5); | |
91 | - tvOption6 = (TextView) view.findViewById(R.id.fragment_result_option6); | |
92 | - tvValue6= (TextView) view.findViewById(R.id.fragment_result_value6); | |
93 | - tvOption7 = (TextView) view.findViewById(R.id.fragment_result_option7); | |
94 | - tvValue7= (TextView) view.findViewById(R.id.fragment_result_value7); | |
95 | - | |
96 | - fragment_result_option_panel1 = view.findViewById(R.id.fragment_result_option_panel1); | |
97 | - fragment_result_option_panel2 = view.findViewById(R.id.fragment_result_option_panel2); | |
98 | - fragment_result_option_panel3 = view.findViewById(R.id.fragment_result_option_panel3); | |
99 | - fragment_result_option_panel4 = view.findViewById(R.id.fragment_result_option_panel4); | |
100 | - fragment_result_option_panel5 = view.findViewById(R.id.fragment_result_option_panel5); | |
101 | - fragment_result_option_panel6 = view.findViewById(R.id.fragment_result_option_panel6); | |
102 | - fragment_result_option_panel7 = view.findViewById(R.id.fragment_result_option_panel7); | |
103 | - | |
104 | - fragment_result_option_panel1.setVisibility(View.GONE); | |
105 | - fragment_result_option_panel2.setVisibility(View.GONE); | |
106 | - fragment_result_option_panel3.setVisibility(View.GONE); | |
107 | - fragment_result_option_panel4.setVisibility(View.GONE); | |
108 | - fragment_result_option_panel5.setVisibility(View.GONE); | |
109 | - fragment_result_option_panel6.setVisibility(View.GONE); | |
110 | - fragment_result_option_panel7.setVisibility(View.GONE); | |
111 | - | |
112 | - tvMemo = (TextView) view.findViewById(R.id.fragment_result_memo); | |
113 | - | |
114 | - RelativeLayout pagePanel = (RelativeLayout) view.findViewById(R.id.fragment_result_page_panel); | |
115 | - | |
116 | - tvPage = (TextView) view.findViewById(R.id.fragment_result_page); | |
117 | - view.setOnClickListener(new OnClickListener() { | |
118 | - @Override | |
119 | - public void onClick(View v) { | |
120 | - ; | |
121 | - } | |
122 | - }); | |
123 | - Button btnPageUp = (Button) view.findViewById(R.id.fragment_result_pageup); | |
124 | - Button btnPageDown = (Button) view.findViewById(R.id.fragment_result_pagedown); | |
125 | - btnPageUp.setOnClickListener(new OnClickListener() { | |
126 | - | |
127 | - @Override | |
128 | - public void onClick(View v) { | |
129 | - if (page > 0) { | |
130 | - page--; | |
131 | - showResultByPage(); | |
132 | - tvPage.setText(String.format("%d/%d", page + 1, subInfo.size())); | |
133 | - } | |
134 | - } | |
135 | - }); | |
136 | - | |
137 | - btnPageDown.setOnClickListener(new OnClickListener() { | |
138 | - @Override | |
139 | - public void onClick(View v) { | |
140 | - if (page < subInfo.size() - 1) { | |
141 | - page++; | |
142 | - showResultByPage(); | |
143 | - tvPage.setText(String.format("%d/%d", page + 1, subInfo.size())); | |
144 | - } | |
145 | - } | |
146 | - }); | |
147 | - | |
148 | - ImageButton btnBack = (ImageButton) view.findViewById(R.id.fragment_result_vote_btn_back); | |
149 | - btnBack.setOnClickListener(new OnClickListener() { | |
150 | - @Override | |
151 | - public void onClick(View v) { | |
152 | - FragmentManager fm = getFragmentManager(); | |
153 | - FragmentTransaction tx = fm.beginTransaction(); | |
154 | - tx.remove(ResultVoteFragment.this); | |
155 | - tx.commit(); | |
156 | - // mact.resultFragment = null; | |
157 | - } | |
158 | - }); | |
159 | - | |
160 | - pagePanel.setVisibility(View.GONE); | |
161 | - // if (bill != null && bill.title != null) { | |
162 | - // //tvBillTitle.setText(bill.title); | |
163 | - // } | |
164 | - // tvBillTitle.setText(getString(R.string.ceping_result)); | |
165 | - | |
166 | - showResult(); | |
167 | - return view; | |
168 | - } | |
169 | - | |
170 | - | |
171 | - int fenmu;//百分比分母 | |
172 | - int goToBe;//应到 | |
173 | - int goTo;//实到 | |
174 | - int notVote;//未按票数 | |
175 | - | |
176 | - private void showResult(){ | |
177 | - if(voteInfo==null){// 自定义表决结果 | |
178 | - int bitNum = data[2] & 0xf; | |
179 | - int digiters = data[2] >> 4 & 0xf; | |
180 | - int voteNo = data[3] & 0xff; | |
181 | - int resultSelectModel = data[4] & 0xff; //表决结果 | |
182 | - | |
183 | - if (bitNum == 0) { //单字节数值 | |
184 | - fenmu = data[5] & 0xff; | |
185 | - goToBe= data[6] & 0xff; | |
186 | - goTo= data[7] & 0xff; | |
187 | - notVote= data[8] & 0xff; | |
188 | - | |
189 | - int pos =9; | |
190 | - int i = pos; | |
191 | - for (; i < data.length; i++) { | |
192 | - if (pos == data.length - 1) { | |
193 | - break; | |
194 | - } | |
195 | - setView(pos,digiters,bitNum,1); | |
196 | - } | |
197 | - //应到实到 | |
198 | - String strYDSD = ""; | |
199 | - if (goToBe != 0xff) { | |
200 | - strYDSD = strYDSD + getString(R.string.yindao) + ":" + goToBe; | |
201 | - } | |
202 | - if (goTo != 0xff) { | |
203 | - strYDSD = strYDSD + " " + getString(R.string.shidao) + ":" + goTo; | |
204 | - } | |
205 | - tvBillTitle.setText(strYDSD); | |
206 | - if (resultSelectModel != 0xFF) { | |
207 | - if(options!=null){ | |
208 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+options[resultSelectModel]); | |
209 | - } | |
210 | - } | |
211 | - } else { | |
212 | - fenmu = (data[5] <<8 | data[6]) & 0xffff; | |
213 | - goToBe = (data[7] << 8 | data[8]) & 0xffff; | |
214 | - goTo = (data[9] << 8 | data[10]) & 0xffff; | |
215 | - notVote= (data[11] << 8 | data[12]) & 0xffff; | |
216 | - | |
217 | - int pos = 13; | |
218 | - int i = pos; | |
219 | - for (; i < data.length; i++) { | |
220 | - if (pos == data.length - 1) { | |
221 | - break; | |
222 | - } | |
223 | - setView(pos,digiters,bitNum,2); | |
224 | - } | |
225 | - //应到实到 | |
226 | - String strYDSD = ""; | |
227 | - if (goToBe != 0xffff) { | |
228 | - strYDSD = strYDSD + getString(R.string.yindao) + ":" + goToBe; | |
229 | - } | |
230 | - if (goTo != 0xffff) { | |
231 | - strYDSD = strYDSD + " " + getString(R.string.shidao) + ":" + goTo; | |
232 | - } | |
233 | - tvBillTitle.setText(strYDSD); | |
234 | - if (resultSelectModel != 0xffff) { | |
235 | - if(options!=null){ | |
236 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+options[resultSelectModel]); | |
237 | - } | |
238 | - } | |
239 | - } | |
240 | - return; | |
241 | - } | |
242 | - | |
243 | - int pass = voteInfo.resultInfo.bits & 0xF; | |
244 | - int xiaoShuWei = (voteInfo.resultInfo.bits >> 4) & 0xF; | |
245 | - int fenmu = voteInfo.resultInfo.num0; | |
246 | - Log.d(TAG, "xiaoshu:" + xiaoShuWei + " fenmu:" + fenmu); | |
247 | - if (voteInfo.resultInfo.resultType == 0) {// ??? | |
248 | - tvBillTitle.setText(getString(R.string.signin_result)); | |
249 | - // tvSubTitle.setText("???????"); | |
250 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
251 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
252 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
253 | - tvOption1.setText(getString(R.string.yindao) + getString(R.string.maohao)); | |
254 | - tvValue1.setText(String.valueOf(voteInfo.resultInfo.num2) + getString(R.string.ren)); | |
255 | - tvOption2.setText(getString(R.string.shidao) + getString(R.string.maohao)); | |
256 | - tvValue2.setText(String.valueOf(voteInfo.resultInfo.num3) + getString(R.string.ren)); | |
257 | - tvOption3.setText(getString(R.string.weidao) + getString(R.string.maohao)); | |
258 | - tvValue3.setText(String.valueOf(voteInfo.resultInfo.num1) + getString(R.string.ren)); | |
259 | - | |
260 | - if (pass == 0xF) { | |
261 | - tvMemo.setText(""); | |
262 | - } else if (pass == 0) { | |
263 | - tvMemo.setText(getString(R.string.bufuherenshu)); | |
264 | - } else { | |
265 | - tvMemo.setText(getString(R.string.fuherenshu)); | |
266 | - } | |
267 | - } else if (voteInfo.resultInfo.resultType == 1) { | |
268 | - // tvBillTitle.setText(getString(R.string.biaojue_result)); | |
269 | - String strYDSD = ""; | |
270 | - if (voteInfo.resultInfo.num1 != 0xffff) { | |
271 | - strYDSD = strYDSD + getString(R.string.yindao) + ":" + voteInfo.resultInfo.num1; | |
272 | - } | |
273 | - if (voteInfo.resultInfo.num2 != 0xffff) { | |
274 | - strYDSD = strYDSD + " " + getString(R.string.shidao) + ":" + voteInfo.resultInfo.num2; | |
275 | - } | |
276 | - tvBillTitle.setText(strYDSD); | |
277 | - | |
278 | - tvOption1.setText(getString(R.string.agree)); | |
279 | - tvValue1.setText(String.valueOf(voteInfo.resultInfo.num4) + getString(R.string.piao)); | |
280 | - tvOption2.setText(getString(R.string.oppose)); | |
281 | - tvValue2.setText(String.valueOf(voteInfo.resultInfo.num5) + getString(R.string.piao)); | |
282 | - tvOption3.setText(getString(R.string.weian)); | |
283 | - tvValue3.setText(String.valueOf(voteInfo.resultInfo.num3) + getString(R.string.piao)); | |
284 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
285 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
286 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
287 | - if (fenmu > 0 && fenmu != 0xffff) { | |
288 | - | |
289 | - double pzc = voteInfo.resultInfo.num4 * 1.0 / fenmu * 100; | |
290 | - String szc = formatDoubleToString(pzc, xiaoShuWei, false); | |
291 | - | |
292 | - double pfd = voteInfo.resultInfo.num5 * 1.0 / fenmu * 100; | |
293 | - String sfd = formatDoubleToString(pfd, xiaoShuWei, false); | |
294 | - | |
295 | - double pwa = voteInfo.resultInfo.num3 * 1.0 / fenmu * 100; | |
296 | - String swa = formatDoubleToString(pwa, xiaoShuWei, false); | |
297 | - | |
298 | - tvValue1.setText(String.valueOf(voteInfo.resultInfo.num4) + " (" + szc + "%)"); | |
299 | - tvValue2.setText(String.valueOf(voteInfo.resultInfo.num5) + " (" + sfd + "%)"); | |
300 | - tvValue3.setText(String.valueOf(voteInfo.resultInfo.num3) + " (" + swa + "%)"); | |
301 | - } | |
302 | - | |
303 | - if (voteInfo.resultInfo.num4 == 0xffff) { | |
304 | - tvOption1.setText(""); | |
305 | - tvValue1.setText(String.valueOf("")); | |
306 | - } | |
307 | - if (voteInfo.resultInfo.num5 == 0xffff) { | |
308 | - tvOption2.setText(""); | |
309 | - tvValue2.setText(String.valueOf("")); | |
310 | - } | |
311 | - if (voteInfo.resultInfo.num3 == 0xffff) { | |
312 | - tvOption3.setText(""); | |
313 | - tvValue3.setText(String.valueOf("")); | |
314 | - } | |
315 | - | |
316 | - if (pass == 0xf) { | |
317 | - tvMemo.setText(""); | |
318 | - } else if (pass == 0) { | |
319 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+getString(R.string.no_pass)); | |
320 | - } else { | |
321 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+getString(R.string.pass)); | |
322 | - } | |
323 | - } else { | |
324 | - | |
325 | - if (voteInfo.resultInfo.resultType == 2) { | |
326 | - // tvBillTitle.setText(getString(R.string.biaojue_result)); | |
327 | - tvOption1.setText(getString(R.string.agree)); | |
328 | - tvOption2.setText(getString(R.string.oppose)); | |
329 | - tvOption3.setText(getString(R.string.abstant)); | |
330 | - | |
331 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
332 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
333 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
334 | - | |
335 | - if (pass == 0) { | |
336 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+getString(R.string.no_pass)); | |
337 | - } else { | |
338 | - tvMemo.setText(getString(R.string.biaojue_result)+getString(R.string.maohao)+getString(R.string.pass)); | |
339 | - } | |
340 | - | |
341 | - } else if (voteInfo.resultInfo.resultType == 4) { | |
342 | - tvOption1.setText(getString(R.string.manyi)); | |
343 | - tvOption2.setText(getString(R.string.jbmanyi)); | |
344 | - tvOption3.setText(getString(R.string.bumanyi)); | |
345 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
346 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
347 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
348 | - if (pass == 0) { | |
349 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.manyi)); | |
350 | - } else if (pass == 1) { | |
351 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.jbmanyi)); | |
352 | - } else { | |
353 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.bumanyi)); | |
354 | - } | |
355 | - } else if (voteInfo.resultInfo.resultType == 12) { | |
356 | - tvOption1.setText(getString(R.string.manyi)); | |
357 | - tvOption2.setText(getString(R.string.bumanyi)); | |
358 | - tvOption3.setText(getString(R.string.fcbumanyi)); | |
359 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
360 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
361 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
362 | - if (pass == 0) { | |
363 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.manyi)); | |
364 | - } else if (pass == 1) { | |
365 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.bumanyi)); | |
366 | - } else { | |
367 | - tvMemo.setText(getString(R.string.ceping_result)+getString(R.string.maohao)+getString(R.string.fcbumanyi)); | |
368 | - } | |
369 | - } | |
370 | - | |
371 | - if (pass == 0xf) { | |
372 | - tvMemo.setText(""); | |
373 | - } | |
374 | - // bg:0,69,134 | |
375 | - String strYDSD = ""; | |
376 | - if (voteInfo.resultInfo.num1 != 0xffff) { | |
377 | - strYDSD = strYDSD + getString(R.string.yindao) + ":" + voteInfo.resultInfo.num1; | |
378 | - } | |
379 | - if (voteInfo.resultInfo.num2 != 0xffff) { | |
380 | - strYDSD = strYDSD + " " + getString(R.string.shidao) + ":" + voteInfo.resultInfo.num2; | |
381 | - } | |
382 | - tvBillTitle.setText(strYDSD); | |
383 | - fragment_result_option_panel4.setVisibility(View.VISIBLE); | |
384 | - tvOption4.setText(getString(R.string.weian)); | |
385 | - tvValue4.setText(String.valueOf(voteInfo.resultInfo.num3) + getString(R.string.piao)); | |
386 | - | |
387 | - tvValue1.setText(String.valueOf(voteInfo.resultInfo.num4) + getString(R.string.piao)); | |
388 | - tvValue2.setText(String.valueOf(voteInfo.resultInfo.num5) + getString(R.string.piao)); | |
389 | - tvValue3.setText(String.valueOf(voteInfo.resultInfo.num6) + getString(R.string.piao)); | |
390 | - | |
391 | - if (fenmu > 0 && fenmu != 0xffff) { | |
392 | - | |
393 | - double pzc = voteInfo.resultInfo.num4 * 1.0 / fenmu * 100; | |
394 | - String strOpt1 = formatDoubleToString(pzc, xiaoShuWei, false); | |
395 | - | |
396 | - double pfd = voteInfo.resultInfo.num5 * 1.0 / fenmu * 100; | |
397 | - String strOpt2 = formatDoubleToString(pfd, xiaoShuWei, false); | |
398 | - | |
399 | - double opt3 = voteInfo.resultInfo.num6 * 1.0 / fenmu * 100; | |
400 | - String strOpt3 = formatDoubleToString(opt3, xiaoShuWei, false); | |
401 | - | |
402 | - double opt4 = voteInfo.resultInfo.num3 * 1.0 / fenmu * 100; | |
403 | - String strOpt4 = formatDoubleToString(opt4, xiaoShuWei, false); | |
404 | - | |
405 | - tvValue1.setText(String.valueOf(voteInfo.resultInfo.num4) + " (" + strOpt1 + "%)"); | |
406 | - tvValue2.setText(String.valueOf(voteInfo.resultInfo.num5) + " (" + strOpt2 + "%)"); | |
407 | - tvValue3.setText(String.valueOf(voteInfo.resultInfo.num6) + " (" + strOpt3 + "%)"); | |
408 | - tvValue4.setText(String.valueOf(voteInfo.resultInfo.num3) + " (" + strOpt4 + "%)"); | |
409 | - } | |
410 | - | |
411 | - if (voteInfo.resultInfo.num4 == 0xffff) { | |
412 | - tvOption1.setText(""); | |
413 | - tvValue1.setText(String.valueOf("")); | |
414 | - } | |
415 | - if (voteInfo.resultInfo.num5 == 0xffff) { | |
416 | - tvOption2.setText(""); | |
417 | - tvValue2.setText(String.valueOf("")); | |
418 | - } | |
419 | - if (voteInfo.resultInfo.num6 == 0xffff) { | |
420 | - tvOption3.setText(""); | |
421 | - tvValue3.setText(String.valueOf("")); | |
422 | - } | |
423 | - if (voteInfo.resultInfo.num3 == 0xffff) { | |
424 | - tvOption4.setText(""); | |
425 | - tvValue4.setText(String.valueOf("")); | |
426 | - } | |
427 | - | |
428 | - } | |
429 | - } | |
430 | - | |
431 | - private void setView(int pos,int digiters,int bitNum,int type){ | |
432 | - if (options.length >= 1) { | |
433 | - int value1; | |
434 | - if(bitNum==0){ | |
435 | - value1 = (data[pos++]) & 0xff; | |
436 | - }else{ | |
437 | - value1 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
438 | - } | |
439 | - fragment_result_option_panel1.setVisibility(View.VISIBLE); | |
440 | - tvOption1.setText(options[0]); | |
441 | - TextViewUtils.adjustTvTextSize(tvValue1,350,String.valueOf(value1)); | |
442 | - | |
443 | - if(type==1){ | |
444 | - //分母 | |
445 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
446 | - double pzc = value1 * 1.0 / fenmu * 100; | |
447 | - String szc = formatDoubleToString(pzc, digiters, false); | |
448 | - TextViewUtils.adjustTvTextSize(tvValue1,350,String.valueOf(value1) + " (" + szc + "%)"); | |
449 | - } | |
450 | - }else{ | |
451 | - //分母 | |
452 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
453 | - double pzc = value1 * 1.0 / fenmu * 100; | |
454 | - String szc = formatDoubleToString(pzc, digiters, false); | |
455 | - TextViewUtils.adjustTvTextSize(tvValue1,350,String.valueOf(value1) + " (" + szc + "%)"); | |
456 | - } | |
457 | - } | |
458 | - }else { | |
459 | - if(notVote!=0xff){ | |
460 | - tvOption1.setText(getString(R.string.weian)); | |
461 | - tvValue1.setText(String.valueOf(notVote)); | |
462 | - } | |
463 | - return; | |
464 | - } | |
465 | - | |
466 | - if (options.length >= 2) { | |
467 | - int value2; | |
468 | - if(bitNum==0){ | |
469 | - value2 = (data[pos++]) & 0xff; | |
470 | - }else{ | |
471 | - value2 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
472 | - } | |
473 | - fragment_result_option_panel2.setVisibility(View.VISIBLE); | |
474 | - tvOption2.setText(options[1]); | |
475 | - TextViewUtils.adjustTvTextSize(tvValue2,350,String.valueOf(value2)); | |
476 | - if(type==1){ | |
477 | - //分母 | |
478 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
479 | - double pzc = value2 * 1.0 / fenmu * 100; | |
480 | - String szc = formatDoubleToString(pzc, digiters, false); | |
481 | - TextViewUtils.adjustTvTextSize(tvValue2,350,String.valueOf(value2) + " (" + szc + "%)"); | |
482 | - } | |
483 | - }else{ | |
484 | - //分母 | |
485 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
486 | - double pzc = value2 * 1.0 / fenmu * 100; | |
487 | - String szc = formatDoubleToString(pzc, digiters, false); | |
488 | - TextViewUtils.adjustTvTextSize(tvValue2,350,String.valueOf(value2) + " (" + szc + "%)"); | |
489 | - } | |
490 | - } | |
491 | - }else { | |
492 | - if(notVote!=0xff) { | |
493 | - tvOption2.setText(getString(R.string.weian)); | |
494 | - tvValue2.setText(String.valueOf(notVote)); | |
495 | - } | |
496 | - return; | |
497 | - } | |
498 | - | |
499 | - if (options.length >= 3) { | |
500 | - int value3; | |
501 | - if(bitNum==0){ | |
502 | - value3 = (data[pos++]) & 0xff; | |
503 | - }else{ | |
504 | - value3 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
505 | - } | |
506 | - fragment_result_option_panel3.setVisibility(View.VISIBLE); | |
507 | - tvOption3.setText(options[2]); | |
508 | - TextViewUtils.adjustTvTextSize(tvValue3,350,String.valueOf(value3)); | |
509 | - if(type==1){ | |
510 | - //分母 | |
511 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
512 | - double pzc = value3 * 1.0 / fenmu * 100; | |
513 | - String szc = formatDoubleToString(pzc, digiters, false); | |
514 | - TextViewUtils.adjustTvTextSize(tvValue3,350,String.valueOf(value3) + " (" + szc + "%)"); | |
515 | - } | |
516 | - }else{ | |
517 | - //分母 | |
518 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
519 | - double pzc = value3 * 1.0 / fenmu * 100; | |
520 | - String szc = formatDoubleToString(pzc, digiters, false); | |
521 | - TextViewUtils.adjustTvTextSize(tvValue3,350,String.valueOf(value3) + " (" + szc + "%)"); | |
522 | - } | |
523 | - } | |
524 | - }else { | |
525 | - if(notVote!=0xff) { | |
526 | - tvOption3.setText(getString(R.string.weian)); | |
527 | - tvValue3.setText(String.valueOf(notVote)); | |
528 | - } | |
529 | - return; | |
530 | - } | |
531 | - | |
532 | - if (options.length >= 4) { | |
533 | - int value4; | |
534 | - if(bitNum==0){ | |
535 | - value4 = (data[pos++]) & 0xff; | |
536 | - }else{ | |
537 | - value4 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
538 | - } | |
539 | - fragment_result_option_panel4.setVisibility(View.VISIBLE); | |
540 | - tvOption4.setText(options[3]); | |
541 | - TextViewUtils.adjustTvTextSize(tvValue4,350,String.valueOf(value4)); | |
542 | - if(type==1){ | |
543 | - //分母 | |
544 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
545 | - double pzc = value4 * 1.0 / fenmu * 100; | |
546 | - String szc = formatDoubleToString(pzc, digiters, false); | |
547 | - TextViewUtils.adjustTvTextSize(tvValue4,350,String.valueOf(value4) + " (" + szc + "%)"); | |
548 | - } | |
549 | - }else{ | |
550 | - //分母 | |
551 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
552 | - double pzc = value4 * 1.0 / fenmu * 100; | |
553 | - String szc = formatDoubleToString(pzc, digiters, false); | |
554 | - TextViewUtils.adjustTvTextSize(tvValue4,350,String.valueOf(value4) + " (" + szc + "%)"); | |
555 | - } | |
556 | - } | |
557 | - }else { | |
558 | - if(notVote!=0xff) { | |
559 | - tvOption4.setText(getString(R.string.weian)); | |
560 | - tvValue4.setText(String.valueOf(notVote)); | |
561 | - } | |
562 | - return; | |
563 | - } | |
564 | - | |
565 | - if (options.length >= 5) { | |
566 | - int value5 ; | |
567 | - if(bitNum==0){ | |
568 | - value5 = (data[pos++]) & 0xff; | |
569 | - }else{ | |
570 | - value5 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
571 | - } | |
572 | - fragment_result_option_panel5.setVisibility(View.VISIBLE); | |
573 | - tvOption5.setText(options[4]); | |
574 | - TextViewUtils.adjustTvTextSize(tvValue5,350,String.valueOf(value5)); | |
575 | - if(type==1){ | |
576 | - //分母 | |
577 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
578 | - double pzc = value5 * 1.0 / fenmu * 100; | |
579 | - String szc = formatDoubleToString(pzc, digiters, false); | |
580 | - TextViewUtils.adjustTvTextSize(tvValue5,350,String.valueOf(value5) + " (" + szc + "%)"); | |
581 | - } | |
582 | - }else{ | |
583 | - //分母 | |
584 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
585 | - double pzc = value5 * 1.0 / fenmu * 100; | |
586 | - String szc = formatDoubleToString(pzc, digiters, false); | |
587 | - TextViewUtils.adjustTvTextSize(tvValue5,350,String.valueOf(value5) + " (" + szc + "%)"); | |
588 | - } | |
589 | - } | |
590 | - }else { | |
591 | - if(notVote!=0xff) { | |
592 | - tvOption5.setText(getString(R.string.weian)); | |
593 | - tvValue5.setText(String.valueOf(notVote)); | |
594 | - } | |
595 | - return; | |
596 | - } | |
597 | - | |
598 | - if (options.length >= 6) { | |
599 | - int value6; | |
600 | - if(bitNum==0){ | |
601 | - value6 = (data[pos++]) & 0xff; | |
602 | - }else{ | |
603 | - value6 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
604 | - } | |
605 | - fragment_result_option_panel6.setVisibility(View.VISIBLE); | |
606 | - tvOption6.setText(options[5]); | |
607 | - TextViewUtils.adjustTvTextSize(tvValue6,350,String.valueOf(value6)); | |
608 | - if(type==1){ | |
609 | - //分母 | |
610 | - if ((fenmu > 0 && fenmu != 0xff)) { | |
611 | - double pzc = value6 * 1.0 / fenmu * 100; | |
612 | - String szc = formatDoubleToString(pzc, digiters, false); | |
613 | - TextViewUtils.adjustTvTextSize(tvValue6,350,String.valueOf(value6) + " (" + szc + "%)"); | |
614 | - } | |
615 | - }else{ | |
616 | - //分母 | |
617 | - if ((fenmu > 0 && fenmu != 0xffff)) { | |
618 | - double pzc = value6 * 1.0 / fenmu * 100; | |
619 | - String szc = formatDoubleToString(pzc, digiters, false); | |
620 | - TextViewUtils.adjustTvTextSize(tvValue6,350,String.valueOf(value6) + " (" + szc + "%)"); | |
621 | - } | |
622 | - } | |
623 | - | |
624 | - if(notVote!=0xff) { | |
625 | - tvOption7.setText(getString(R.string.weian)); | |
626 | - tvValue7.setText(String.valueOf(notVote)); | |
627 | - } | |
628 | - }else { | |
629 | - if(notVote!=0xff) { | |
630 | - tvOption6.setText(getString(R.string.weian)); | |
631 | - tvValue6.setText(String.valueOf(notVote)); | |
632 | - } | |
633 | - return; | |
634 | - } | |
635 | - } | |
636 | - | |
637 | - public static String toDBC(String input) { | |
638 | - char[] c = input.toCharArray(); | |
639 | - for (int i = 0; i < c.length; i++) { | |
640 | - if (c[i] == 12288) { | |
641 | - c[i] = (char) 32; | |
642 | - continue; | |
643 | - } | |
644 | - if (c[i] > 65280 && c[i] < 65375) | |
645 | - c[i] = (char) (c[i] - 65248); | |
646 | - } | |
647 | - return new String(c); | |
648 | - } | |
649 | - | |
650 | - | |
651 | - private void showResultByPage() { | |
652 | - Log.d("ResultVoteFragment", "page:" + page + " resultStr:" + resultStr); | |
653 | - if (options != null) { | |
654 | - if (options.length > 0) { | |
655 | - tvOption1.setText(options[0]); | |
656 | - } | |
657 | - if (options.length > 1) { | |
658 | - tvOption2.setText(options[1]); | |
659 | - } | |
660 | - if (options.length == 2) { | |
661 | - tvOption3.setVisibility(View.GONE); | |
662 | - tvValue3.setVisibility(View.GONE); | |
663 | - } else if (options.length > 2) { | |
664 | - tvOption3.setText(options[2]); | |
665 | - } | |
666 | - } | |
667 | - if (resultStr == null || resultStr.length() == 0) { | |
668 | - return; | |
669 | - } | |
670 | - | |
671 | - if (subInfo == null) { | |
672 | - Log.d(TAG, "subInfo is null"); | |
673 | - MultiTitleItem it = subInfo.get(page); | |
674 | - tvBillTitle.setText(it.title); | |
675 | - } | |
676 | - | |
677 | - String[] results = resultStr.split(";"); | |
678 | - Log.d("ResultVoteFragment", "results:" + results[page]); | |
679 | - | |
680 | - String[] ary = results[page].split(","); | |
681 | - if (ary.length > 0) { | |
682 | - tvValue1.setText(ary[0]); | |
683 | - } | |
684 | - if (ary.length > 1) { | |
685 | - tvValue2.setText(ary[1]); | |
686 | - } | |
687 | - | |
688 | - if (ary.length > 2) { | |
689 | - tvValue3.setText(ary[2]); | |
690 | - } | |
691 | - | |
692 | - if (ary.length > options.length) { | |
693 | - if (ary[ary.length - 1].equals("0")) { | |
694 | - tvMemo.setText(getString(R.string.no_pass)); | |
695 | - } else { | |
696 | - tvMemo.setText(getString(R.string.pass)); | |
697 | - } | |
698 | - } | |
699 | - | |
700 | - } | |
701 | - | |
702 | - | |
703 | - public static String formatDoubleToString(double value, Integer digits, boolean remove) { | |
13 | +import com.sunvote.util.LogUtil; | |
14 | +import com.sunvote.xpadapp.R; | |
15 | +import com.sunvote.xpadapp.base.BaseFragment; | |
16 | +import com.sunvote.xpadcomm.XPadApiInterface; | |
704 | 17 | |
705 | - if (value == 0 || value == 100) { | |
706 | - DecimalFormat df = new DecimalFormat("0"); | |
707 | - return df.format(value); | |
708 | - } | |
18 | +import java.text.DecimalFormat; | |
709 | 19 | |
710 | - if (digits == null || digits < 0) { | |
711 | - return String.valueOf(value); | |
712 | - } else if (digits == 0) { | |
713 | - DecimalFormat df = new DecimalFormat("0"); | |
714 | - return df.format(value); | |
715 | - } else { | |
716 | - String temp = "0"; | |
717 | - if (remove) { | |
718 | - temp = "#"; | |
719 | - } | |
720 | - StringBuffer buffer = new StringBuffer("0."); | |
721 | - for (int i = 0; i < digits; i++) { | |
722 | - buffer.append(temp); | |
723 | - } | |
724 | - DecimalFormat df = new DecimalFormat(buffer.toString()); | |
725 | - return df.format(value); | |
726 | - } | |
727 | - } | |
20 | +public class ResultVoteFragment extends BaseFragment { | |
728 | 21 | |
22 | + private static String TAG = ResultVoteFragment.class.getSimpleName(); | |
23 | + private XPadApiInterface.VoteInfo voteInfo; | |
24 | + private TextView yingdaoresult; | |
25 | + private TextView shidaoresult; | |
26 | + // 表決结果 | |
27 | + private TextView fragmentResultMemo; | |
28 | + private TextView fragmentMemo; | |
29 | + // | |
30 | + private LinearLayout tResult; | |
31 | + private LinearLayout dResult; | |
32 | + private LinearLayout pResult; | |
33 | + | |
34 | + public static String formatDoubleToString(double value, Integer digits, boolean remove) { | |
35 | + if (value == 0 || value == 100) { | |
36 | + DecimalFormat df = new DecimalFormat("0"); | |
37 | + return df.format(value); | |
38 | + } | |
39 | + | |
40 | + if (digits == null || digits < 0) { | |
41 | + return String.valueOf(value); | |
42 | + } else if (digits == 0) { | |
43 | + DecimalFormat df = new DecimalFormat("0"); | |
44 | + return df.format(value); | |
45 | + } else { | |
46 | + String temp = "0"; | |
47 | + if (remove) { | |
48 | + temp = "#"; | |
49 | + } | |
50 | + StringBuffer buffer = new StringBuffer("0."); | |
51 | + for (int i = 0; i < digits; i++) { | |
52 | + buffer.append(temp); | |
53 | + } | |
54 | + DecimalFormat df = new DecimalFormat(buffer.toString()); | |
55 | + return df.format(value); | |
56 | + } | |
57 | + } | |
58 | + | |
59 | + public void setVoteInfo(XPadApiInterface.VoteInfo voteInfo) { | |
60 | + this.voteInfo = voteInfo; | |
61 | + } | |
62 | + | |
63 | + private View createView(String txt,int color) { | |
64 | + TextView tv1 = new TextView(getActivity()); | |
65 | + ViewGroup.LayoutParams vlp = new ViewGroup.LayoutParams( | |
66 | + ViewGroup.LayoutParams.WRAP_CONTENT, | |
67 | + ViewGroup.LayoutParams.WRAP_CONTENT); | |
68 | + tv1.setLayoutParams(vlp);//设置TextView的布局 | |
69 | + tv1.setText(txt); | |
70 | + tv1.setGravity(Gravity.CENTER); | |
71 | + | |
72 | + tv1.setTextSize(25); | |
73 | + tv1.setTextColor(color); | |
74 | + return tv1; | |
75 | + } | |
76 | + | |
77 | + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
78 | + View root = inflater.inflate(R.layout.fragment_result_vote, container, false); | |
79 | + root.setOnClickListener(new OnClickListener() { | |
80 | + @Override | |
81 | + public void onClick(View v) { | |
82 | + } | |
83 | + }); | |
84 | + yingdaoresult = root.findViewById(R.id.yingdaoresult); | |
85 | + shidaoresult = root.findViewById(R.id.shidaoresult); | |
86 | + fragmentResultMemo = root.findViewById(R.id.fragment_result_memo); | |
87 | + fragmentMemo = root.findViewById(R.id.fragment_memo); | |
88 | + | |
89 | + tResult = root.findViewById(R.id.t_result); | |
90 | + dResult = root.findViewById(R.id.d_result); | |
91 | + pResult = root.findViewById(R.id.p_result); | |
92 | + showResult(); | |
93 | + return root; | |
94 | + } | |
95 | + | |
96 | + private void showResult() { | |
97 | + int pass = voteInfo.resultInfo.bits & 0xF; | |
98 | + int xiaoShuWei = (voteInfo.resultInfo.bits >> 4) & 0xF; | |
99 | + int fenmu = voteInfo.resultInfo.num0; | |
100 | + LogUtil.d(TAG, "xiaoshu:" + xiaoShuWei + " fenmu:" + fenmu); | |
101 | + tResult.removeAllViews(); | |
102 | + dResult.removeAllViews(); | |
103 | + pResult.removeAllViews(); | |
104 | + | |
105 | + if (voteInfo.resultInfo.num1 != 0xffff) { | |
106 | + yingdaoresult.setText("" + voteInfo.resultInfo.num1); | |
107 | + } | |
108 | + if (voteInfo.resultInfo.num2 != 0xffff) { | |
109 | + shidaoresult.setText("" + voteInfo.resultInfo.num2); | |
110 | + } | |
111 | + if (pass == 0xf) { | |
112 | + fragmentResultMemo.setText(""); | |
113 | + } else if (pass == 0) { | |
114 | + fragmentResultMemo.setText(getString(R.string.no_pass)); | |
115 | + } else { | |
116 | + fragmentResultMemo.setText(getString(R.string.pass)); | |
117 | + } | |
118 | + | |
119 | + LinearLayout.LayoutParams lp=new LinearLayout.LayoutParams(0,LinearLayout.LayoutParams.WRAP_CONTENT,1.0f); | |
120 | + if (voteInfo.resultInfo.resultType == 1) { | |
121 | + fragmentMemo.setText(getString(R.string.biaojue_result)); | |
122 | + String szc = "" ; | |
123 | + String sfd = "" ; | |
124 | + String swa = "" ; | |
125 | + if (fenmu > 0 && fenmu != 0xffff) { | |
126 | + double pzc = voteInfo.resultInfo.num4 * 1.0 / fenmu * 100; | |
127 | + szc = formatDoubleToString(pzc, xiaoShuWei, false); | |
128 | + double pfd = voteInfo.resultInfo.num5 * 1.0 / fenmu * 100; | |
129 | + sfd = formatDoubleToString(pfd, xiaoShuWei, false); | |
130 | + double pwa = voteInfo.resultInfo.num3 * 1.0 / fenmu * 100; | |
131 | + swa = formatDoubleToString(pwa, xiaoShuWei, false); | |
132 | + } | |
133 | + if (voteInfo.resultInfo.num4 != 0xffff) { | |
134 | + tResult.addView(createView(getString(R.string.agree),Color.YELLOW),lp); | |
135 | + dResult.addView(createView("" + voteInfo.resultInfo.num4,Color.WHITE),lp); | |
136 | + pResult.addView(createView( szc + "%",Color.WHITE),lp); | |
137 | + | |
138 | + } | |
139 | + if (voteInfo.resultInfo.num5 != 0xffff) { | |
140 | + tResult.addView(createView(getString(R.string.oppose),Color.YELLOW),lp); | |
141 | + dResult.addView(createView("" + voteInfo.resultInfo.num5,Color.WHITE),lp); | |
142 | + pResult.addView(createView( sfd + "%",Color.WHITE),lp); | |
143 | + } | |
144 | + if (voteInfo.resultInfo.num3 != 0xffff) { | |
145 | + tResult.addView(createView(getString(R.string.weian),Color.YELLOW),lp); | |
146 | + dResult.addView(createView("" + voteInfo.resultInfo.num3,Color.WHITE),lp); | |
147 | + pResult.addView(createView( swa + "%",Color.WHITE),lp); | |
148 | + } | |
149 | + } else { | |
150 | + String szc = ""; | |
151 | + String sfd = ""; | |
152 | + String swa = ""; | |
153 | + if (fenmu > 0 && fenmu != 0xffff) { | |
154 | + double pzc = voteInfo.resultInfo.num4 * 1.0 / fenmu * 100; | |
155 | + szc = formatDoubleToString(pzc, xiaoShuWei, false); | |
156 | + double pfd = voteInfo.resultInfo.num5 * 1.0 / fenmu * 100; | |
157 | + sfd = formatDoubleToString(pfd, xiaoShuWei, false); | |
158 | + double pwa = voteInfo.resultInfo.num6 * 1.0 / fenmu * 100; | |
159 | + swa = formatDoubleToString(pwa, xiaoShuWei, false); | |
160 | + } | |
161 | + if (voteInfo.resultInfo.num4 != 0xffff) { | |
162 | + dResult.addView(createView("" + voteInfo.resultInfo.num4,Color.WHITE), lp); | |
163 | + pResult.addView(createView(szc + "%",Color.WHITE), lp); | |
164 | + } | |
165 | + if (voteInfo.resultInfo.num5 != 0xffff) { | |
166 | + dResult.addView(createView("" + voteInfo.resultInfo.num5,Color.WHITE), lp); | |
167 | + pResult.addView(createView(sfd + "%",Color.WHITE), lp); | |
168 | + } | |
169 | + if (voteInfo.resultInfo.num6 != 0xffff) { | |
170 | + dResult.addView(createView("" + voteInfo.resultInfo.num6,Color.WHITE), lp); | |
171 | + pResult.addView(createView(swa + "%",Color.WHITE), lp); | |
172 | + } | |
173 | + if (voteInfo.resultInfo.resultType == 2) { | |
174 | + fragmentMemo.setText(getString(R.string.biaojue_result)); | |
175 | + if (voteInfo.resultInfo.num4 != 0xffff) { | |
176 | + tResult.addView(createView(getString(R.string.agree),Color.YELLOW), lp); | |
177 | + } | |
178 | + if (voteInfo.resultInfo.num5 != 0xffff) { | |
179 | + tResult.addView(createView(getString(R.string.oppose),Color.YELLOW), lp); | |
180 | + } | |
181 | + if (voteInfo.resultInfo.num6 != 0xffff) { | |
182 | + tResult.addView(createView(getString(R.string.abstant),Color.YELLOW), lp); | |
183 | + } | |
184 | + } else if (voteInfo.resultInfo.resultType == 4) { | |
185 | + fragmentMemo.setText(getString(R.string.ceping_result)); | |
186 | + if (voteInfo.resultInfo.num4 != 0xffff) { | |
187 | + tResult.addView(createView(getString(R.string.manyi),Color.YELLOW), lp); | |
188 | + } | |
189 | + if (voteInfo.resultInfo.num5 != 0xffff) { | |
190 | + tResult.addView(createView(getString(R.string.jbmanyi),Color.YELLOW), lp); | |
191 | + } | |
192 | + if (voteInfo.resultInfo.num6 != 0xffff) { | |
193 | + tResult.addView(createView(getString(R.string.bumanyi),Color.YELLOW), lp); | |
194 | + } | |
195 | + } else if (voteInfo.resultInfo.resultType == 12) { | |
196 | + fragmentMemo.setText(getString(R.string.ceping_result)); | |
197 | + if (voteInfo.resultInfo.num4 != 0xffff) { | |
198 | + tResult.addView(createView(getString(R.string.manyi),Color.YELLOW), lp); | |
199 | + } | |
200 | + if (voteInfo.resultInfo.num5 != 0xffff) { | |
201 | + tResult.addView(createView(getString(R.string.bumanyi),Color.YELLOW), lp); | |
202 | + } | |
203 | + if (voteInfo.resultInfo.num6 != 0xffff) { | |
204 | + tResult.addView(createView(getString(R.string.fcbumanyi),Color.YELLOW), lp); | |
205 | + } | |
206 | + } | |
207 | + if(voteInfo.resultInfo.num3 != 0xffff){ | |
208 | + double opt4 = voteInfo.resultInfo.num3 * 1.0 / fenmu * 100; | |
209 | + String strOpt4 = formatDoubleToString(opt4, xiaoShuWei, false); | |
210 | + tResult.addView(createView(getString(R.string.weian),Color.YELLOW),lp); | |
211 | + dResult.addView(createView("" +voteInfo.resultInfo.num3 ,Color.WHITE),lp); | |
212 | + pResult.addView(createView(strOpt4 + "%",Color.WHITE),lp); | |
213 | + } | |
214 | + } | |
215 | + } | |
729 | 216 | } | ... | ... |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/SinginResultFragment.java
0 → 100644
1 | +package com.sunvote.xpadapp.fragments; | |
2 | + | |
3 | +import android.os.Bundle; | |
4 | +import android.view.LayoutInflater; | |
5 | +import android.view.View; | |
6 | +import android.view.ViewGroup; | |
7 | +import android.widget.TextView; | |
8 | + | |
9 | +import com.sunvote.xpadapp.R; | |
10 | +import com.sunvote.xpadapp.base.BaseFragment; | |
11 | +import com.sunvote.xpadcomm.XPadApiInterface.VoteInfo; | |
12 | + | |
13 | +public class SinginResultFragment extends BaseFragment { | |
14 | + | |
15 | + private VoteInfo.ResultInfo resultInfo; | |
16 | + | |
17 | + public void setResultInfo(VoteInfo.ResultInfo resultInfo) { | |
18 | + this.resultInfo = resultInfo; | |
19 | + } | |
20 | + | |
21 | + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
22 | + View view = inflater.inflate(R.layout.fragment_signin_result_vote, container, false); | |
23 | + TextView shidaoresult = view.findViewById(R.id.shidaoresult); | |
24 | + TextView yingdaoresult = view.findViewById(R.id.yingdaoresult); | |
25 | + TextView weidaoresult = view.findViewById(R.id.weidaoresult); | |
26 | + shidaoresult.setText("" + resultInfo.num3); | |
27 | + yingdaoresult.setText("" + resultInfo.num2); | |
28 | + weidaoresult.setText("" + resultInfo.num1); | |
29 | + return view; | |
30 | + } | |
31 | + | |
32 | +} | ... | ... |
C5/app/src/main/java/com/sunvote/xpadapp/fragments/SingleTitleFragment.java
C5/app/src/main/java/com/sunvote/xpadapp/fragments/UserResultVoteFragment.java
0 → 100644
1 | +package com.sunvote.xpadapp.fragments; | |
2 | + | |
3 | +import android.graphics.Color; | |
4 | +import android.os.Bundle; | |
5 | +import android.view.Gravity; | |
6 | +import android.view.LayoutInflater; | |
7 | +import android.view.View; | |
8 | +import android.view.ViewGroup; | |
9 | +import android.widget.LinearLayout; | |
10 | +import android.widget.TextView; | |
11 | + | |
12 | +import com.sunvote.xpadapp.MainActivity; | |
13 | +import com.sunvote.xpadapp.R; | |
14 | +import com.sunvote.xpadapp.base.BaseFragment; | |
15 | +import com.sunvote.xpadapp.db.modal.BillInfo; | |
16 | +import com.sunvote.xpadapp.db.modal.MultiTitleItem; | |
17 | + | |
18 | +import java.text.DecimalFormat; | |
19 | +import java.util.ArrayList; | |
20 | + | |
21 | +public class UserResultVoteFragment extends BaseFragment { | |
22 | + | |
23 | + private byte[] data; | |
24 | + private String[] options; | |
25 | + | |
26 | + public void setData(byte[] data) { | |
27 | + this.data = data; | |
28 | + } | |
29 | + | |
30 | + public void setOptions(String[] options) { | |
31 | + this.options = options; | |
32 | + } | |
33 | + | |
34 | + private TextView yingdaoresult; | |
35 | + private TextView shidaoresult; | |
36 | + // 表決结果 | |
37 | + private TextView fragmentResultMemo; | |
38 | + private TextView fragmentMemo; | |
39 | + // | |
40 | + private LinearLayout tResult; | |
41 | + private LinearLayout dResult; | |
42 | + private LinearLayout pResult; | |
43 | + | |
44 | + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
45 | + View root = inflater.inflate(R.layout.fragment_result_vote, container, false); | |
46 | + yingdaoresult = root.findViewById(R.id.yingdaoresult); | |
47 | + shidaoresult = root.findViewById(R.id.shidaoresult); | |
48 | + fragmentResultMemo = root.findViewById(R.id.fragment_result_memo); | |
49 | + fragmentMemo = root.findViewById(R.id.fragment_memo); | |
50 | + | |
51 | + tResult = root.findViewById(R.id.t_result); | |
52 | + dResult = root.findViewById(R.id.d_result); | |
53 | + pResult = root.findViewById(R.id.p_result); | |
54 | + showResult(); | |
55 | + return root; | |
56 | + } | |
57 | + | |
58 | + private View createView(String txt,int color) { | |
59 | + TextView tv1 = new TextView(getActivity()); | |
60 | + ViewGroup.LayoutParams vlp = new ViewGroup.LayoutParams( | |
61 | + ViewGroup.LayoutParams.WRAP_CONTENT, | |
62 | + ViewGroup.LayoutParams.WRAP_CONTENT); | |
63 | + tv1.setLayoutParams(vlp);//设置TextView的布局 | |
64 | + tv1.setText(txt); | |
65 | + tv1.setGravity(Gravity.CENTER); | |
66 | + | |
67 | + tv1.setTextSize(25); | |
68 | + tv1.setTextColor(color); | |
69 | + return tv1; | |
70 | + } | |
71 | + | |
72 | + int fenmu,goToBe,goTo,notVote; | |
73 | + | |
74 | + | |
75 | + private void showResult() { | |
76 | + int bitNum = data[2] & 0xf; | |
77 | + int digiters = data[2] >> 4 & 0xf; | |
78 | + int voteNo = data[3] & 0xff; | |
79 | + int resultSelectModel = data[4] & 0xff; //表决结果 | |
80 | + if (bitNum == 0) { //单字节数值 | |
81 | + fenmu = data[5] & 0xff; | |
82 | + goToBe= data[6] & 0xff; | |
83 | + goTo= data[7] & 0xff; | |
84 | + notVote= data[8] & 0xff; | |
85 | + int pos =9; | |
86 | + int i = pos; | |
87 | + for (; i < data.length; i++) { | |
88 | + if (pos == data.length - 1) { | |
89 | + break; | |
90 | + } | |
91 | + setView(pos,digiters,bitNum,1); | |
92 | + } | |
93 | + if (goToBe != 0xff) { | |
94 | + yingdaoresult.setText("" + goToBe); | |
95 | + } | |
96 | + if (goTo != 0xff) { | |
97 | + shidaoresult.setText("" + goTo); | |
98 | + } | |
99 | + if (resultSelectModel != 0xFF) { | |
100 | + if(options!=null){ | |
101 | + fragmentResultMemo.setText(options[resultSelectModel]); | |
102 | + } | |
103 | + } | |
104 | + } else { | |
105 | + fenmu = (data[5] <<8 | data[6]) & 0xffff; | |
106 | + goToBe = (data[7] << 8 | data[8]) & 0xffff; | |
107 | + goTo = (data[9] << 8 | data[10]) & 0xffff; | |
108 | + notVote= (data[11] << 8 | data[12]) & 0xffff; | |
109 | + | |
110 | + int pos = 13; | |
111 | + int i = pos; | |
112 | + for (; i < data.length; i++) { | |
113 | + if (pos == data.length - 1) { | |
114 | + break; | |
115 | + } | |
116 | + setView(pos,digiters,bitNum,2); | |
117 | + } | |
118 | + if (goToBe != 0xff) { | |
119 | + yingdaoresult.setText("" + goToBe); | |
120 | + } | |
121 | + if (goTo != 0xff) { | |
122 | + shidaoresult.setText("" + goTo); | |
123 | + } | |
124 | + if (resultSelectModel != 0xFF) { | |
125 | + if(options!=null){ | |
126 | + fragmentResultMemo.setText(options[resultSelectModel]); | |
127 | + } | |
128 | + } | |
129 | + } | |
130 | + } | |
131 | + | |
132 | + private void setView(int pos, int digiters, int bitNum, int type) { | |
133 | + LinearLayout.LayoutParams lp=new LinearLayout.LayoutParams(0,LinearLayout.LayoutParams.WRAP_CONTENT,1.0f); | |
134 | + for(int i = 1; i <= options.length ; i++) { | |
135 | + if (options.length >= i) { | |
136 | + int value1; | |
137 | + if (bitNum == 0) { | |
138 | + value1 = (data[pos++]) & 0xff; | |
139 | + } else { | |
140 | + value1 = (data[pos++] << 8 | data[pos++]) & 0xffff; | |
141 | + } | |
142 | + tResult.addView(createView(options[i - 1], Color.YELLOW), lp); | |
143 | + dResult.addView(createView("" + value1, Color.WHITE), lp); | |
144 | + if (type == 1) { | |
145 | + //分母 | |
146 | + if ((fenmu > 0 && fenmu != 0xff)) { | |
147 | + double pzc = value1 * 1.0 / fenmu * 100; | |
148 | + String szc = formatDoubleToString(pzc, digiters, false); | |
149 | + pResult.addView(createView(szc + "%", Color.WHITE), lp); | |
150 | + } | |
151 | + } else { | |
152 | + //分母 | |
153 | + if ((fenmu > 0 && fenmu != 0xffff)) { | |
154 | + double pzc = value1 * 1.0 / fenmu * 100; | |
155 | + String szc = formatDoubleToString(pzc, digiters, false); | |
156 | + pResult.addView(createView(szc + "%", Color.WHITE), lp); | |
157 | + } | |
158 | + } | |
159 | + } | |
160 | + } | |
161 | + if (notVote != 0xff) { | |
162 | + tResult.addView(createView(getString(R.string.weian), Color.YELLOW), lp); | |
163 | + dResult.addView(createView("" + notVote, Color.WHITE), lp); | |
164 | + pResult.addView(createView("0%", Color.WHITE), lp); | |
165 | + } | |
166 | + } | |
167 | + public static String formatDoubleToString(double value, Integer digits, boolean remove) { | |
168 | + | |
169 | + if (value == 0 || value == 100) { | |
170 | + DecimalFormat df = new DecimalFormat("0"); | |
171 | + return df.format(value); | |
172 | + } | |
173 | + | |
174 | + if (digits == null || digits < 0) { | |
175 | + return String.valueOf(value); | |
176 | + } else if (digits == 0) { | |
177 | + DecimalFormat df = new DecimalFormat("0"); | |
178 | + return df.format(value); | |
179 | + } else { | |
180 | + String temp = "0"; | |
181 | + if (remove) { | |
182 | + temp = "#"; | |
183 | + } | |
184 | + StringBuffer buffer = new StringBuffer("0."); | |
185 | + for (int i = 0; i < digits; i++) { | |
186 | + buffer.append(temp); | |
187 | + } | |
188 | + DecimalFormat df = new DecimalFormat(buffer.toString()); | |
189 | + return df.format(value); | |
190 | + } | |
191 | + } | |
192 | + | |
193 | +} | ... | ... |
C5/app/src/main/res/drawable-hdpi/rendavote.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:shape="rectangle" > | |
4 | + <corners | |
5 | + android:radius="10dp" /> | |
6 | + <padding | |
7 | + android:bottom="5dp" | |
8 | + android:left="5dp" | |
9 | + android:right="5dp" | |
10 | + android:top="5dp" /> | |
11 | + <solid android:color="@color/yellow" /> | |
12 | +</shape> | |
0 | 13 | \ No newline at end of file | ... | ... |
C5/app/src/main/res/drawable/bgpic_1.png
0 → 100644
286 KB
C5/app/src/main/res/drawable/bgpic_2.png
0 → 100644
157 KB
C5/app/src/main/res/drawable/bgpic_3.png
0 → 100644
320 KB
C5/app/src/main/res/drawable/bgpic_4.png
0 → 100644
1.56 MB
C5/app/src/main/res/layout-land-1223x800/activity_main.xml deleted
1 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | - xmlns:tools="http://schemas.android.com/tools" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - tools:context="com.sunvote.xpadapp.MainActivity"> | |
6 | - | |
7 | - <FrameLayout | |
8 | - android:id="@+id/frame_content" | |
9 | - android:layout_width="fill_parent" | |
10 | - android:layout_height="fill_parent" /> | |
11 | - | |
12 | - <TextView | |
13 | - android:id="@+id/terminal_id" | |
14 | - android:layout_width="wrap_content" | |
15 | - android:layout_height="wrap_content" | |
16 | - android:layout_alignParentTop="true" | |
17 | - android:layout_centerHorizontal="true" | |
18 | - android:gravity="center_horizontal" | |
19 | - android:text="land-1223*800" /> | |
20 | - | |
21 | - <ImageView | |
22 | - android:id="@+id/service" | |
23 | - android:layout_width="50dp" | |
24 | - android:layout_height="50dp" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:layout_alignParentRight="true" | |
27 | - android:layout_marginRight="20dp" | |
28 | - android:layout_marginBottom="20dp" | |
29 | - android:src="@drawable/service_server" /> | |
30 | - | |
31 | - <RelativeLayout | |
32 | - android:id="@+id/service_panel" | |
33 | - android:layout_width="wrap_content" | |
34 | - android:layout_height="wrap_content" | |
35 | - android:background="@color/white" | |
36 | - android:layout_centerInParent="true" | |
37 | - android:visibility="gone"> | |
38 | - <include layout="@layout/dialog_service" /> | |
39 | - </RelativeLayout> | |
40 | - | |
41 | - <FrameLayout | |
42 | - android:id="@+id/lockscreen" | |
43 | - android:layout_width="fill_parent" | |
44 | - android:layout_height="fill_parent" | |
45 | - android:visibility="gone"></FrameLayout> | |
46 | - | |
47 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/activity_pdf.xml deleted
C5/app/src/main/res/layout-land-1223x800/activity_qrcode_connect_wifi.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent"> | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/msg" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:layout_centerInParent="true" | |
12 | - android:gravity="center" | |
13 | - android:text="正在连接wifi"/> | |
14 | - | |
15 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/dialog_service.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
4 | - android:layout_width="wrap_content" | |
5 | - android:layout_height="wrap_content" | |
6 | - android:orientation="vertical" | |
7 | - android:padding="16dp"> | |
8 | - <TextView | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:text="呼叫服务" | |
12 | - android:textStyle="bold" | |
13 | - android:textSize="18sp"/> | |
14 | - <LinearLayout | |
15 | - android:layout_width="530dp" | |
16 | - android:layout_height="250dp" | |
17 | - android:layout_marginTop="10dp" | |
18 | - android:layout_above="@id/button_line" | |
19 | - android:orientation="vertical"> | |
20 | - | |
21 | - <LinearLayout | |
22 | - android:layout_width="match_parent" | |
23 | - android:layout_height="0dp" | |
24 | - android:layout_weight="1"> | |
25 | - | |
26 | - <LinearLayout | |
27 | - android:layout_width="0dp" | |
28 | - android:layout_height="match_parent" | |
29 | - android:id="@+id/paper_linear" | |
30 | - android:layout_weight="1"> | |
31 | - | |
32 | - <ImageView | |
33 | - android:id="@+id/paper_img" | |
34 | - android:layout_width="wrap_content" | |
35 | - android:layout_height="wrap_content" | |
36 | - android:src="@drawable/service_paper_unchoose" /> | |
37 | - | |
38 | - <TextView | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:text="@string/service_paper" | |
42 | - android:gravity="bottom" | |
43 | - android:textSize="18sp" | |
44 | - android:layout_gravity="bottom"/> | |
45 | - </LinearLayout> | |
46 | - | |
47 | - <LinearLayout | |
48 | - android:layout_width="0dp" | |
49 | - android:layout_height="match_parent" | |
50 | - android:id="@+id/pen_linear" | |
51 | - android:layout_weight="1"> | |
52 | - | |
53 | - <ImageView | |
54 | - android:id="@+id/pen_img" | |
55 | - android:layout_width="wrap_content" | |
56 | - android:layout_height="wrap_content" | |
57 | - android:src="@drawable/service_pen_unchoose" /> | |
58 | - <TextView | |
59 | - android:layout_width="wrap_content" | |
60 | - android:layout_height="wrap_content" | |
61 | - android:text="笔" | |
62 | - android:gravity="bottom" | |
63 | - android:textSize="18sp" | |
64 | - android:layout_gravity="bottom"/> | |
65 | - </LinearLayout> | |
66 | - | |
67 | - <LinearLayout | |
68 | - android:layout_width="0dp" | |
69 | - android:id="@+id/calc_linear" | |
70 | - android:layout_height="match_parent" | |
71 | - android:layout_weight="1"> | |
72 | - | |
73 | - <ImageView | |
74 | - android:id="@+id/calc_img" | |
75 | - android:layout_width="wrap_content" | |
76 | - android:layout_height="wrap_content" | |
77 | - android:src="@drawable/service_calc_unchoose" /> | |
78 | - <TextView | |
79 | - android:layout_width="wrap_content" | |
80 | - android:layout_height="wrap_content" | |
81 | - android:text="计算器" | |
82 | - android:gravity="bottom" | |
83 | - android:textSize="18sp" | |
84 | - android:layout_gravity="bottom"/> | |
85 | - | |
86 | - | |
87 | - </LinearLayout> | |
88 | - </LinearLayout> | |
89 | - | |
90 | - <LinearLayout | |
91 | - android:layout_width="match_parent" | |
92 | - android:layout_height="0dp" | |
93 | - android:layout_marginTop="16dp" | |
94 | - android:layout_weight="1"> | |
95 | - | |
96 | - <LinearLayout | |
97 | - android:layout_width="0dp" | |
98 | - android:id="@+id/tea_linear" | |
99 | - android:layout_height="match_parent" | |
100 | - android:layout_weight="1"> | |
101 | - | |
102 | - <ImageView | |
103 | - android:id="@+id/tea_img" | |
104 | - android:layout_width="wrap_content" | |
105 | - android:layout_height="wrap_content" | |
106 | - android:src="@drawable/service_tea_unchoose" /> | |
107 | - <TextView | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:text="茶" | |
111 | - android:gravity="bottom" | |
112 | - android:textSize="18sp" | |
113 | - android:layout_gravity="bottom"/> | |
114 | - </LinearLayout> | |
115 | - | |
116 | - <LinearLayout | |
117 | - android:id="@+id/water_linear" | |
118 | - android:layout_width="0dp" | |
119 | - android:layout_height="match_parent" | |
120 | - android:layout_weight="1"> | |
121 | - | |
122 | - <ImageView | |
123 | - android:id="@+id/water_img" | |
124 | - android:layout_width="wrap_content" | |
125 | - android:layout_height="wrap_content" | |
126 | - android:src="@drawable/service_water_unchoose" /> | |
127 | - | |
128 | - <TextView | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:text="白开水" | |
132 | - android:gravity="bottom" | |
133 | - android:textSize="18sp" | |
134 | - android:layout_gravity="bottom"/> | |
135 | - | |
136 | - </LinearLayout> | |
137 | - | |
138 | - <LinearLayout | |
139 | - android:id="@+id/clean_linear" | |
140 | - android:layout_width="0dp" | |
141 | - android:layout_height="match_parent" | |
142 | - android:layout_weight="1"> | |
143 | - <ImageView | |
144 | - android:id="@+id/clean_img" | |
145 | - android:layout_width="wrap_content" | |
146 | - android:layout_height="wrap_content" | |
147 | - android:src="@drawable/service_clean_unchoose" /> | |
148 | - | |
149 | - <TextView | |
150 | - android:layout_width="wrap_content" | |
151 | - android:layout_height="wrap_content" | |
152 | - android:text="打扫" | |
153 | - android:gravity="bottom" | |
154 | - android:textSize="18sp" | |
155 | - android:layout_gravity="bottom"/> | |
156 | - | |
157 | - </LinearLayout> | |
158 | - </LinearLayout> | |
159 | - | |
160 | - <LinearLayout | |
161 | - android:layout_width="match_parent" | |
162 | - android:layout_height="0dp" | |
163 | - android:layout_marginTop="16dp" | |
164 | - android:layout_weight="1"> | |
165 | - | |
166 | - <LinearLayout | |
167 | - android:layout_width="0dp" | |
168 | - android:id="@+id/microphone_linear" | |
169 | - android:layout_height="match_parent" | |
170 | - android:layout_weight="1"> | |
171 | - | |
172 | - <ImageView | |
173 | - android:id="@+id/microphone_img" | |
174 | - android:layout_width="wrap_content" | |
175 | - android:layout_height="wrap_content" | |
176 | - android:src="@drawable/service_microphone_unchoose" /> | |
177 | - | |
178 | - <TextView | |
179 | - android:layout_width="wrap_content" | |
180 | - android:layout_height="wrap_content" | |
181 | - android:text="麦克风" | |
182 | - android:gravity="bottom" | |
183 | - android:textSize="18sp" | |
184 | - android:layout_gravity="bottom"/> | |
185 | - | |
186 | - </LinearLayout> | |
187 | - | |
188 | - <LinearLayout | |
189 | - android:layout_width="0dp" | |
190 | - android:id="@+id/technology_linear" | |
191 | - android:layout_height="match_parent" | |
192 | - android:layout_weight="1"> | |
193 | - | |
194 | - <ImageView | |
195 | - android:id="@+id/technology_img" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:src="@drawable/service_technology_unchoose" /> | |
199 | - <TextView | |
200 | - android:layout_width="wrap_content" | |
201 | - android:layout_height="wrap_content" | |
202 | - android:text="技术人员" | |
203 | - android:gravity="bottom" | |
204 | - android:textSize="18sp" | |
205 | - android:layout_gravity="bottom"/> | |
206 | - </LinearLayout> | |
207 | - | |
208 | - <LinearLayout | |
209 | - android:id="@+id/admin_button" | |
210 | - android:layout_width="0dp" | |
211 | - android:layout_height="match_parent" | |
212 | - android:orientation="horizontal" | |
213 | - android:layout_weight="1"></LinearLayout> | |
214 | - </LinearLayout> | |
215 | - </LinearLayout> | |
216 | - <LinearLayout | |
217 | - android:id="@+id/button_line" | |
218 | - android:layout_width="530dp" | |
219 | - android:layout_height="40dp" | |
220 | - android:layout_alignParentBottom="true" | |
221 | - android:orientation="horizontal"> | |
222 | - | |
223 | - <View | |
224 | - android:layout_width="0dp" | |
225 | - android:layout_height="wrap_content" | |
226 | - android:layout_weight="1" /> | |
227 | - | |
228 | - <Button | |
229 | - android:id="@+id/cancel" | |
230 | - android:layout_width="100dp" | |
231 | - android:layout_height="match_parent" | |
232 | - android:layout_marginRight="10dp" | |
233 | - android:visibility="invisible" | |
234 | - android:text="@string/cancel" /> | |
235 | - | |
236 | - <Button | |
237 | - android:id="@+id/submit" | |
238 | - android:layout_width="100dp" | |
239 | - android:layout_height="match_parent" | |
240 | - android:layout_marginRight="10dp" | |
241 | - android:text="@string/ok" /> | |
242 | - </LinearLayout> | |
243 | -</LinearLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_admin.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ffa9a9a9"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/admin_modal_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="48dp" | |
13 | - android:text="@string/admin_setting" | |
14 | - android:textSize="@dimen/big_text_p2" | |
15 | - android:textStyle="bold" /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/admin_modal_info" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/admin_modal_title" | |
22 | - android:layout_centerHorizontal="true" | |
23 | - android:layout_marginTop="30dp" | |
24 | - android:textSize="@dimen/big_text_p4" /> | |
25 | - | |
26 | - <ImageButton | |
27 | - android:id="@+id/admin_btnback" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_marginLeft="20dp" | |
31 | - android:layout_marginTop="20dp" | |
32 | - android:background="@drawable/back_selector" /> | |
33 | - | |
34 | - <Button | |
35 | - android:id="@+id/admin_config_mode" | |
36 | - android:layout_width="200dp" | |
37 | - android:layout_height="60dp" | |
38 | - android:layout_alignParentLeft="true" | |
39 | - android:layout_centerVertical="true" | |
40 | - android:layout_marginLeft="120dp" | |
41 | - android:background="@drawable/agree_selector" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/modifi_idsn" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p5" | |
46 | - android:textStyle="bold" /> | |
47 | - | |
48 | - <Button | |
49 | - android:id="@+id/admin_btnComTest" | |
50 | - android:layout_width="200dp" | |
51 | - android:layout_height="60dp" | |
52 | - android:layout_below="@id/admin_config_mode" | |
53 | - android:layout_marginLeft="120dp" | |
54 | - android:layout_marginTop="40dp" | |
55 | - android:background="@drawable/agree_selector" | |
56 | - android:gravity="center" | |
57 | - android:text="重定向服务器" | |
58 | - android:textColor="@color/white" | |
59 | - android:textSize="@dimen/big_text_p5" | |
60 | - android:textStyle="bold" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/admin_btnShutdown" | |
64 | - android:layout_width="200dp" | |
65 | - android:layout_height="60dp" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="120dp" | |
69 | - android:background="@drawable/oppos_selector" | |
70 | - android:gravity="center" | |
71 | - android:text="@string/shutdown" | |
72 | - android:textColor="@color/white" | |
73 | - android:textSize="@dimen/big_text_p5" | |
74 | - android:textStyle="bold"/> | |
75 | - | |
76 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_choice10_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" | |
6 | - > | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/choice10_btnback" | |
10 | - android:background="@drawable/back_selector" | |
11 | - android:layout_width="wrap_content" | |
12 | - android:layout_height="wrap_content" | |
13 | - android:layout_marginLeft="36px" | |
14 | - android:layout_marginTop="48px" | |
15 | - /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/keypad_test_choice10_title" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_centerHorizontal="true" | |
22 | - android:layout_marginTop="48px" | |
23 | - android:textSize="40px" | |
24 | - android:text="@string/keypad_test" | |
25 | - /> | |
26 | - | |
27 | - <LinearLayout | |
28 | - android:id="@+id/keypad_test_choice10_top_layout" | |
29 | - android:layout_width="match_parent" | |
30 | - android:layout_height="80dp" | |
31 | - android:layout_below="@id/keypad_test_choice10_title" | |
32 | - android:layout_marginTop="150dp" | |
33 | - android:layout_marginLeft="30dp" | |
34 | - android:layout_marginRight="30dp" | |
35 | - android:orientation="horizontal" | |
36 | - > | |
37 | - | |
38 | - <Button | |
39 | - android:id="@+id/keypad_test_choice10_btn_1" | |
40 | - android:layout_width="0dp" | |
41 | - android:layout_height="match_parent" | |
42 | - android:layout_weight="1" | |
43 | - android:layout_marginLeft="30dp" | |
44 | - android:layout_marginRight="30dp" | |
45 | - android:background="@drawable/agree_selector" | |
46 | - android:text="A" | |
47 | - android:gravity="center" | |
48 | - android:textColor="@color/white" | |
49 | - android:textSize="36px" | |
50 | - android:textStyle="bold" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/keypad_test_choice10_btn_2" | |
54 | - android:layout_width="0dp" | |
55 | - android:layout_height="match_parent" | |
56 | - android:layout_weight="1" | |
57 | - android:layout_marginLeft="30dp" | |
58 | - android:layout_marginRight="30dp" | |
59 | - android:background="@drawable/agree_selector" | |
60 | - android:text="B" | |
61 | - android:gravity="center" | |
62 | - android:textColor="@color/white" | |
63 | - android:textSize="36px" | |
64 | - android:textStyle="bold" /> | |
65 | - | |
66 | - <Button | |
67 | - android:id="@+id/keypad_test_choice10_btn_3" | |
68 | - android:layout_width="0dp" | |
69 | - android:layout_height="match_parent" | |
70 | - android:layout_weight="1" | |
71 | - android:layout_marginLeft="30dp" | |
72 | - android:layout_marginRight="30dp" | |
73 | - android:background="@drawable/agree_selector" | |
74 | - android:text="C" | |
75 | - android:gravity="center" | |
76 | - android:textColor="@color/white" | |
77 | - android:textSize="36px" | |
78 | - android:textStyle="bold" /> | |
79 | - | |
80 | - <Button | |
81 | - android:id="@+id/keypad_test_choice10_btn_4" | |
82 | - android:layout_width="0dp" | |
83 | - android:layout_height="match_parent" | |
84 | - android:layout_weight="1" | |
85 | - android:layout_marginLeft="30dp" | |
86 | - android:layout_marginRight="30dp" | |
87 | - android:background="@drawable/agree_selector" | |
88 | - android:text="D" | |
89 | - android:gravity="center" | |
90 | - android:textColor="@color/white" | |
91 | - android:textSize="36px" | |
92 | - android:textStyle="bold" /> | |
93 | - | |
94 | - <Button | |
95 | - android:id="@+id/keypad_test_choice10_btn_5" | |
96 | - android:layout_width="0dp" | |
97 | - android:layout_height="match_parent" | |
98 | - android:layout_weight="1" | |
99 | - android:layout_marginLeft="30dp" | |
100 | - android:layout_marginRight="30dp" | |
101 | - android:background="@drawable/agree_selector" | |
102 | - android:text="E" | |
103 | - android:gravity="center" | |
104 | - android:textColor="@color/white" | |
105 | - android:textSize="36px" | |
106 | - android:textStyle="bold" /> | |
107 | - | |
108 | - </LinearLayout> | |
109 | - | |
110 | - <LinearLayout | |
111 | - android:id="@+id/keypad_test_choice10_top2_layout" | |
112 | - android:layout_width="match_parent" | |
113 | - android:layout_height="80dp" | |
114 | - android:layout_below="@id/keypad_test_choice10_top_layout" | |
115 | - android:layout_marginTop="80dp" | |
116 | - android:layout_marginLeft="30dp" | |
117 | - android:layout_marginRight="30dp" | |
118 | - android:orientation="horizontal" | |
119 | - > | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/keypad_test_choice10_btn_6" | |
123 | - android:layout_width="0dp" | |
124 | - android:layout_height="match_parent" | |
125 | - android:layout_weight="1" | |
126 | - android:layout_marginLeft="30dp" | |
127 | - android:layout_marginRight="30dp" | |
128 | - android:background="@drawable/agree_selector" | |
129 | - android:text="F" | |
130 | - android:gravity="center" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="36px" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/keypad_test_choice10_btn_7" | |
137 | - android:layout_width="0dp" | |
138 | - android:layout_height="match_parent" | |
139 | - android:layout_weight="1" | |
140 | - android:layout_marginLeft="30dp" | |
141 | - android:layout_marginRight="30dp" | |
142 | - android:background="@drawable/agree_selector" | |
143 | - android:text="G" | |
144 | - android:gravity="center" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="36px" | |
147 | - android:textStyle="bold" /> | |
148 | - | |
149 | - <Button | |
150 | - android:id="@+id/keypad_test_choice10_btn_8" | |
151 | - android:layout_width="0dp" | |
152 | - android:layout_height="match_parent" | |
153 | - android:layout_weight="1" | |
154 | - android:layout_marginLeft="30dp" | |
155 | - android:layout_marginRight="30dp" | |
156 | - android:background="@drawable/agree_selector" | |
157 | - android:text="H" | |
158 | - android:gravity="center" | |
159 | - android:textColor="@color/white" | |
160 | - android:textSize="36px" | |
161 | - android:textStyle="bold" /> | |
162 | - | |
163 | - <Button | |
164 | - android:id="@+id/keypad_test_choice10_btn_9" | |
165 | - android:layout_width="0dp" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_weight="1" | |
168 | - android:layout_marginLeft="30dp" | |
169 | - android:layout_marginRight="30dp" | |
170 | - android:background="@drawable/agree_selector" | |
171 | - android:text="I" | |
172 | - android:gravity="center" | |
173 | - | |
174 | - android:textColor="@color/white" | |
175 | - android:textSize="36px" | |
176 | - android:textStyle="bold" /> | |
177 | - | |
178 | - <Button | |
179 | - android:id="@+id/keypad_test_choice10_btn_10" | |
180 | - android:layout_width="0dp" | |
181 | - android:layout_height="match_parent" | |
182 | - android:layout_weight="1" | |
183 | - android:layout_marginLeft="30dp" | |
184 | - android:layout_marginRight="30dp" | |
185 | - android:background="@drawable/agree_selector" | |
186 | - android:text="J" | |
187 | - android:gravity="center" | |
188 | - android:textColor="@color/white" | |
189 | - android:textSize="36px" | |
190 | - android:textStyle="bold" /> | |
191 | - | |
192 | - </LinearLayout> | |
193 | - | |
194 | - <TextView | |
195 | - android:id="@+id/keypad_test_choice10_info" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:layout_centerHorizontal="true" | |
199 | - android:layout_below="@id/keypad_test_choice10_top2_layout" | |
200 | - android:layout_marginTop="150px" | |
201 | - android:textSize="30px" | |
202 | - /> | |
203 | - | |
204 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_com_error.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#EAB530"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/com_error_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:paddingTop="60dp" | |
13 | - android:text="@string/welcome" | |
14 | - android:textSize="@dimen/big_text_p3" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/device_problem" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerInParent="true" | |
21 | - android:text="@string/base_connecting" | |
22 | - android:textSize="@dimen/big_text_p3" /> | |
23 | - | |
24 | - <View | |
25 | - android:id="@+id/com_error_btn_admin" | |
26 | - android:layout_width="@dimen/button_width" | |
27 | - android:layout_height="@dimen/button_width" | |
28 | - android:layout_alignParentBottom="true" | |
29 | - android:layout_alignParentRight="true" /> | |
30 | - | |
31 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_communication_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" > | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/comm_test_tv_result" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:layout_centerInParent="true" | |
11 | - android:text="@string/keypad_test" | |
12 | - android:textSize="@dimen/big_text_p4"/> | |
13 | - | |
14 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_contentvote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/contentvote_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/contentvote_tvmodify" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:textSize="@dimen/big_text_p4" /> | |
24 | - | |
25 | - <ImageButton | |
26 | - android:id="@+id/contentvote_bigger" | |
27 | - android:layout_width="@dimen/content_margin" | |
28 | - android:layout_height="@dimen/content_margin" | |
29 | - android:layout_alignParentRight="true" | |
30 | - android:layout_marginRight="@dimen/content_margin" | |
31 | - android:layout_marginTop="@dimen/content_margin" | |
32 | - android:background="@drawable/bigger" /> | |
33 | - | |
34 | - <ImageButton | |
35 | - android:id="@+id/contentvote_smaller" | |
36 | - android:layout_width="@dimen/content_margin" | |
37 | - android:layout_height="@dimen/content_margin" | |
38 | - android:layout_marginRight="@dimen/content_margin" | |
39 | - android:layout_marginTop="@dimen/content_margin" | |
40 | - android:layout_toLeftOf="@id/contentvote_bigger" | |
41 | - android:background="@drawable/smaller" /> | |
42 | - | |
43 | - <ScrollView | |
44 | - android:id="@+id/contentvote_scview" | |
45 | - android:layout_width="fill_parent" | |
46 | - android:layout_height="fill_parent" | |
47 | - android:layout_marginBottom="@dimen/content_margin" | |
48 | - android:layout_marginLeft="@dimen/content_margin" | |
49 | - android:layout_marginRight="@dimen/content_margin" | |
50 | - android:layout_marginTop="@dimen/content_margin" | |
51 | - android:layout_below="@id/contentvote_title" | |
52 | - android:background="@color/white" | |
53 | - android:fillViewport="false" | |
54 | - android:scrollbars="none"> | |
55 | - | |
56 | - <WebView | |
57 | - android:id="@+id/contentvote_content" | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:background="@color/white" /> | |
61 | - | |
62 | - </ScrollView> | |
63 | - | |
64 | - <TextView | |
65 | - android:id="@+id/contentvote_tv_result" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" | |
68 | - android:layout_alignTop="@id/contentvote_scview" | |
69 | - android:layout_centerInParent="true" | |
70 | - android:layout_marginTop="@dimen/content_margin" | |
71 | - android:background="@drawable/voted_empty" | |
72 | - android:gravity="center" | |
73 | - android:rotation="-20" | |
74 | - android:text="" | |
75 | - android:textColor="#ddff9933" | |
76 | - android:textSize="@dimen/big_text_p2" | |
77 | - android:textStyle="bold" | |
78 | - android:visibility="visible" /> | |
79 | - | |
80 | - <RelativeLayout | |
81 | - android:id="@+id/contentvote_pannal_vote" | |
82 | - android:layout_width="match_parent" | |
83 | - android:layout_height="@dimen/linear_heigh" | |
84 | - android:layout_alignParentBottom="true" | |
85 | - android:alpha="0.9" | |
86 | - android:background="@drawable/black_alpha"> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/contentvote_btnB" | |
90 | - android:layout_width="@dimen/button_width" | |
91 | - android:layout_height="@dimen/button_heigh" | |
92 | - android:layout_centerHorizontal="true" | |
93 | - android:layout_centerVertical="true" | |
94 | - android:background="@drawable/oppos_selector" | |
95 | - android:gravity="center" | |
96 | - android:text="" | |
97 | - android:textColor="@color/white" | |
98 | - android:textSize="@dimen/big_text_p4" | |
99 | - android:textStyle="bold" /> | |
100 | - | |
101 | - <Button | |
102 | - android:id="@+id/contentvote_btnA" | |
103 | - android:layout_width="@dimen/button_width" | |
104 | - android:layout_height="@dimen/button_heigh" | |
105 | - android:layout_centerVertical="true" | |
106 | - android:layout_marginRight="@dimen/content_margin" | |
107 | - android:layout_toLeftOf="@id/contentvote_btnB" | |
108 | - android:background="@drawable/agree_selector" | |
109 | - android:text="赞成" | |
110 | - android:textColor="@color/white" | |
111 | - android:textSize="@dimen/big_text_p4" | |
112 | - android:textStyle="bold" /> | |
113 | - | |
114 | - <Button | |
115 | - android:id="@+id/contentvote_btnC" | |
116 | - android:layout_width="@dimen/button_width" | |
117 | - android:layout_height="@dimen/button_heigh" | |
118 | - android:layout_centerVertical="true" | |
119 | - android:layout_marginLeft="@dimen/content_margin" | |
120 | - android:layout_toRightOf="@id/contentvote_btnB" | |
121 | - android:background="@drawable/abstain_selector" | |
122 | - android:text="" | |
123 | - android:textColor="@color/white" | |
124 | - android:textSize="@dimen/big_text_p4" | |
125 | - android:textStyle="bold" /> | |
126 | - </RelativeLayout> | |
127 | - | |
128 | - <RelativeLayout | |
129 | - android:id="@+id/contentvote_pannal_tips" | |
130 | - android:layout_width="match_parent" | |
131 | - android:layout_height="@dimen/linear_heigh" | |
132 | - android:layout_alignParentBottom="true" | |
133 | - android:alpha="0.9" | |
134 | - android:background="@drawable/black_alpha" | |
135 | - android:visibility="invisible"> | |
136 | - | |
137 | - <TextView | |
138 | - android:id="@+id/contentvote_tv_tips" | |
139 | - android:layout_width="wrap_content" | |
140 | - android:layout_height="wrap_content" | |
141 | - android:layout_centerHorizontal="true" | |
142 | - android:layout_centerVertical="true" | |
143 | - android:layout_marginTop="@dimen/content_margin" | |
144 | - android:text="@string/submiting" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p4" /> | |
147 | - </RelativeLayout> | |
148 | - | |
149 | - <RelativeLayout | |
150 | - android:id="@+id/contentvote_pannal_modify" | |
151 | - android:layout_width="match_parent" | |
152 | - android:layout_height="@dimen/linear_heigh" | |
153 | - android:layout_alignParentBottom="true" | |
154 | - android:alpha="0.9" | |
155 | - android:background="@drawable/black_alpha" | |
156 | - android:visibility="invisible"> | |
157 | - | |
158 | - <Button | |
159 | - android:id="@+id/contentvote_btn_modify" | |
160 | - android:layout_width="wrap_content" | |
161 | - android:layout_height="wrap_content" | |
162 | - android:layout_centerHorizontal="true" | |
163 | - android:layout_centerVertical="true" | |
164 | - android:background="@drawable/signin_selector" | |
165 | - android:text="@string/modify" | |
166 | - android:textColor="@color/white" | |
167 | - android:textSize="@dimen/big_text_p4" | |
168 | - android:textStyle="bold" /> | |
169 | - </RelativeLayout> | |
170 | -</RelativeLayout> | |
171 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-1223x800/fragment_document_browser.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/document_browser_btnback" | |
9 | - android:background="@drawable/back_selector" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="@dimen/content_margin" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:visibility="gone"/> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/document_browser_title" | |
18 | - android:layout_width="fill_parent" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_marginLeft="@dimen/content_margin" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:layout_marginRight="@dimen/content_margin" | |
23 | - android:layout_toRightOf="@id/document_browser_btnback" | |
24 | - android:text="@string/doc_title" | |
25 | - android:gravity="center" | |
26 | - android:textColor="@color/black" | |
27 | - android:textSize="@dimen/big_text_p3" | |
28 | - android:textStyle="bold"/> | |
29 | - | |
30 | - <RelativeLayout | |
31 | - android:id="@+id/document_browser_pannal_bottom" | |
32 | - android:layout_width="match_parent" | |
33 | - android:layout_height="80dp" | |
34 | - android:layout_alignParentBottom="true" | |
35 | - android:alpha="0.9" | |
36 | - android:background="@drawable/gray_alpha" | |
37 | - android:visibility="visible" > | |
38 | - | |
39 | - | |
40 | - | |
41 | - <View | |
42 | - android:id="@+id/document_browser_page" | |
43 | - android:layout_width="@dimen/button_width" | |
44 | - android:layout_height="@dimen/content_margin" | |
45 | - android:layout_centerInParent="true" | |
46 | - android:textSize="@dimen/big_text_p4" | |
47 | - android:visibility="invisible" /> | |
48 | - | |
49 | - <Button | |
50 | - android:id="@+id/document_browser_pageup" | |
51 | - android:layout_width="wrap_content" | |
52 | - android:layout_height="wrap_content" | |
53 | - android:layout_centerVertical="true" | |
54 | - android:layout_toLeftOf="@id/document_browser_page" | |
55 | - android:background="@drawable/page_selector" | |
56 | - android:text="@string/page_up" | |
57 | - android:textSize="@dimen/big_text_p4" /> | |
58 | - | |
59 | - <Button | |
60 | - android:id="@+id/document_browser_pagedown" | |
61 | - android:layout_width="wrap_content" | |
62 | - android:layout_height="wrap_content" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_toRightOf="@id/document_browser_page" | |
65 | - android:background="@drawable/page_selector" | |
66 | - android:text="@string/page_down" | |
67 | - android:textSize="@dimen/big_text_p4" /> | |
68 | - | |
69 | - | |
70 | - </RelativeLayout> | |
71 | - | |
72 | - <ListView | |
73 | - android:id="@+id/document_browser_listview" | |
74 | - android:layout_width="fill_parent" | |
75 | - android:layout_height="fill_parent" | |
76 | - android:layout_above="@id/document_browser_pannal_bottom" | |
77 | - android:layout_below="@id/document_browser_title" | |
78 | - android:layout_marginBottom="1dp" | |
79 | - android:layout_marginLeft="@dimen/content_margin" | |
80 | - android:layout_marginRight="@dimen/content_margin" | |
81 | - android:layout_marginTop="@dimen/content_margin" | |
82 | - android:divider="@color/votebakground" | |
83 | - android:dividerHeight="2dp" | |
84 | - android:fastScrollEnabled="false" > | |
85 | - </ListView> | |
86 | - | |
87 | -</RelativeLayout> | |
88 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-1223x800/fragment_download.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/bluebackground" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/download_title" | |
9 | - android:text="@string/connect_server_ing" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:textColor="@color/white" | |
12 | - android:textStyle="bold" | |
13 | - android:layout_width="wrap_content" | |
14 | - android:layout_height="wrap_content" | |
15 | - android:layout_centerInParent="true" | |
16 | - android:layout_marginLeft="@dimen/button_width" | |
17 | - android:layout_marginRight="@dimen/button_width" | |
18 | - | |
19 | - /> | |
20 | - | |
21 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_election.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:id="@+id/election_layout" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" | |
6 | - android:background="@color/votebakground" > | |
7 | - | |
8 | - <TextView | |
9 | - android:id="@+id/election_title" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:layout_marginLeft="@dimen/content_margin" | |
15 | - android:layout_marginRight="@dimen/content_margin" | |
16 | - android:ellipsize="end" | |
17 | - android:gravity="center" | |
18 | - android:lines="1" | |
19 | - android:text="@string/sunvote_no_paper" | |
20 | - android:textSize="@dimen/big_text_p4" /> | |
21 | - <RelativeLayout | |
22 | - android:id="@+id/election_pannal_OX" | |
23 | - android:layout_width="match_parent" | |
24 | - android:layout_height="@dimen/button_heigh" | |
25 | - android:layout_below="@+id/election_title" | |
26 | - android:visibility="gone" > | |
27 | - <TextView | |
28 | - android:id="@+id/xx" | |
29 | - android:layout_width="wrap_content" | |
30 | - android:layout_height="wrap_content" | |
31 | - android:layout_centerInParent="true"/> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/tv_all_ok" | |
35 | - android:layout_toRightOf="@+id/xx" | |
36 | - android:layout_width="wrap_content" | |
37 | - android:layout_height="wrap_content" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:text="全赞成" | |
40 | - android:layout_marginLeft="10dp" | |
41 | - android:textSize="@dimen/big_text_p4"/> | |
42 | - | |
43 | - <ImageButton | |
44 | - android:id="@+id/btn_all_ok" | |
45 | - android:layout_toRightOf="@+id/tv_all_ok" | |
46 | - android:background="@drawable/btn_oo" | |
47 | - android:layout_centerInParent="true" | |
48 | - android:layout_width="wrap_content" | |
49 | - android:layout_height="wrap_content" /> | |
50 | - | |
51 | - <TextView | |
52 | - android:id="@+id/tv_all_xx" | |
53 | - android:layout_width="wrap_content" | |
54 | - android:layout_height="wrap_content" | |
55 | - android:layout_marginLeft="@dimen/content_margin" | |
56 | - android:layout_centerInParent="true" | |
57 | - android:layout_toRightOf="@+id/btn_all_ok" | |
58 | - android:text="全反对" | |
59 | - android:textSize="@dimen/big_text_p4"/> | |
60 | - | |
61 | - <ImageButton | |
62 | - android:id="@+id/btn_all_xx" | |
63 | - android:layout_toRightOf="@+id/tv_all_xx" | |
64 | - android:background="@drawable/btn_xx" | |
65 | - android:layout_centerInParent="true" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" /> | |
68 | - </RelativeLayout> | |
69 | - <RelativeLayout | |
70 | - android:id="@+id/election_pannal_bottom" | |
71 | - android:layout_width="match_parent" | |
72 | - android:layout_height="@dimen/linear_heigh" | |
73 | - android:layout_alignParentBottom="true" | |
74 | - android:alpha="0.9" | |
75 | - android:background="@drawable/gray_alpha" | |
76 | - android:visibility="visible" > | |
77 | - | |
78 | - <TextView | |
79 | - android:id="@+id/election_info" | |
80 | - android:layout_width="wrap_content" | |
81 | - android:layout_height="wrap_content" | |
82 | - android:layout_centerVertical="true" | |
83 | - android:layout_marginLeft="@dimen/content_margin" | |
84 | - android:text="" | |
85 | - android:textSize="@dimen/big_text_p5" /> | |
86 | - | |
87 | - <TextView | |
88 | - android:id="@+id/election_page" | |
89 | - android:layout_width="wrap_content" | |
90 | - android:layout_height="wrap_content" | |
91 | - android:layout_centerInParent="true" | |
92 | - android:text="1/1" | |
93 | - android:textSize="@dimen/big_text_p5" | |
94 | - android:visibility="invisible"/> | |
95 | - | |
96 | - <Button | |
97 | - android:id="@+id/election_pageup" | |
98 | - android:layout_width="wrap_content" | |
99 | - android:layout_height="wrap_content" | |
100 | - android:layout_centerVertical="true" | |
101 | - android:layout_toLeftOf="@id/election_page" | |
102 | - android:background="@drawable/page_selector" | |
103 | - android:textSize="@dimen/big_text_p5" | |
104 | - android:text="@string/page_up" | |
105 | - android:visibility="visible" /> | |
106 | - | |
107 | - <Button | |
108 | - android:id="@+id/election_pagedown" | |
109 | - android:layout_width="wrap_content" | |
110 | - android:layout_height="wrap_content" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_toRightOf="@id/election_page" | |
113 | - android:background="@drawable/page_selector" | |
114 | - android:textSize="@dimen/big_text_p5" | |
115 | - android:text="@string/page_down" /> | |
116 | - | |
117 | - <Button | |
118 | - android:id="@+id/election_pagelast" | |
119 | - android:layout_width="wrap_content" | |
120 | - android:layout_height="wrap_content" | |
121 | - android:layout_centerVertical="true" | |
122 | - android:layout_marginLeft="@dimen/content_margin" | |
123 | - android:layout_toRightOf="@id/election_pagedown" | |
124 | - android:background="@drawable/page_selector" | |
125 | - android:textSize="@dimen/big_text_p5" | |
126 | - android:text="最后一页" /> | |
127 | - | |
128 | - <Button | |
129 | - android:id="@+id/election_btn_confirm" | |
130 | - android:layout_width="150dp" | |
131 | - android:layout_height="wrap_content" | |
132 | - android:layout_alignParentRight="true" | |
133 | - android:layout_centerVertical="true" | |
134 | - android:layout_marginRight="@dimen/content_margin" | |
135 | - android:background="@drawable/signin_selector" | |
136 | - android:text="@string/confirm_submit" | |
137 | - android:textColor="@color/white" | |
138 | - android:textSize="@dimen/big_text_p5" | |
139 | - android:textStyle="bold" /> | |
140 | - | |
141 | - <Button | |
142 | - android:id="@+id/election_btn_modify" | |
143 | - android:layout_width="150dp" | |
144 | - android:layout_height="wrap_content" | |
145 | - android:layout_alignParentRight="true" | |
146 | - android:layout_centerVertical="true" | |
147 | - android:layout_marginRight="@dimen/content_margin" | |
148 | - android:background="@drawable/signin_selector" | |
149 | - android:text="@string/modify" | |
150 | - android:textColor="@color/white" | |
151 | - android:textSize="@dimen/big_text_p5" | |
152 | - android:visibility="invisible" | |
153 | - android:textStyle="bold" /> | |
154 | - </RelativeLayout> | |
155 | - <ListView | |
156 | - android:id="@+id/election_listview" | |
157 | - android:layout_width="fill_parent" | |
158 | - android:layout_height="fill_parent" | |
159 | - android:layout_above="@id/election_pannal_bottom" | |
160 | - android:layout_below="@id/election_pannal_OX" | |
161 | - android:layout_marginTop="20dp" | |
162 | - android:layout_marginBottom="2dp" | |
163 | - android:layout_marginLeft="20dp" | |
164 | - android:layout_marginRight="20dp" | |
165 | - android:divider="@color/votebakground" | |
166 | - android:dividerHeight="2dp" > | |
167 | - </ListView> | |
168 | - <LinearLayout | |
169 | - android:id="@+id/election_add_other_panel" | |
170 | - android:layout_width="match_parent" | |
171 | - android:layout_height="match_parent" | |
172 | - android:background="@color/black" | |
173 | - android:orientation="vertical" | |
174 | - android:visibility="gone"> | |
175 | - | |
176 | - <!--输入框--> | |
177 | - <LinearLayout | |
178 | - android:layout_width="match_parent" | |
179 | - android:layout_height="match_parent" | |
180 | - android:orientation="horizontal" | |
181 | - android:layout_weight="0.2"> | |
182 | - | |
183 | - <LinearLayout | |
184 | - android:layout_width="match_parent" | |
185 | - android:layout_height="match_parent" | |
186 | - android:layout_margin="50dp" | |
187 | - android:layout_weight="1" | |
188 | - android:background="@drawable/shape" | |
189 | - android:orientation="vertical" | |
190 | - android:gravity="center"> | |
191 | - <TextView | |
192 | - android:layout_width="wrap_content" | |
193 | - android:layout_height="wrap_content" | |
194 | - android:layout_centerHorizontal="true" | |
195 | - android:text="@string/input_other" | |
196 | - android:textColor="@color/white" | |
197 | - android:textSize="@dimen/big_text_p5" /> | |
198 | - | |
199 | - <com.sunvote.xpadapp.base.ZanyEditText | |
200 | - android:id="@+id/election_add_edit" | |
201 | - android:layout_width="200dp" | |
202 | - android:layout_height="60dp" | |
203 | - android:background="#e8e8e8" | |
204 | - android:gravity="center" | |
205 | - android:imeOptions="flagNoExtractUi" | |
206 | - android:textSize="@dimen/big_text_p4" | |
207 | - android:lines="1" /> | |
208 | - </LinearLayout> | |
209 | - | |
210 | - <LinearLayout | |
211 | - android:layout_width="match_parent" | |
212 | - android:layout_height="match_parent" | |
213 | - android:orientation="vertical" | |
214 | - android:layout_weight="1" | |
215 | - android:layout_margin="30dp" | |
216 | - android:background="@drawable/shape" | |
217 | - android:gravity="center"> | |
218 | - | |
219 | - <TextView | |
220 | - android:layout_width="match_parent" | |
221 | - android:layout_height="wrap_content" | |
222 | - android:layout_centerHorizontal="true" | |
223 | - android:text="@string/input_other" | |
224 | - android:textColor="@color/white" | |
225 | - android:textSize="@dimen/big_text_p5" | |
226 | - android:gravity="center"/> | |
227 | - | |
228 | - <FrameLayout | |
229 | - android:layout_width="match_parent" | |
230 | - android:layout_height="match_parent" | |
231 | - android:layout_margin="5dp" | |
232 | - android:background="@drawable/shape"> | |
233 | - | |
234 | - <com.sunvote.xpadapp.base.PaletteView | |
235 | - android:id="@+id/draw_view" | |
236 | - android:layout_width="match_parent" | |
237 | - android:layout_height="match_parent"/> | |
238 | - | |
239 | - <ImageView | |
240 | - android:id="@+id/clear_img" | |
241 | - android:layout_width="wrap_content" | |
242 | - android:layout_height="wrap_content" | |
243 | - android:src="@drawable/ic_clear" | |
244 | - android:layout_gravity="bottom|right" | |
245 | - android:layout_marginBottom="20dp" | |
246 | - android:layout_marginRight="20dp"/> | |
247 | - </FrameLayout> | |
248 | - | |
249 | - </LinearLayout> | |
250 | - </LinearLayout> | |
251 | - | |
252 | - <!--按钮--> | |
253 | - <LinearLayout | |
254 | - android:layout_width="match_parent" | |
255 | - android:layout_height="match_parent" | |
256 | - android:layout_weight="0.8" | |
257 | - android:gravity="center|right" | |
258 | - android:orientation="horizontal"> | |
259 | - | |
260 | - <Button | |
261 | - android:id="@+id/election_add_edit_btn_cancel" | |
262 | - android:layout_width="311px" | |
263 | - android:layout_height="96px" | |
264 | - android:layout_marginRight="50px" | |
265 | - android:background="@drawable/btn_signin_d" | |
266 | - android:text="@string/cancel" | |
267 | - android:textColor="@color/white" | |
268 | - android:textSize="@dimen/big_text_p4" | |
269 | - android:textStyle="bold" /> | |
270 | - | |
271 | - <Button | |
272 | - android:id="@+id/election_add_edit_btn_ok" | |
273 | - android:layout_width="311px" | |
274 | - android:layout_height="96px" | |
275 | - android:layout_marginRight="50px" | |
276 | - android:background="@drawable/btn_agree" | |
277 | - android:text="@string/ok" | |
278 | - android:textColor="@color/white" | |
279 | - android:textSize="@dimen/big_text_p4" | |
280 | - android:textStyle="bold" /> | |
281 | - </LinearLayout> | |
282 | - | |
283 | - </LinearLayout> | |
284 | - <RelativeLayout | |
285 | - android:id="@+id/singlevote_confirm_panel" | |
286 | - android:layout_width="fill_parent" | |
287 | - android:layout_height="fill_parent" | |
288 | - android:background="#ff000000" | |
289 | - android:visibility="gone"> | |
290 | - | |
291 | - <TextView | |
292 | - android:id="@+id/singlevote_confirm_textview" | |
293 | - android:layout_width="wrap_content" | |
294 | - android:layout_height="wrap_content" | |
295 | - android:layout_centerHorizontal="true" | |
296 | - android:layout_marginTop="110px" | |
297 | - android:text="@string/cant_modify_confirm" | |
298 | - android:textColor="@color/white" | |
299 | - android:textSize="@dimen/big_text_p4" /> | |
300 | - | |
301 | - <Button | |
302 | - android:id="@+id/singlevote_btn_confirm_cancel" | |
303 | - android:layout_width="311px" | |
304 | - android:layout_height="96px" | |
305 | - android:layout_alignParentLeft="true" | |
306 | - android:layout_below="@id/singlevote_confirm_textview" | |
307 | - android:layout_marginLeft="296px" | |
308 | - android:layout_marginTop="102px" | |
309 | - android:background="@drawable/btn_signin_d" | |
310 | - android:text="@string/cancel" | |
311 | - android:textColor="@color/white" | |
312 | - android:textSize="@dimen/big_text_p4" | |
313 | - android:textStyle="bold" /> | |
314 | - | |
315 | - <Button | |
316 | - android:id="@+id/singlevote_btn_confirm_ok" | |
317 | - android:layout_width="311px" | |
318 | - android:layout_height="96px" | |
319 | - android:layout_alignParentRight="true" | |
320 | - android:layout_below="@id/singlevote_confirm_textview" | |
321 | - android:layout_marginRight="296px" | |
322 | - android:layout_marginTop="102px" | |
323 | - android:background="@drawable/btn_agree" | |
324 | - android:text="@string/ok" | |
325 | - android:textColor="@color/white" | |
326 | - android:textSize="@dimen/big_text_p4" | |
327 | - android:textStyle="bold" /> | |
328 | - </RelativeLayout> | |
329 | - <TextView | |
330 | - android:id="@+id/singlevote_tv_result" | |
331 | - android:layout_width="wrap_content" | |
332 | - android:layout_height="wrap_content" | |
333 | - android:alpha="0.9" | |
334 | - android:background="@drawable/voted_empty" | |
335 | - android:gravity="center" | |
336 | - android:rotation="-15" | |
337 | - android:textColor="#ddff9933" | |
338 | - android:textSize="@dimen/big_text_p2" | |
339 | - android:textStyle="bold" | |
340 | - android:visibility="invisible" | |
341 | - android:layout_marginRight="20dp" | |
342 | - android:layout_alignParentRight="true" | |
343 | - android:layout_marginTop="20dp"/> | |
344 | -</RelativeLayout> | |
345 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-1223x800/fragment_firm_update.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/firm_update_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="30dp" | |
13 | - android:textSize="48sp" /> | |
14 | - | |
15 | - <TextView | |
16 | - android:id="@+id/firm_update_ver" | |
17 | - android:layout_width="wrap_content" | |
18 | - android:layout_height="wrap_content" | |
19 | - android:layout_below="@id/firm_update_title" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="100dp" | |
22 | - android:textSize="30sp" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/firm_update_info" | |
26 | - android:layout_width="wrap_content" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_below="@id/firm_update_ver" | |
29 | - android:layout_centerHorizontal="true" | |
30 | - android:layout_marginTop="40dp" | |
31 | - android:textSize="30sp" /> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/firm_update_ver2" | |
35 | - android:layout_width="wrap_content" | |
36 | - android:layout_height="wrap_content" | |
37 | - android:layout_below="@id/firm_update_info" | |
38 | - android:layout_centerHorizontal="true" | |
39 | - android:layout_marginTop="30dp" | |
40 | - android:textSize="30sp" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/firm_update_btn_retry" | |
44 | - android:layout_width="100px" | |
45 | - android:layout_height="60px" | |
46 | - android:layout_alignParentLeft="true" | |
47 | - android:layout_below="@id/firm_update_ver2" | |
48 | - android:layout_centerHorizontal="true" | |
49 | - android:background="@drawable/agree_selector" | |
50 | - android:gravity="center" | |
51 | - android:text="重试" | |
52 | - android:textColor="@color/white" | |
53 | - android:textSize="30px" | |
54 | - android:textStyle="bold" /> | |
55 | - | |
56 | - | |
57 | - <LinearLayout | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:layout_margin="30dp" | |
61 | - | |
62 | - android:layout_below="@id/firm_update_btn_retry" | |
63 | - android:background="#EEEEEE" | |
64 | - android:orientation="horizontal"> | |
65 | - | |
66 | - <ScrollView | |
67 | - android:id="@+id/firm_update_scrview" | |
68 | - android:layout_width="fill_parent" | |
69 | - android:layout_height="wrap_content" | |
70 | - android:fillViewport="false" | |
71 | - android:padding="5dp" | |
72 | - android:scrollbars="vertical"> | |
73 | - | |
74 | - <TextView | |
75 | - android:id="@+id/firm_update_txt_log" | |
76 | - android:layout_width="fill_parent" | |
77 | - android:layout_height="fill_parent" | |
78 | - android:layout_weight="1.0" | |
79 | - android:minLines="4" /> | |
80 | - | |
81 | - </ScrollView> | |
82 | - | |
83 | - | |
84 | - </LinearLayout> | |
85 | - | |
86 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_keypad_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/keypad_test_btnback" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:background="@drawable/back_selector" | |
14 | - android:visibility="invisible" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/keypad_test_title" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:text="@string/keypad_test" | |
23 | - android:textSize="@dimen/big_text_p2" | |
24 | - android:textStyle="bold" /> | |
25 | - | |
26 | - <TextView | |
27 | - android:id="@+id/keypad_test_keypad_id" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_below="@id/keypad_test_title" | |
31 | - android:layout_centerHorizontal="true" | |
32 | - android:layout_marginTop="@dimen/content_margin" | |
33 | - android:text="@string/keypad_id" | |
34 | - android:textSize="@dimen/big_text_p1" | |
35 | - android:textStyle="bold" /> | |
36 | - | |
37 | - <TextView | |
38 | - android:id="@+id/keypad_test_keypad_sn" | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:layout_below="@id/keypad_test_keypad_id" | |
42 | - android:layout_centerHorizontal="true" | |
43 | - android:layout_marginTop="@dimen/content_margin" | |
44 | - android:text="SN" | |
45 | - android:textSize="@dimen/big_text_p2" | |
46 | - android:visibility="invisible" /> | |
47 | - | |
48 | - <TextView | |
49 | - android:id="@+id/keypad_test_keypad_ver" | |
50 | - android:layout_width="wrap_content" | |
51 | - android:layout_height="wrap_content" | |
52 | - android:layout_below="@id/keypad_test_keypad_sn" | |
53 | - android:layout_centerHorizontal="true" | |
54 | - android:layout_marginTop="@dimen/content_margin" | |
55 | - android:text="@string/version" | |
56 | - android:textSize="@dimen/big_text_p2" /> | |
57 | - | |
58 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_multi_content.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_content_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <RelativeLayout | |
17 | - android:id="@+id/multi_content_pannal_bottom" | |
18 | - android:layout_width="match_parent" | |
19 | - android:layout_height="@dimen/linear_heigh" | |
20 | - android:layout_alignParentBottom="true" | |
21 | - android:alpha="0.9" | |
22 | - android:background="@drawable/gray_alpha" | |
23 | - android:visibility="visible"> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/multi_content_info" | |
27 | - android:layout_width="wrap_content" | |
28 | - android:layout_height="wrap_content" | |
29 | - android:layout_centerVertical="true" | |
30 | - android:layout_marginLeft="@dimen/content_margin" | |
31 | - android:text="@string/should_vote" | |
32 | - android:textSize="@dimen/big_text_p4" /> | |
33 | - | |
34 | - <View | |
35 | - android:id="@+id/multi_content_page" | |
36 | - android:layout_width="20dp" | |
37 | - android:layout_height="20dp" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:textSize="@dimen/big_text_p4" | |
40 | - android:visibility="invisible" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/multi_content_pageup" | |
44 | - android:layout_width="wrap_content" | |
45 | - android:layout_height="wrap_content" | |
46 | - android:layout_centerVertical="true" | |
47 | - android:layout_toLeftOf="@id/multi_content_page" | |
48 | - android:background="@drawable/page_selector" | |
49 | - android:text="@string/page_up" | |
50 | - android:textSize="@dimen/big_text_p6" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/multi_content_pagedown" | |
54 | - android:layout_width="wrap_content" | |
55 | - android:layout_height="wrap_content" | |
56 | - android:layout_centerVertical="true" | |
57 | - android:layout_toRightOf="@id/multi_content_page" | |
58 | - android:background="@drawable/page_selector" | |
59 | - android:text="@string/page_down" | |
60 | - android:textSize="@dimen/big_text_p6" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/multi_content_btn_submit" | |
64 | - android:layout_width="wrap_content" | |
65 | - android:layout_height="wrap_content" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="@dimen/content_margin" | |
69 | - android:background="@drawable/signin_selector" | |
70 | - android:text="@string/confirm_submit" | |
71 | - android:textColor="@color/white" | |
72 | - android:textSize="@dimen/big_text_p4" | |
73 | - android:textStyle="bold" /> | |
74 | - | |
75 | - <Button | |
76 | - android:id="@+id/multi_content_btn_modify" | |
77 | - android:layout_width="wrap_content" | |
78 | - android:layout_height="wrap_content" | |
79 | - android:layout_alignParentRight="true" | |
80 | - android:layout_centerVertical="true" | |
81 | - android:layout_marginRight="@dimen/content_margin" | |
82 | - android:background="@drawable/signin_selector" | |
83 | - android:text="@string/modify" | |
84 | - android:textColor="@color/white" | |
85 | - android:textSize="@dimen/big_text_p5" | |
86 | - android:textStyle="bold" | |
87 | - android:visibility="invisible" /> | |
88 | - </RelativeLayout> | |
89 | - | |
90 | - <ListView | |
91 | - android:id="@+id/multi_content_listview" | |
92 | - android:layout_width="fill_parent" | |
93 | - android:layout_height="fill_parent" | |
94 | - android:layout_above="@id/multi_content_pannal_bottom" | |
95 | - android:layout_below="@id/multi_content_title" | |
96 | - android:layout_marginBottom="1dp" | |
97 | - android:layout_marginLeft="@dimen/content_margin" | |
98 | - android:layout_marginRight="@dimen/content_margin" | |
99 | - android:layout_marginTop="@dimen/content_margin" | |
100 | - android:divider="@color/votebakground" | |
101 | - android:dividerHeight="2dp" | |
102 | - android:fastScrollEnabled="false"></ListView> | |
103 | - | |
104 | - <RelativeLayout | |
105 | - android:id="@+id/multi_content_confirm_panel" | |
106 | - android:layout_width="match_parent" | |
107 | - android:layout_height="match_parent" | |
108 | - android:background="@color/black" | |
109 | - android:visibility="gone"> | |
110 | - | |
111 | - <TextView | |
112 | - android:id="@+id/multi_content_confirm_text" | |
113 | - android:layout_width="wrap_content" | |
114 | - android:layout_height="wrap_content" | |
115 | - android:layout_centerHorizontal="true" | |
116 | - android:layout_marginTop="@dimen/content_margin" | |
117 | - android:text="" | |
118 | - android:textColor="@color/white" | |
119 | - android:textSize="@dimen/big_text_p4" /> | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/multi_content_confirm_btn_cancel" | |
123 | - android:layout_width="@dimen/button_width" | |
124 | - android:layout_height="@dimen/button_heigh" | |
125 | - android:layout_alignParentLeft="true" | |
126 | - android:layout_below="@id/multi_content_confirm_text" | |
127 | - android:layout_marginLeft="@dimen/linear_heigh" | |
128 | - android:layout_marginTop="@dimen/content_margin" | |
129 | - android:background="@drawable/btn_signin_d" | |
130 | - android:text="@string/cancel" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="@dimen/big_text_p5" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/multi_content_confirm_btn_ok" | |
137 | - android:layout_width="@dimen/button_width" | |
138 | - android:layout_height="@dimen/button_heigh" | |
139 | - android:layout_alignParentRight="true" | |
140 | - android:layout_below="@id/multi_content_confirm_text" | |
141 | - android:layout_marginRight="@dimen/linear_heigh" | |
142 | - android:layout_marginTop="@dimen/content_margin" | |
143 | - android:background="@drawable/btn_agree" | |
144 | - android:text="@string/ok" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p5" | |
147 | - android:textStyle="bold" /> | |
148 | - </RelativeLayout> | |
149 | - | |
150 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_multi_content_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <!--标题--> | |
8 | - <LinearLayout | |
9 | - android:id="@+id/title_linear" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:layout_marginLeft="@dimen/content_margin" | |
14 | - android:layout_marginRight="@dimen/content_margin" | |
15 | - android:orientation="horizontal"> | |
16 | - | |
17 | - <ImageButton | |
18 | - android:id="@+id/content_detail_btnback" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:background="@drawable/back_selector" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/content_detail_title" | |
25 | - android:layout_width="0dp" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_marginLeft="10dp" | |
28 | - android:ellipsize="end" | |
29 | - android:gravity="left" | |
30 | - android:lines="1" | |
31 | - android:text="title" | |
32 | - android:textSize="@dimen/big_text_p3" | |
33 | - android:textColor="@color/black" | |
34 | - android:textStyle="bold" | |
35 | - android:layout_weight="1"/> | |
36 | - | |
37 | - <Button | |
38 | - android:id="@+id/btn_look_pdf" | |
39 | - android:layout_width="@dimen/button_width" | |
40 | - android:layout_height="@dimen/button_heigh" | |
41 | - android:background="@drawable/signin_selector" | |
42 | - android:text="查看批注" | |
43 | - android:textColor="@color/white" | |
44 | - android:textSize="@dimen/big_text_p4" | |
45 | - android:textStyle="bold" /> | |
46 | - | |
47 | - </LinearLayout> | |
48 | - <!--投票选项--> | |
49 | - <RelativeLayout | |
50 | - android:id="@+id/content_detail_pannal_vote" | |
51 | - android:layout_width="match_parent" | |
52 | - android:layout_height="@dimen/linear_heigh" | |
53 | - android:layout_alignParentBottom="true" | |
54 | - android:alpha="0.9" | |
55 | - android:background="@drawable/black_alpha" > | |
56 | - | |
57 | - <Button | |
58 | - android:id="@+id/content_detail_btnB" | |
59 | - android:layout_width="@dimen/button_width" | |
60 | - android:layout_height="@dimen/button_heigh" | |
61 | - android:layout_centerHorizontal="true" | |
62 | - android:layout_centerVertical="true" | |
63 | - android:background="@drawable/oppos_selector" | |
64 | - android:gravity="center" | |
65 | - android:text="@string/oppose" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:textStyle="bold" /> | |
69 | - | |
70 | - <Button | |
71 | - android:id="@+id/content_detail_btnA" | |
72 | - android:layout_width="@dimen/button_width" | |
73 | - android:layout_height="@dimen/button_heigh" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginRight="@dimen/content_margin" | |
76 | - android:layout_toLeftOf="@id/content_detail_btnB" | |
77 | - android:background="@drawable/agree_selector" | |
78 | - android:text="@string/abstant" | |
79 | - android:textColor="@color/white" | |
80 | - android:textSize="@dimen/big_text_p4" | |
81 | - android:textStyle="bold" /> | |
82 | - | |
83 | - <Button | |
84 | - android:id="@+id/content_detail_btnC" | |
85 | - android:layout_width="@dimen/button_width" | |
86 | - android:layout_height="@dimen/button_heigh" | |
87 | - android:layout_centerVertical="true" | |
88 | - android:layout_marginLeft="@dimen/content_margin" | |
89 | - android:layout_toRightOf="@id/content_detail_btnB" | |
90 | - android:background="@drawable/abstain_selector" | |
91 | - android:text="赞成" | |
92 | - android:textColor="@color/white" | |
93 | - android:textSize="@dimen/big_text_p4" | |
94 | - android:textStyle="bold" /> | |
95 | - </RelativeLayout> | |
96 | - <!--投票状态--> | |
97 | - <RelativeLayout | |
98 | - android:id="@+id/content_detail_pannal_tips" | |
99 | - android:layout_width="match_parent" | |
100 | - android:layout_height="@dimen/linear_heigh" | |
101 | - android:layout_alignParentBottom="true" | |
102 | - android:alpha="0.9" | |
103 | - android:background="@drawable/black_alpha" | |
104 | - android:visibility="invisible"> | |
105 | - | |
106 | - <TextView | |
107 | - android:id="@+id/content_detail_tv_tips" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_centerHorizontal="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:text="@string/submiting" | |
113 | - android:textColor="@color/white" | |
114 | - android:textSize="@dimen/big_text_p4" | |
115 | - android:textStyle="bold" | |
116 | - /> | |
117 | - </RelativeLayout> | |
118 | - <!--修改选项--> | |
119 | - <RelativeLayout | |
120 | - android:id="@+id/content_detail_pannal_modify" | |
121 | - android:layout_width="match_parent" | |
122 | - android:layout_height="@dimen/linear_heigh" | |
123 | - android:layout_alignParentBottom="true" | |
124 | - android:background="@color/black" | |
125 | - android:visibility="invisible"> | |
126 | - | |
127 | - <Button | |
128 | - android:id="@+id/content_detail_btn_modify" | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:layout_centerHorizontal="true" | |
132 | - android:layout_centerVertical="true" | |
133 | - android:background="@drawable/signin_selector" | |
134 | - android:text="@string/modify" | |
135 | - android:textColor="@color/white" | |
136 | - android:textSize="@dimen/big_text_p4" | |
137 | - android:textStyle="bold" /> | |
138 | - </RelativeLayout> | |
139 | - | |
140 | - <RelativeLayout | |
141 | - android:id="@+id/content_detail_pannal_vote1" | |
142 | - android:layout_width="match_parent" | |
143 | - android:layout_height="@dimen/linear_heigh" | |
144 | - android:layout_alignParentBottom="true" | |
145 | - android:gravity="center_horizontal" | |
146 | - android:background="@drawable/black_alpha" | |
147 | - android:visibility="gone"> | |
148 | - | |
149 | - </RelativeLayout> | |
150 | - <!--正文内容PDF--> | |
151 | - <RelativeLayout | |
152 | - android:id="@+id/content_detail_scview" | |
153 | - android:layout_width="fill_parent" | |
154 | - android:layout_height="fill_parent" | |
155 | - android:layout_above="@id/content_detail_pannal_vote" | |
156 | - android:layout_below="@+id/title_linear" | |
157 | - android:layout_marginBottom="@dimen/content_margin" | |
158 | - android:layout_marginLeft="@dimen/content_margin" | |
159 | - android:layout_marginRight="@dimen/content_margin" | |
160 | - android:layout_marginTop="@dimen/content_margin" | |
161 | - android:background="@color/white" | |
162 | - android:fillViewport="false" > | |
163 | - <com.github.barteksc.pdfviewer.PDFView | |
164 | - android:id="@+id/content_detail_pdfview" | |
165 | - android:layout_width="match_parent" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_marginLeft="86dp" | |
168 | - android:layout_marginRight="86dp" | |
169 | - android:background="@color/white" | |
170 | - /> | |
171 | - </RelativeLayout> | |
172 | - <!--投票结果,居中显示--> | |
173 | - <TextView | |
174 | - android:id="@+id/content_detail_tv_result" | |
175 | - android:layout_width="wrap_content" | |
176 | - android:layout_height="wrap_content" | |
177 | - android:layout_alignTop="@id/content_detail_scview" | |
178 | - android:layout_centerInParent="true" | |
179 | - android:layout_marginTop="@dimen/content_margin" | |
180 | - android:alpha="0.9" | |
181 | - android:rotation="-20" | |
182 | - android:gravity="center" | |
183 | - android:textColor="#ddff9933" | |
184 | - android:textSize="@dimen/big_text_p2" | |
185 | - android:textStyle="bold" | |
186 | - android:visibility="visible" /> | |
187 | - <!--提交确认--> | |
188 | - <RelativeLayout | |
189 | - android:id="@+id/content_detail_confirm_panel" | |
190 | - android:layout_width="fill_parent" | |
191 | - android:layout_height="fill_parent" | |
192 | - android:background="#ff000000" | |
193 | - android:visibility="gone" | |
194 | - > | |
195 | - | |
196 | - <TextView | |
197 | - android:id="@+id/content_detail_confirm_textview" | |
198 | - android:layout_width="wrap_content" | |
199 | - android:layout_height="wrap_content" | |
200 | - android:layout_centerHorizontal="true" | |
201 | - android:layout_marginTop="120dp" | |
202 | - android:text="@string/cant_modify_confirm" | |
203 | - android:textColor="@color/white" | |
204 | - android:layout_marginLeft="100dp" | |
205 | - android:layout_marginRight="100dp" | |
206 | - android:gravity="center" | |
207 | - android:textSize="@dimen/big_text_p3" /> | |
208 | - | |
209 | - <Button | |
210 | - android:id="@+id/content_detail_btn_confirm_cancel" | |
211 | - android:layout_width="@dimen/button_width" | |
212 | - android:layout_height="@dimen/button_heigh" | |
213 | - android:layout_alignParentLeft="true" | |
214 | - android:layout_below="@id/content_detail_confirm_textview" | |
215 | - android:layout_marginLeft="120dp" | |
216 | - android:layout_marginTop="120dp" | |
217 | - android:background="@drawable/btn_signin_d" | |
218 | - android:text="@string/cancel" | |
219 | - android:textColor="@color/white" | |
220 | - android:textSize="@dimen/big_text_p5" | |
221 | - android:textStyle="bold" /> | |
222 | - | |
223 | - <Button | |
224 | - android:id="@+id/content_detail_btn_confirm_ok" | |
225 | - android:layout_width="@dimen/button_width" | |
226 | - android:layout_height="@dimen/button_heigh" | |
227 | - android:layout_alignParentRight="true" | |
228 | - android:layout_below="@id/content_detail_confirm_textview" | |
229 | - android:layout_marginRight="120dp" | |
230 | - android:layout_marginTop="120dp" | |
231 | - android:background="@drawable/btn_agree" | |
232 | - android:text="@string/ok" | |
233 | - android:textColor="@color/white" | |
234 | - android:textSize="@dimen/big_text_p4" | |
235 | - android:textStyle="bold" /> | |
236 | - </RelativeLayout> | |
237 | - | |
238 | -</RelativeLayout> | |
239 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-1223x800/fragment_multi_pingsheng.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_pingsheng_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="32px" | |
12 | - android:layout_marginTop="48px" | |
13 | - android:text="@string/demo_metting" | |
14 | - android:textSize="@dimen/big_text_p5" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/multi_pingsheng_btn_abstain_all" | |
18 | - android:layout_width="@dimen/button_width" | |
19 | - android:layout_height="@dimen/button_heigh" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:background="@drawable/signin_selector" | |
24 | - android:gravity="center" | |
25 | - android:text="@string/all_abstant" | |
26 | - android:textColor="@color/white" | |
27 | - android:textSize="@dimen/big_text_p5" | |
28 | - android:textStyle="bold" | |
29 | - android:visibility="invisible" /> | |
30 | - | |
31 | - <TextView | |
32 | - android:id="@+id/multi_pingsheng_btn_oppose_all" | |
33 | - android:layout_width="@dimen/button_width" | |
34 | - android:layout_height="@dimen/button_heigh" | |
35 | - android:layout_marginRight="@dimen/content_margin" | |
36 | - android:layout_marginTop="@dimen/content_margin" | |
37 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_abstain_all" | |
38 | - android:background="@drawable/oppos_selector" | |
39 | - android:gravity="center" | |
40 | - android:text="@string/all_oppose" | |
41 | - android:textColor="@color/white" | |
42 | - android:textSize="30px" | |
43 | - android:textStyle="bold" | |
44 | - android:visibility="invisible" /> | |
45 | - | |
46 | - <TextView | |
47 | - android:id="@+id/multi_pingsheng_btn_agree_all" | |
48 | - android:layout_width="122px" | |
49 | - android:layout_height="72px" | |
50 | - android:layout_marginRight="28px" | |
51 | - android:layout_marginTop="32px" | |
52 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_oppose_all" | |
53 | - android:background="@drawable/agree_selector" | |
54 | - android:gravity="center" | |
55 | - android:text="@string/all_agree" | |
56 | - android:textColor="@color/white" | |
57 | - android:textSize="30px" | |
58 | - android:textStyle="bold" | |
59 | - android:visibility="invisible" /> | |
60 | - | |
61 | - <RelativeLayout | |
62 | - android:id="@+id/multi_pingsheng_pannal_bottom" | |
63 | - android:layout_width="match_parent" | |
64 | - android:layout_height="120px" | |
65 | - android:layout_alignParentBottom="true" | |
66 | - android:alpha="0.9" | |
67 | - android:background="@drawable/gray_alpha" | |
68 | - android:visibility="visible"> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/multi_pingsheng_info" | |
72 | - android:layout_width="wrap_content" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginLeft="36px" | |
76 | - android:text="@string/should_vote" | |
77 | - android:textSize="30px" /> | |
78 | - | |
79 | - <TextView | |
80 | - android:id="@+id/multi_pingsheng_page" | |
81 | - android:layout_width="wrap_content" | |
82 | - android:layout_height="wrap_content" | |
83 | - android:layout_centerInParent="true" | |
84 | - android:text="1/1" | |
85 | - android:textSize="30px" | |
86 | - android:visibility="invisible" /> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/multi_pingsheng_pageup" | |
90 | - android:layout_width="wrap_content" | |
91 | - android:layout_height="wrap_content" | |
92 | - android:layout_centerVertical="true" | |
93 | - android:layout_toLeftOf="@id/multi_pingsheng_page" | |
94 | - android:background="@drawable/page_selector" | |
95 | - android:text="@string/page_up" /> | |
96 | - | |
97 | - <Button | |
98 | - android:id="@+id/multi_pingsheng_pagedown" | |
99 | - android:layout_width="wrap_content" | |
100 | - android:layout_height="wrap_content" | |
101 | - android:layout_centerVertical="true" | |
102 | - android:layout_toRightOf="@id/multi_pingsheng_page" | |
103 | - android:background="@drawable/page_selector" | |
104 | - android:text="@string/page_down" /> | |
105 | - | |
106 | - <Button | |
107 | - android:id="@+id/multi_pingsheng_btn_submit" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_alignParentRight="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_marginRight="36px" | |
113 | - android:background="@drawable/signin_selector" | |
114 | - android:text="@string/confirm_submit" | |
115 | - android:textColor="@color/white" | |
116 | - android:textSize="36px" | |
117 | - android:textStyle="bold" /> | |
118 | - | |
119 | - <Button | |
120 | - android:id="@+id/multi_pingsheng_btn_modify" | |
121 | - android:layout_width="wrap_content" | |
122 | - android:layout_height="wrap_content" | |
123 | - android:layout_alignParentRight="true" | |
124 | - android:layout_centerVertical="true" | |
125 | - android:layout_marginRight="36px" | |
126 | - android:background="@drawable/signin_selector" | |
127 | - android:text="@string/modify" | |
128 | - android:textColor="@color/white" | |
129 | - android:textSize="36px" | |
130 | - android:textStyle="bold" | |
131 | - android:visibility="invisible" /> | |
132 | - </RelativeLayout> | |
133 | - | |
134 | - <ListView | |
135 | - android:id="@+id/multi_pingsheng_listview" | |
136 | - android:layout_width="fill_parent" | |
137 | - android:layout_height="fill_parent" | |
138 | - android:layout_above="@id/multi_pingsheng_pannal_bottom" | |
139 | - android:layout_below="@id/multi_pingsheng_title" | |
140 | - android:layout_marginBottom="2px" | |
141 | - android:layout_marginLeft="36px" | |
142 | - android:layout_marginRight="36px" | |
143 | - android:layout_marginTop="28px" | |
144 | - android:divider="@color/votebakground" | |
145 | - android:dividerHeight="8px" | |
146 | - android:fadeScrollbars="false" | |
147 | - android:scrollbarAlwaysDrawVerticalTrack="true" | |
148 | - android:scrollbars="vertical"></ListView> | |
149 | - | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/multi_pingsheng_confirm_panel" | |
152 | - android:layout_width="match_parent" | |
153 | - android:layout_height="match_parent" | |
154 | - android:background="@color/black" | |
155 | - android:visibility="gone"> | |
156 | - | |
157 | - <TextView | |
158 | - android:id="@+id/multi_pingsheng_confirm_text" | |
159 | - android:layout_width="wrap_content" | |
160 | - android:layout_height="wrap_content" | |
161 | - android:layout_centerHorizontal="true" | |
162 | - android:layout_marginTop="110px" | |
163 | - android:text="" | |
164 | - android:textColor="@color/white" | |
165 | - android:textSize="36px" | |
166 | - | |
167 | - /> | |
168 | - | |
169 | - | |
170 | - <Button | |
171 | - android:id="@+id/multi_pingsheng_confirm_btn_cancel" | |
172 | - android:layout_width="311px" | |
173 | - android:layout_height="96px" | |
174 | - android:layout_alignParentLeft="true" | |
175 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
176 | - android:layout_marginLeft="296px" | |
177 | - android:layout_marginTop="102px" | |
178 | - android:background="@drawable/btn_signin_d" | |
179 | - android:text="@string/cancel" | |
180 | - android:textColor="@color/white" | |
181 | - android:textSize="36px" | |
182 | - android:textStyle="bold" /> | |
183 | - | |
184 | - <Button | |
185 | - android:id="@+id/multi_pingsheng_confirm_btn_ok" | |
186 | - android:layout_width="311px" | |
187 | - android:layout_height="96px" | |
188 | - android:layout_alignParentRight="true" | |
189 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
190 | - android:layout_marginRight="296px" | |
191 | - android:layout_marginTop="102px" | |
192 | - android:background="@drawable/btn_agree" | |
193 | - android:text="@string/ok" | |
194 | - android:textColor="@color/white" | |
195 | - android:textSize="36px" | |
196 | - android:textStyle="bold" /> | |
197 | - | |
198 | - | |
199 | - </RelativeLayout> | |
200 | - | |
201 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/fragment_multi_title.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <LinearLayout | |
8 | - android:id="@+id/line_panel" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:orientation="horizontal" | |
12 | - android:layout_marginTop="30dp" | |
13 | - android:layout_marginLeft="20dp" | |
14 | - android:layout_marginRight="40dp"> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/multivote_title" | |
18 | - android:layout_width="0dp" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_gravity="center_vertical" | |
21 | - android:text="@string/sunvote_no_paper" | |
22 | - android:textSize="@dimen/big_text_p4" | |
23 | - android:layout_weight="1"/> | |
24 | - <TextView | |
25 | - android:id="@+id/multi_title_btn_agree_all" | |
26 | - android:layout_width="100dp" | |
27 | - android:layout_height="50dp" | |
28 | - android:layout_marginLeft="10dp" | |
29 | - android:background="@drawable/agree_selector" | |
30 | - android:gravity="center" | |
31 | - android:text="@string/all_agree" | |
32 | - android:textColor="@color/white" | |
33 | - android:textSize="@dimen/big_text_p4" | |
34 | - android:textStyle="bold"/> | |
35 | - | |
36 | - <TextView | |
37 | - android:id="@+id/multi_title_btn_oppose_all" | |
38 | - android:layout_width="100dp" | |
39 | - android:layout_height="50dp" | |
40 | - android:layout_marginLeft="10dp" | |
41 | - android:background="@drawable/oppos_selector" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/all_oppose" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p4" | |
46 | - android:textStyle="bold"/> | |
47 | - | |
48 | - <TextView | |
49 | - android:id="@+id/multi_title_btn_abstain_all" | |
50 | - android:layout_width="100dp" | |
51 | - android:layout_height="50dp" | |
52 | - android:layout_marginLeft="10dp" | |
53 | - android:background="@drawable/signin_selector" | |
54 | - android:gravity="center" | |
55 | - android:text="@string/all_abstant" | |
56 | - android:textColor="@color/white" | |
57 | - android:textSize="@dimen/big_text_p4" | |
58 | - android:textStyle="bold" /> | |
59 | - </LinearLayout> | |
60 | - | |
61 | - <RelativeLayout | |
62 | - android:id="@+id/multivote_pannal_bottom" | |
63 | - android:layout_width="match_parent" | |
64 | - android:layout_height="80dp" | |
65 | - android:layout_alignParentBottom="true" | |
66 | - android:alpha="0.9" | |
67 | - android:background="@drawable/gray_alpha" | |
68 | - android:visibility="visible" > | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/multivote_info" | |
72 | - android:layout_width="wrap_content" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginLeft="20dp" | |
76 | - android:text="@string/should_vote" | |
77 | - android:textSize="@dimen/big_text_p4" /> | |
78 | - | |
79 | - <View | |
80 | - android:id="@+id/multivote_page" | |
81 | - android:layout_width="40dp" | |
82 | - android:layout_height="20dp" | |
83 | - android:visibility="invisible" | |
84 | - android:layout_centerInParent="true" | |
85 | - /> | |
86 | - | |
87 | - <Button | |
88 | - android:id="@+id/multivote_pageup" | |
89 | - android:layout_width="wrap_content" | |
90 | - android:layout_height="wrap_content" | |
91 | - android:layout_centerVertical="true" | |
92 | - android:layout_toLeftOf="@id/multivote_page" | |
93 | - android:background="@drawable/page_selector" | |
94 | - android:textSize="@dimen/big_text_p5" | |
95 | - android:text="@string/page_up" /> | |
96 | - | |
97 | - <Button | |
98 | - android:id="@+id/multivote_pagedown" | |
99 | - android:layout_width="wrap_content" | |
100 | - android:layout_height="wrap_content" | |
101 | - android:layout_centerVertical="true" | |
102 | - android:layout_toRightOf="@id/multivote_page" | |
103 | - android:background="@drawable/page_selector" | |
104 | - android:textSize="@dimen/big_text_p5" | |
105 | - android:text="@string/page_down" /> | |
106 | - | |
107 | - <Button | |
108 | - android:id="@+id/multivote_btn_submit" | |
109 | - android:layout_width="wrap_content" | |
110 | - android:layout_height="wrap_content" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_marginRight="20dp" | |
113 | - android:layout_alignParentRight="true" | |
114 | - android:background="@drawable/signin_selector" | |
115 | - android:text="@string/confirm_submit" | |
116 | - android:textColor="@color/white" | |
117 | - android:textSize="@dimen/big_text_p4" | |
118 | - android:textStyle="bold" /> | |
119 | - | |
120 | - <Button | |
121 | - android:id="@+id/multivote_btn_modify" | |
122 | - android:layout_width="wrap_content" | |
123 | - android:layout_height="wrap_content" | |
124 | - android:layout_centerVertical="true" | |
125 | - android:layout_marginRight="20dp" | |
126 | - android:layout_alignParentRight="true" | |
127 | - android:background="@drawable/signin_selector" | |
128 | - android:text="@string/modify" | |
129 | - android:textColor="@color/white" | |
130 | - android:textSize="@dimen/big_text_p4" | |
131 | - android:textStyle="bold" | |
132 | - android:visibility="invisible"/> | |
133 | - </RelativeLayout> | |
134 | - | |
135 | - <ListView | |
136 | - android:id="@+id/multivote_listview" | |
137 | - android:layout_width="fill_parent" | |
138 | - android:layout_height="fill_parent" | |
139 | - android:divider="@color/votebakground" | |
140 | - android:dividerHeight="8dp" | |
141 | - android:layout_below="@id/line_panel" | |
142 | - android:layout_above="@id/multivote_pannal_bottom" | |
143 | - android:layout_marginLeft="20dp" | |
144 | - android:layout_marginRight="20dp" | |
145 | - android:layout_marginTop="20dp" | |
146 | - android:layout_marginBottom="20dp" | |
147 | - android:fastScrollEnabled="false"> | |
148 | - </ListView> | |
149 | - | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/multivote_confirm_panel" | |
152 | - android:layout_width="match_parent" | |
153 | - android:layout_height="match_parent" | |
154 | - android:background="@color/black" | |
155 | - android:visibility="gone"> | |
156 | - <TextView | |
157 | - android:id="@+id/multivote_confirm_text" | |
158 | - android:layout_width="wrap_content" | |
159 | - android:layout_height="wrap_content" | |
160 | - android:textColor="@color/white" | |
161 | - android:textSize="@dimen/big_text_p3" | |
162 | - android:layout_marginTop="80dp" | |
163 | - android:layout_centerHorizontal="true"/> | |
164 | - | |
165 | - <View | |
166 | - android:layout_width="60dp" | |
167 | - android:layout_height="80dp" | |
168 | - android:layout_centerHorizontal="true" | |
169 | - android:id="@+id/center_pos" | |
170 | - android:layout_below="@id/multivote_confirm_text" | |
171 | - android:layout_marginTop="40dp"/> | |
172 | - | |
173 | - <Button | |
174 | - android:id="@+id/multivote_confirm_btn_cancel" | |
175 | - android:layout_width="250dp" | |
176 | - android:layout_height="80dp" | |
177 | - android:background="@drawable/btn_signin_d" | |
178 | - android:layout_toStartOf="@id/center_pos" | |
179 | - android:layout_alignTop="@id/center_pos" | |
180 | - android:text="@string/cancel" | |
181 | - android:textColor="@color/white" | |
182 | - android:textSize="@dimen/big_text_p4" | |
183 | - android:textStyle="bold"/> | |
184 | - | |
185 | - <Button | |
186 | - android:id="@+id/multivote_confirm_btn_ok" | |
187 | - android:layout_width="250dp" | |
188 | - android:layout_height="80dp" | |
189 | - android:layout_toEndOf="@id/center_pos" | |
190 | - android:layout_alignTop="@id/center_pos" | |
191 | - android:text="@string/ok" | |
192 | - android:background="@drawable/btn_agree" | |
193 | - android:textColor="@color/white" | |
194 | - android:textSize="@dimen/big_text_p4" | |
195 | - android:textStyle="bold"/> | |
196 | - | |
197 | - | |
198 | - </RelativeLayout> | |
199 | - | |
200 | -</RelativeLayout> | |
201 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-1223x800/fragment_multi_title_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/mutli_title_detail_btnback" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="20dp" | |
13 | - android:layout_marginTop="20dp" | |
14 | - android:background="@drawable/back_selector" /> | |
15 | - | |
16 | - | |
17 | - <ScrollView | |
18 | - android:id="@+id/mutli_title_detail_scview" | |
19 | - android:layout_width="fill_parent" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/mutli_title_detail_btnback" | |
22 | - android:layout_marginLeft="20dp" | |
23 | - android:layout_marginRight="20dp" | |
24 | - android:layout_marginTop="20dp" | |
25 | - android:fillViewport="false" | |
26 | - android:scrollbars="none"> | |
27 | - | |
28 | - <TextView | |
29 | - android:id="@+id/mutli_title_detail_content" | |
30 | - android:layout_width="match_parent" | |
31 | - android:layout_height="wrap_content" | |
32 | - android:layout_centerInParent="true" | |
33 | - android:background="@color/white" | |
34 | - android:gravity="center" | |
35 | - android:text="@string/please_vote" | |
36 | - android:textColor="@color/black" | |
37 | - android:textSize="@dimen/big_text_p3"/> | |
38 | - </ScrollView> | |
39 | - | |
40 | - <TextView | |
41 | - android:id="@+id/mutli_title_detail_tv_tips" | |
42 | - android:layout_width="wrap_content" | |
43 | - android:layout_height="wrap_content" | |
44 | - android:layout_alignParentBottom="true" | |
45 | - android:layout_centerHorizontal="true" | |
46 | - android:layout_marginBottom="30dp" | |
47 | - android:text="@string/please_press_key" | |
48 | - android:textColor="#878787" | |
49 | - android:textSize="@dimen/big_text_p5" /> | |
50 | - | |
51 | - <Button | |
52 | - android:id="@+id/mutli_title_detail_btnB" | |
53 | - android:layout_width="200dp" | |
54 | - android:layout_height="60dp" | |
55 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
56 | - android:layout_centerHorizontal="true" | |
57 | - android:layout_marginBottom="20dp" | |
58 | - android:background="@drawable/oppos_selector" | |
59 | - android:text="@string/oppose" | |
60 | - android:textColor="@color/white" | |
61 | - android:textSize="@dimen/big_text_p4" | |
62 | - android:textStyle="bold" /> | |
63 | - | |
64 | - <Button | |
65 | - android:id="@+id/mutli_title_detail_btnA" | |
66 | - android:layout_width="200dp" | |
67 | - android:layout_height="60dp" | |
68 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
69 | - android:layout_marginBottom="20dp" | |
70 | - android:layout_marginRight="20dp" | |
71 | - android:layout_toLeftOf="@id/mutli_title_detail_btnB" | |
72 | - android:background="@drawable/agree_selector" | |
73 | - android:text="@string/agree" | |
74 | - android:textColor="@color/white" | |
75 | - android:textSize="@dimen/big_text_p4" | |
76 | - android:textStyle="bold" /> | |
77 | - | |
78 | - <Button | |
79 | - android:id="@+id/mutli_title_detail_btnC" | |
80 | - android:layout_width="200dp" | |
81 | - android:layout_height="60dp" | |
82 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
83 | - android:layout_marginBottom="20dp" | |
84 | - android:layout_marginLeft="20dp" | |
85 | - android:layout_toRightOf="@id/mutli_title_detail_btnB" | |
86 | - android:background="@drawable/abstain_selector" | |
87 | - android:text="@string/abstant" | |
88 | - android:textColor="@color/white" | |
89 | - android:textSize="@dimen/big_text_p4" | |
90 | - android:textStyle="bold" /> | |
91 | - | |
92 | - | |
93 | - <TextView | |
94 | - android:id="@+id/mutli_title_detail_tv_result" | |
95 | - android:layout_width="wrap_content" | |
96 | - android:layout_height="wrap_content" | |
97 | - android:layout_alignRight="@id/mutli_title_detail_scview" | |
98 | - android:layout_alignTop="@id/mutli_title_detail_scview" | |
99 | - android:layout_marginRight="40dp" | |
100 | - android:alpha="0.9" | |
101 | - android:background="@drawable/voted_empty" | |
102 | - android:gravity="center" | |
103 | - android:rotation="-20" | |
104 | - android:text="" | |
105 | - android:textColor="#ddff9933" | |
106 | - android:textSize="@dimen/big_text_p3" | |
107 | - android:textStyle="bold" | |
108 | - android:visibility="visible" /> | |
109 | - | |
110 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/list_pingsheng_result_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" > | |
5 | - | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:layout_width="fill_parent" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:background="#ffffff" > | |
11 | - | |
12 | - | |
13 | - <TextView | |
14 | - android:id="@+id/list_result_item_num" | |
15 | - android:layout_width="70dp" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_alignParentLeft="true" | |
18 | - android:layout_centerVertical="true" | |
19 | - android:layout_marginLeft="5dp" | |
20 | - android:gravity="center" | |
21 | - android:text="1" | |
22 | - android:textSize="30px" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/list_result_item_name" | |
26 | - android:layout_width="100dp" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_centerVertical="true" | |
29 | - android:layout_marginLeft="5dp" | |
30 | - android:layout_toRightOf="@id/list_result_item_num" | |
31 | - android:gravity="center" | |
32 | - android:text="" | |
33 | - android:textSize="30px" /> | |
34 | - | |
35 | - <TextView | |
36 | - android:id="@+id/list_result_item_xianren" | |
37 | - android:layout_width="600dp" | |
38 | - android:layout_height="wrap_content" | |
39 | - android:layout_marginTop="10dp" | |
40 | - android:layout_marginLeft="15dp" | |
41 | - android:layout_toRightOf="@id/list_result_item_name" | |
42 | - android:text="xr" | |
43 | - android:textSize="25sp" /> | |
44 | - | |
45 | - <TextView | |
46 | - android:id="@+id/list_result_item_niren" | |
47 | - android:layout_width="600dp" | |
48 | - android:layout_height="wrap_content" | |
49 | - android:layout_marginTop="10dp" | |
50 | - android:layout_marginLeft="15dp" | |
51 | - android:layout_below="@id/list_result_item_xianren" | |
52 | - android:layout_toRightOf="@id/list_result_item_name" | |
53 | - android:text="xr" | |
54 | - android:textSize="25sp" /> | |
55 | - | |
56 | - <TextView | |
57 | - android:id="@+id/list_result_item_nimian" | |
58 | - android:layout_width="600dp" | |
59 | - android:layout_height="wrap_content" | |
60 | - android:layout_marginTop="10dp" | |
61 | - android:layout_marginLeft="15dp" | |
62 | - android:layout_marginBottom="10dp" | |
63 | - android:layout_toRightOf="@id/list_result_item_name" | |
64 | - android:layout_below="@id/list_result_item_niren" | |
65 | - android:text="xr" | |
66 | - android:textSize="25sp" /> | |
67 | - | |
68 | - <TextView | |
69 | - android:id="@+id/list_result_item_agree" | |
70 | - android:layout_width="80dp" | |
71 | - android:layout_height="wrap_content" | |
72 | - android:layout_toRightOf="@id/list_result_item_nimian" | |
73 | - android:layout_centerVertical="true" | |
74 | - android:layout_marginLeft="10dp" | |
75 | - android:gravity="center" | |
76 | - android:text="@string/agree" | |
77 | - android:textSize="30px" | |
78 | - /> | |
79 | - | |
80 | - <TextView | |
81 | - android:id="@+id/list_result_item_oppose" | |
82 | - android:layout_width="80dp" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_toRightOf="@id/list_result_item_agree" | |
85 | - android:layout_centerVertical="true" | |
86 | - android:layout_marginLeft="5dp" | |
87 | - android:gravity="center" | |
88 | - android:text="@string/oppose" | |
89 | - android:textSize="30px" | |
90 | - /> | |
91 | - | |
92 | - <TextView | |
93 | - android:id="@+id/list_result_item_abstan" | |
94 | - android:layout_width="80dp" | |
95 | - android:layout_height="wrap_content" | |
96 | - android:layout_toRightOf="@id/list_result_item_oppose" | |
97 | - android:layout_centerVertical="true" | |
98 | - android:layout_marginLeft="5dp" | |
99 | - android:gravity="center" | |
100 | - android:text="@string/abstant" | |
101 | - android:textSize="30px" | |
102 | - /> | |
103 | - | |
104 | - <TextView | |
105 | - android:id="@+id/list_result_item_result" | |
106 | - android:layout_width="100dp" | |
107 | - android:layout_height="wrap_content" | |
108 | - android:layout_toRightOf="@id/list_result_item_abstan" | |
109 | - android:layout_centerVertical="true" | |
110 | - android:layout_marginLeft="5dp" | |
111 | - android:gravity="center" | |
112 | - android:text="@string/pass" | |
113 | - android:textSize="30px" | |
114 | - /> | |
115 | - </RelativeLayout> | |
116 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-1223x800/list_result_election_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="wrap_content" | |
5 | - android:layout_marginTop="@dimen/content_margin" | |
6 | - android:layout_marginBottom="@dimen/content_margin"> | |
7 | - | |
8 | - | |
9 | - <TextView | |
10 | - android:id="@+id/item_result_election_num" | |
11 | - android:layout_width="match_parent" | |
12 | - android:layout_height="match_parent" | |
13 | - android:layout_centerVertical="true" | |
14 | - android:text="@string/name_index" | |
15 | - android:textColor="@color/white" | |
16 | - android:textSize="@dimen/big_text_p4" | |
17 | - android:paddingLeft="@dimen/content_margin" | |
18 | - android:layout_weight="1" | |
19 | - android:textStyle="bold" /> | |
20 | - | |
21 | - <TextView | |
22 | - android:id="@+id/item_result_election_name" | |
23 | - android:layout_width="match_parent" | |
24 | - android:layout_height="match_parent" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:text="@string/name_xpad" | |
27 | - android:textColor="@color/white" | |
28 | - android:textSize="@dimen/big_text_p4" | |
29 | - android:layout_weight="1" | |
30 | - android:textStyle="bold" /> | |
31 | - | |
32 | - <TextView | |
33 | - android:id="@+id/item_result_election_agree" | |
34 | - android:layout_width="match_parent" | |
35 | - android:layout_height="match_parent" | |
36 | - android:layout_alignParentRight="true" | |
37 | - android:layout_centerVertical="true" | |
38 | - android:text="@string/agree_num" | |
39 | - android:textColor="@color/white" | |
40 | - android:layout_weight="1" | |
41 | - android:textSize="@dimen/big_text_p4" | |
42 | - android:gravity="center" | |
43 | - android:textStyle="bold" /> | |
44 | - | |
45 | - <TextView | |
46 | - android:id="@+id/item_result_election_oppose_num" | |
47 | - android:layout_width="match_parent" | |
48 | - android:layout_height="match_parent" | |
49 | - android:layout_alignParentRight="true" | |
50 | - android:layout_centerVertical="true" | |
51 | - android:text="@string/oppose_num" | |
52 | - android:textColor="@color/white" | |
53 | - android:layout_weight="1" | |
54 | - android:gravity="center" | |
55 | - android:textSize="@dimen/big_text_p4" | |
56 | - android:textStyle="bold" /> | |
57 | - | |
58 | - <TextView | |
59 | - android:id="@+id/item_result_election_abstant_num" | |
60 | - android:layout_width="match_parent" | |
61 | - android:layout_height="match_parent" | |
62 | - android:layout_alignParentRight="true" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_weight="1" | |
65 | - android:text="@string/abstant_num" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:gravity="center" | |
69 | - android:textStyle="bold" /> | |
70 | - | |
71 | - <TextView | |
72 | - android:id="@+id/item_result_election_result" | |
73 | - android:layout_width="match_parent" | |
74 | - android:layout_height="match_parent" | |
75 | - android:layout_alignParentRight="true" | |
76 | - android:layout_centerVertical="true" | |
77 | - android:text="@string/result" | |
78 | - android:layout_weight="1" | |
79 | - android:paddingLeft="@dimen/content_margin" | |
80 | - android:textColor="@color/white" | |
81 | - android:textSize="@dimen/big_text_p4" | |
82 | - android:textStyle="bold" /> | |
83 | - | |
84 | -</LinearLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/activity_main.xml deleted
1 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | - xmlns:tools="http://schemas.android.com/tools" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - tools:context="com.sunvote.xpadapp.MainActivity"> | |
6 | - | |
7 | - <FrameLayout | |
8 | - android:id="@+id/frame_content" | |
9 | - android:layout_width="fill_parent" | |
10 | - android:layout_height="fill_parent" /> | |
11 | - | |
12 | - <TextView | |
13 | - android:id="@+id/terminal_id" | |
14 | - android:layout_width="wrap_content" | |
15 | - android:layout_height="wrap_content" | |
16 | - android:layout_alignParentTop="true" | |
17 | - android:layout_centerHorizontal="true" | |
18 | - android:gravity="center_horizontal" | |
19 | - android:text="land-160dpi-1280*752" /> | |
20 | - | |
21 | - <ImageView | |
22 | - android:id="@+id/service" | |
23 | - android:layout_width="50dp" | |
24 | - android:layout_height="50dp" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:layout_alignParentRight="true" | |
27 | - android:layout_marginRight="20dp" | |
28 | - android:layout_marginBottom="20dp" | |
29 | - android:src="@drawable/service_server" /> | |
30 | - | |
31 | - <RelativeLayout | |
32 | - android:id="@+id/service_panel" | |
33 | - android:layout_width="wrap_content" | |
34 | - android:layout_height="wrap_content" | |
35 | - android:background="@color/white" | |
36 | - android:layout_centerInParent="true" | |
37 | - android:visibility="gone"> | |
38 | - <include layout="@layout/dialog_service" /> | |
39 | - </RelativeLayout> | |
40 | - | |
41 | - <FrameLayout | |
42 | - android:id="@+id/lockscreen" | |
43 | - android:layout_width="fill_parent" | |
44 | - android:layout_height="fill_parent" | |
45 | - android:visibility="gone"></FrameLayout> | |
46 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/activity_pdf.xml deleted
C5/app/src/main/res/layout-land-160dpi-1280x752/activity_qrcode_connect_wifi.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent"> | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/msg" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:layout_centerInParent="true" | |
12 | - android:gravity="center" | |
13 | - android:text="正在连接wifi"/> | |
14 | - | |
15 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/dialog_service.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
4 | - android:layout_width="wrap_content" | |
5 | - android:layout_height="wrap_content" | |
6 | - android:orientation="vertical" | |
7 | - android:padding="16dp"> | |
8 | - <TextView | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:text="呼叫服务" | |
12 | - android:textStyle="bold" | |
13 | - android:textSize="18sp"/> | |
14 | - <LinearLayout | |
15 | - android:layout_width="530dp" | |
16 | - android:layout_height="250dp" | |
17 | - android:layout_marginTop="10dp" | |
18 | - android:layout_above="@id/button_line" | |
19 | - android:orientation="vertical"> | |
20 | - | |
21 | - <LinearLayout | |
22 | - android:layout_width="match_parent" | |
23 | - android:layout_height="0dp" | |
24 | - android:layout_weight="1"> | |
25 | - | |
26 | - <LinearLayout | |
27 | - android:layout_width="0dp" | |
28 | - android:layout_height="match_parent" | |
29 | - android:id="@+id/paper_linear" | |
30 | - android:layout_weight="1"> | |
31 | - | |
32 | - <ImageView | |
33 | - android:id="@+id/paper_img" | |
34 | - android:layout_width="wrap_content" | |
35 | - android:layout_height="wrap_content" | |
36 | - android:src="@drawable/service_paper_unchoose" /> | |
37 | - | |
38 | - <TextView | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:text="@string/service_paper" | |
42 | - android:gravity="bottom" | |
43 | - android:textSize="18sp" | |
44 | - android:layout_gravity="bottom"/> | |
45 | - </LinearLayout> | |
46 | - | |
47 | - <LinearLayout | |
48 | - android:layout_width="0dp" | |
49 | - android:layout_height="match_parent" | |
50 | - android:id="@+id/pen_linear" | |
51 | - android:layout_weight="1"> | |
52 | - | |
53 | - <ImageView | |
54 | - android:id="@+id/pen_img" | |
55 | - android:layout_width="wrap_content" | |
56 | - android:layout_height="wrap_content" | |
57 | - android:src="@drawable/service_pen_unchoose" /> | |
58 | - <TextView | |
59 | - android:layout_width="wrap_content" | |
60 | - android:layout_height="wrap_content" | |
61 | - android:text="笔" | |
62 | - android:gravity="bottom" | |
63 | - android:textSize="18sp" | |
64 | - android:layout_gravity="bottom"/> | |
65 | - </LinearLayout> | |
66 | - | |
67 | - <LinearLayout | |
68 | - android:layout_width="0dp" | |
69 | - android:id="@+id/calc_linear" | |
70 | - android:layout_height="match_parent" | |
71 | - android:layout_weight="1"> | |
72 | - | |
73 | - <ImageView | |
74 | - android:id="@+id/calc_img" | |
75 | - android:layout_width="wrap_content" | |
76 | - android:layout_height="wrap_content" | |
77 | - android:src="@drawable/service_calc_unchoose" /> | |
78 | - <TextView | |
79 | - android:layout_width="wrap_content" | |
80 | - android:layout_height="wrap_content" | |
81 | - android:text="计算器" | |
82 | - android:gravity="bottom" | |
83 | - android:textSize="18sp" | |
84 | - android:layout_gravity="bottom"/> | |
85 | - | |
86 | - | |
87 | - </LinearLayout> | |
88 | - </LinearLayout> | |
89 | - | |
90 | - <LinearLayout | |
91 | - android:layout_width="match_parent" | |
92 | - android:layout_height="0dp" | |
93 | - android:layout_marginTop="16dp" | |
94 | - android:layout_weight="1"> | |
95 | - | |
96 | - <LinearLayout | |
97 | - android:layout_width="0dp" | |
98 | - android:id="@+id/tea_linear" | |
99 | - android:layout_height="match_parent" | |
100 | - android:layout_weight="1"> | |
101 | - | |
102 | - <ImageView | |
103 | - android:id="@+id/tea_img" | |
104 | - android:layout_width="wrap_content" | |
105 | - android:layout_height="wrap_content" | |
106 | - android:src="@drawable/service_tea_unchoose" /> | |
107 | - <TextView | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:text="茶" | |
111 | - android:gravity="bottom" | |
112 | - android:textSize="18sp" | |
113 | - android:layout_gravity="bottom"/> | |
114 | - </LinearLayout> | |
115 | - | |
116 | - <LinearLayout | |
117 | - android:id="@+id/water_linear" | |
118 | - android:layout_width="0dp" | |
119 | - android:layout_height="match_parent" | |
120 | - android:layout_weight="1"> | |
121 | - | |
122 | - <ImageView | |
123 | - android:id="@+id/water_img" | |
124 | - android:layout_width="wrap_content" | |
125 | - android:layout_height="wrap_content" | |
126 | - android:src="@drawable/service_water_unchoose" /> | |
127 | - | |
128 | - <TextView | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:text="白开水" | |
132 | - android:gravity="bottom" | |
133 | - android:textSize="18sp" | |
134 | - android:layout_gravity="bottom"/> | |
135 | - | |
136 | - </LinearLayout> | |
137 | - | |
138 | - <LinearLayout | |
139 | - android:id="@+id/clean_linear" | |
140 | - android:layout_width="0dp" | |
141 | - android:layout_height="match_parent" | |
142 | - android:layout_weight="1"> | |
143 | - <ImageView | |
144 | - android:id="@+id/clean_img" | |
145 | - android:layout_width="wrap_content" | |
146 | - android:layout_height="wrap_content" | |
147 | - android:src="@drawable/service_clean_unchoose" /> | |
148 | - | |
149 | - <TextView | |
150 | - android:layout_width="wrap_content" | |
151 | - android:layout_height="wrap_content" | |
152 | - android:text="打扫" | |
153 | - android:gravity="bottom" | |
154 | - android:textSize="18sp" | |
155 | - android:layout_gravity="bottom"/> | |
156 | - | |
157 | - </LinearLayout> | |
158 | - </LinearLayout> | |
159 | - | |
160 | - <LinearLayout | |
161 | - android:layout_width="match_parent" | |
162 | - android:layout_height="0dp" | |
163 | - android:layout_marginTop="16dp" | |
164 | - android:layout_weight="1"> | |
165 | - | |
166 | - <LinearLayout | |
167 | - android:layout_width="0dp" | |
168 | - android:id="@+id/microphone_linear" | |
169 | - android:layout_height="match_parent" | |
170 | - android:layout_weight="1"> | |
171 | - | |
172 | - <ImageView | |
173 | - android:id="@+id/microphone_img" | |
174 | - android:layout_width="wrap_content" | |
175 | - android:layout_height="wrap_content" | |
176 | - android:src="@drawable/service_microphone_unchoose" /> | |
177 | - | |
178 | - <TextView | |
179 | - android:layout_width="wrap_content" | |
180 | - android:layout_height="wrap_content" | |
181 | - android:text="麦克风" | |
182 | - android:gravity="bottom" | |
183 | - android:textSize="18sp" | |
184 | - android:layout_gravity="bottom"/> | |
185 | - | |
186 | - </LinearLayout> | |
187 | - | |
188 | - <LinearLayout | |
189 | - android:layout_width="0dp" | |
190 | - android:id="@+id/technology_linear" | |
191 | - android:layout_height="match_parent" | |
192 | - android:layout_weight="1"> | |
193 | - | |
194 | - <ImageView | |
195 | - android:id="@+id/technology_img" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:src="@drawable/service_technology_unchoose" /> | |
199 | - <TextView | |
200 | - android:layout_width="wrap_content" | |
201 | - android:layout_height="wrap_content" | |
202 | - android:text="技术人员" | |
203 | - android:gravity="bottom" | |
204 | - android:textSize="18sp" | |
205 | - android:layout_gravity="bottom"/> | |
206 | - </LinearLayout> | |
207 | - | |
208 | - <LinearLayout | |
209 | - android:id="@+id/admin_button" | |
210 | - android:layout_width="0dp" | |
211 | - android:layout_height="match_parent" | |
212 | - android:orientation="horizontal" | |
213 | - android:layout_weight="1"></LinearLayout> | |
214 | - </LinearLayout> | |
215 | - </LinearLayout> | |
216 | - <LinearLayout | |
217 | - android:id="@+id/button_line" | |
218 | - android:layout_width="530dp" | |
219 | - android:layout_height="40dp" | |
220 | - android:layout_alignParentBottom="true" | |
221 | - android:orientation="horizontal"> | |
222 | - | |
223 | - <View | |
224 | - android:layout_width="0dp" | |
225 | - android:layout_height="wrap_content" | |
226 | - android:layout_weight="1" /> | |
227 | - | |
228 | - <Button | |
229 | - android:id="@+id/cancel" | |
230 | - android:layout_width="100dp" | |
231 | - android:layout_height="match_parent" | |
232 | - android:layout_marginRight="10dp" | |
233 | - android:visibility="invisible" | |
234 | - android:text="@string/cancel" /> | |
235 | - | |
236 | - <Button | |
237 | - android:id="@+id/submit" | |
238 | - android:layout_width="100dp" | |
239 | - android:layout_height="match_parent" | |
240 | - android:layout_marginRight="10dp" | |
241 | - android:text="@string/ok" /> | |
242 | - </LinearLayout> | |
243 | -</LinearLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_admin.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ffa9a9a9"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/admin_modal_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="48dp" | |
13 | - android:text="@string/admin_setting" | |
14 | - android:textSize="@dimen/big_text_p2" | |
15 | - android:textStyle="bold" /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/admin_modal_info" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/admin_modal_title" | |
22 | - android:layout_centerHorizontal="true" | |
23 | - android:layout_marginTop="30dp" | |
24 | - android:textSize="@dimen/big_text_p4" /> | |
25 | - | |
26 | - <ImageButton | |
27 | - android:id="@+id/admin_btnback" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_marginLeft="20dp" | |
31 | - android:layout_marginTop="20dp" | |
32 | - android:background="@drawable/back_selector" /> | |
33 | - | |
34 | - <Button | |
35 | - android:id="@+id/admin_config_mode" | |
36 | - android:layout_width="200dp" | |
37 | - android:layout_height="60dp" | |
38 | - android:layout_alignParentLeft="true" | |
39 | - android:layout_centerVertical="true" | |
40 | - android:layout_marginLeft="120dp" | |
41 | - android:background="@drawable/agree_selector" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/modifi_idsn" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p5" | |
46 | - android:textStyle="bold" /> | |
47 | - | |
48 | - <Button | |
49 | - android:id="@+id/admin_btnComTest" | |
50 | - android:layout_width="200dp" | |
51 | - android:layout_height="60dp" | |
52 | - android:layout_below="@id/admin_config_mode" | |
53 | - android:layout_marginLeft="120dp" | |
54 | - android:layout_marginTop="40dp" | |
55 | - android:background="@drawable/agree_selector" | |
56 | - android:gravity="center" | |
57 | - android:text="重定向服务器" | |
58 | - android:textColor="@color/white" | |
59 | - android:textSize="@dimen/big_text_p5" | |
60 | - android:textStyle="bold" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/admin_btnShutdown" | |
64 | - android:layout_width="200dp" | |
65 | - android:layout_height="60dp" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="120dp" | |
69 | - android:background="@drawable/oppos_selector" | |
70 | - android:gravity="center" | |
71 | - android:text="@string/shutdown" | |
72 | - android:textColor="@color/white" | |
73 | - android:textSize="@dimen/big_text_p5" | |
74 | - android:textStyle="bold"/> | |
75 | - | |
76 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_choice10_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" | |
6 | - > | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/choice10_btnback" | |
10 | - android:background="@drawable/back_selector" | |
11 | - android:layout_width="wrap_content" | |
12 | - android:layout_height="wrap_content" | |
13 | - android:layout_marginLeft="36px" | |
14 | - android:layout_marginTop="48px" | |
15 | - /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/keypad_test_choice10_title" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_centerHorizontal="true" | |
22 | - android:layout_marginTop="48px" | |
23 | - android:textSize="40px" | |
24 | - android:text="@string/keypad_test" | |
25 | - /> | |
26 | - | |
27 | - <LinearLayout | |
28 | - android:id="@+id/keypad_test_choice10_top_layout" | |
29 | - android:layout_width="match_parent" | |
30 | - android:layout_height="80dp" | |
31 | - android:layout_below="@id/keypad_test_choice10_title" | |
32 | - android:layout_marginTop="150dp" | |
33 | - android:layout_marginLeft="30dp" | |
34 | - android:layout_marginRight="30dp" | |
35 | - android:orientation="horizontal" | |
36 | - > | |
37 | - | |
38 | - <Button | |
39 | - android:id="@+id/keypad_test_choice10_btn_1" | |
40 | - android:layout_width="0dp" | |
41 | - android:layout_height="match_parent" | |
42 | - android:layout_weight="1" | |
43 | - android:layout_marginLeft="30dp" | |
44 | - android:layout_marginRight="30dp" | |
45 | - android:background="@drawable/agree_selector" | |
46 | - android:text="A" | |
47 | - android:gravity="center" | |
48 | - android:textColor="@color/white" | |
49 | - android:textSize="36px" | |
50 | - android:textStyle="bold" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/keypad_test_choice10_btn_2" | |
54 | - android:layout_width="0dp" | |
55 | - android:layout_height="match_parent" | |
56 | - android:layout_weight="1" | |
57 | - android:layout_marginLeft="30dp" | |
58 | - android:layout_marginRight="30dp" | |
59 | - android:background="@drawable/agree_selector" | |
60 | - android:text="B" | |
61 | - android:gravity="center" | |
62 | - android:textColor="@color/white" | |
63 | - android:textSize="36px" | |
64 | - android:textStyle="bold" /> | |
65 | - | |
66 | - <Button | |
67 | - android:id="@+id/keypad_test_choice10_btn_3" | |
68 | - android:layout_width="0dp" | |
69 | - android:layout_height="match_parent" | |
70 | - android:layout_weight="1" | |
71 | - android:layout_marginLeft="30dp" | |
72 | - android:layout_marginRight="30dp" | |
73 | - android:background="@drawable/agree_selector" | |
74 | - android:text="C" | |
75 | - android:gravity="center" | |
76 | - android:textColor="@color/white" | |
77 | - android:textSize="36px" | |
78 | - android:textStyle="bold" /> | |
79 | - | |
80 | - <Button | |
81 | - android:id="@+id/keypad_test_choice10_btn_4" | |
82 | - android:layout_width="0dp" | |
83 | - android:layout_height="match_parent" | |
84 | - android:layout_weight="1" | |
85 | - android:layout_marginLeft="30dp" | |
86 | - android:layout_marginRight="30dp" | |
87 | - android:background="@drawable/agree_selector" | |
88 | - android:text="D" | |
89 | - android:gravity="center" | |
90 | - android:textColor="@color/white" | |
91 | - android:textSize="36px" | |
92 | - android:textStyle="bold" /> | |
93 | - | |
94 | - <Button | |
95 | - android:id="@+id/keypad_test_choice10_btn_5" | |
96 | - android:layout_width="0dp" | |
97 | - android:layout_height="match_parent" | |
98 | - android:layout_weight="1" | |
99 | - android:layout_marginLeft="30dp" | |
100 | - android:layout_marginRight="30dp" | |
101 | - android:background="@drawable/agree_selector" | |
102 | - android:text="E" | |
103 | - android:gravity="center" | |
104 | - android:textColor="@color/white" | |
105 | - android:textSize="36px" | |
106 | - android:textStyle="bold" /> | |
107 | - | |
108 | - </LinearLayout> | |
109 | - | |
110 | - <LinearLayout | |
111 | - android:id="@+id/keypad_test_choice10_top2_layout" | |
112 | - android:layout_width="match_parent" | |
113 | - android:layout_height="80dp" | |
114 | - android:layout_below="@id/keypad_test_choice10_top_layout" | |
115 | - android:layout_marginTop="80dp" | |
116 | - android:layout_marginLeft="30dp" | |
117 | - android:layout_marginRight="30dp" | |
118 | - android:orientation="horizontal" | |
119 | - > | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/keypad_test_choice10_btn_6" | |
123 | - android:layout_width="0dp" | |
124 | - android:layout_height="match_parent" | |
125 | - android:layout_weight="1" | |
126 | - android:layout_marginLeft="30dp" | |
127 | - android:layout_marginRight="30dp" | |
128 | - android:background="@drawable/agree_selector" | |
129 | - android:text="F" | |
130 | - android:gravity="center" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="36px" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/keypad_test_choice10_btn_7" | |
137 | - android:layout_width="0dp" | |
138 | - android:layout_height="match_parent" | |
139 | - android:layout_weight="1" | |
140 | - android:layout_marginLeft="30dp" | |
141 | - android:layout_marginRight="30dp" | |
142 | - android:background="@drawable/agree_selector" | |
143 | - android:text="G" | |
144 | - android:gravity="center" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="36px" | |
147 | - android:textStyle="bold" /> | |
148 | - | |
149 | - <Button | |
150 | - android:id="@+id/keypad_test_choice10_btn_8" | |
151 | - android:layout_width="0dp" | |
152 | - android:layout_height="match_parent" | |
153 | - android:layout_weight="1" | |
154 | - android:layout_marginLeft="30dp" | |
155 | - android:layout_marginRight="30dp" | |
156 | - android:background="@drawable/agree_selector" | |
157 | - android:text="H" | |
158 | - android:gravity="center" | |
159 | - android:textColor="@color/white" | |
160 | - android:textSize="36px" | |
161 | - android:textStyle="bold" /> | |
162 | - | |
163 | - <Button | |
164 | - android:id="@+id/keypad_test_choice10_btn_9" | |
165 | - android:layout_width="0dp" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_weight="1" | |
168 | - android:layout_marginLeft="30dp" | |
169 | - android:layout_marginRight="30dp" | |
170 | - android:background="@drawable/agree_selector" | |
171 | - android:text="I" | |
172 | - android:gravity="center" | |
173 | - | |
174 | - android:textColor="@color/white" | |
175 | - android:textSize="36px" | |
176 | - android:textStyle="bold" /> | |
177 | - | |
178 | - <Button | |
179 | - android:id="@+id/keypad_test_choice10_btn_10" | |
180 | - android:layout_width="0dp" | |
181 | - android:layout_height="match_parent" | |
182 | - android:layout_weight="1" | |
183 | - android:layout_marginLeft="30dp" | |
184 | - android:layout_marginRight="30dp" | |
185 | - android:background="@drawable/agree_selector" | |
186 | - android:text="J" | |
187 | - android:gravity="center" | |
188 | - android:textColor="@color/white" | |
189 | - android:textSize="36px" | |
190 | - android:textStyle="bold" /> | |
191 | - | |
192 | - </LinearLayout> | |
193 | - | |
194 | - <TextView | |
195 | - android:id="@+id/keypad_test_choice10_info" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:layout_centerHorizontal="true" | |
199 | - android:layout_below="@id/keypad_test_choice10_top2_layout" | |
200 | - android:layout_marginTop="150px" | |
201 | - android:textSize="30px" | |
202 | - /> | |
203 | - | |
204 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_com_error.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#EAB530"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/com_error_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:paddingTop="60dp" | |
13 | - android:text="@string/welcome" | |
14 | - android:textSize="@dimen/big_text_p3" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/device_problem" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerInParent="true" | |
21 | - android:text="@string/base_connecting" | |
22 | - android:textSize="@dimen/big_text_p3" /> | |
23 | - | |
24 | - <View | |
25 | - android:id="@+id/com_error_btn_admin" | |
26 | - android:layout_width="@dimen/button_width" | |
27 | - android:layout_height="@dimen/button_width" | |
28 | - android:layout_alignParentBottom="true" | |
29 | - android:layout_alignParentRight="true" /> | |
30 | - | |
31 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_communication_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" > | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/comm_test_tv_result" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:layout_centerInParent="true" | |
11 | - android:text="@string/keypad_test" | |
12 | - android:textSize="@dimen/big_text_p4"/> | |
13 | - | |
14 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_contentvote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/contentvote_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/contentvote_tvmodify" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:textSize="@dimen/big_text_p4" /> | |
24 | - | |
25 | - <ImageButton | |
26 | - android:id="@+id/contentvote_bigger" | |
27 | - android:layout_width="@dimen/content_margin" | |
28 | - android:layout_height="@dimen/content_margin" | |
29 | - android:layout_alignParentRight="true" | |
30 | - android:layout_marginRight="@dimen/content_margin" | |
31 | - android:layout_marginTop="@dimen/content_margin" | |
32 | - android:background="@drawable/bigger" /> | |
33 | - | |
34 | - <ImageButton | |
35 | - android:id="@+id/contentvote_smaller" | |
36 | - android:layout_width="@dimen/content_margin" | |
37 | - android:layout_height="@dimen/content_margin" | |
38 | - android:layout_marginRight="@dimen/content_margin" | |
39 | - android:layout_marginTop="@dimen/content_margin" | |
40 | - android:layout_toLeftOf="@id/contentvote_bigger" | |
41 | - android:background="@drawable/smaller" /> | |
42 | - | |
43 | - <ScrollView | |
44 | - android:id="@+id/contentvote_scview" | |
45 | - android:layout_width="fill_parent" | |
46 | - android:layout_height="fill_parent" | |
47 | - android:layout_marginBottom="@dimen/content_margin" | |
48 | - android:layout_marginLeft="@dimen/content_margin" | |
49 | - android:layout_marginRight="@dimen/content_margin" | |
50 | - android:layout_marginTop="@dimen/content_margin" | |
51 | - android:layout_below="@id/contentvote_title" | |
52 | - android:background="@color/white" | |
53 | - android:fillViewport="false" | |
54 | - android:scrollbars="none"> | |
55 | - | |
56 | - <WebView | |
57 | - android:id="@+id/contentvote_content" | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:background="@color/white" /> | |
61 | - | |
62 | - </ScrollView> | |
63 | - | |
64 | - <TextView | |
65 | - android:id="@+id/contentvote_tv_result" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" | |
68 | - android:layout_alignTop="@id/contentvote_scview" | |
69 | - android:layout_centerInParent="true" | |
70 | - android:layout_marginTop="@dimen/content_margin" | |
71 | - android:background="@drawable/voted_empty" | |
72 | - android:gravity="center" | |
73 | - android:rotation="-20" | |
74 | - android:text="" | |
75 | - android:textColor="#ddff9933" | |
76 | - android:textSize="@dimen/big_text_p2" | |
77 | - android:textStyle="bold" | |
78 | - android:visibility="visible" /> | |
79 | - | |
80 | - <RelativeLayout | |
81 | - android:id="@+id/contentvote_pannal_vote" | |
82 | - android:layout_width="match_parent" | |
83 | - android:layout_height="@dimen/linear_heigh" | |
84 | - android:layout_alignParentBottom="true" | |
85 | - android:alpha="0.9" | |
86 | - android:background="@drawable/black_alpha"> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/contentvote_btnB" | |
90 | - android:layout_width="@dimen/button_width" | |
91 | - android:layout_height="@dimen/button_heigh" | |
92 | - android:layout_centerHorizontal="true" | |
93 | - android:layout_centerVertical="true" | |
94 | - android:background="@drawable/oppos_selector" | |
95 | - android:gravity="center" | |
96 | - android:text="" | |
97 | - android:textColor="@color/white" | |
98 | - android:textSize="@dimen/big_text_p4" | |
99 | - android:textStyle="bold" /> | |
100 | - | |
101 | - <Button | |
102 | - android:id="@+id/contentvote_btnA" | |
103 | - android:layout_width="@dimen/button_width" | |
104 | - android:layout_height="@dimen/button_heigh" | |
105 | - android:layout_centerVertical="true" | |
106 | - android:layout_marginRight="@dimen/content_margin" | |
107 | - android:layout_toLeftOf="@id/contentvote_btnB" | |
108 | - android:background="@drawable/agree_selector" | |
109 | - android:text="赞成" | |
110 | - android:textColor="@color/white" | |
111 | - android:textSize="@dimen/big_text_p4" | |
112 | - android:textStyle="bold" /> | |
113 | - | |
114 | - <Button | |
115 | - android:id="@+id/contentvote_btnC" | |
116 | - android:layout_width="@dimen/button_width" | |
117 | - android:layout_height="@dimen/button_heigh" | |
118 | - android:layout_centerVertical="true" | |
119 | - android:layout_marginLeft="@dimen/content_margin" | |
120 | - android:layout_toRightOf="@id/contentvote_btnB" | |
121 | - android:background="@drawable/abstain_selector" | |
122 | - android:text="" | |
123 | - android:textColor="@color/white" | |
124 | - android:textSize="@dimen/big_text_p4" | |
125 | - android:textStyle="bold" /> | |
126 | - </RelativeLayout> | |
127 | - | |
128 | - <RelativeLayout | |
129 | - android:id="@+id/contentvote_pannal_tips" | |
130 | - android:layout_width="match_parent" | |
131 | - android:layout_height="@dimen/linear_heigh" | |
132 | - android:layout_alignParentBottom="true" | |
133 | - android:alpha="0.9" | |
134 | - android:background="@drawable/black_alpha" | |
135 | - android:visibility="invisible"> | |
136 | - | |
137 | - <TextView | |
138 | - android:id="@+id/contentvote_tv_tips" | |
139 | - android:layout_width="wrap_content" | |
140 | - android:layout_height="wrap_content" | |
141 | - android:layout_centerHorizontal="true" | |
142 | - android:layout_centerVertical="true" | |
143 | - android:layout_marginTop="@dimen/content_margin" | |
144 | - android:text="@string/submiting" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p4" /> | |
147 | - </RelativeLayout> | |
148 | - | |
149 | - <RelativeLayout | |
150 | - android:id="@+id/contentvote_pannal_modify" | |
151 | - android:layout_width="match_parent" | |
152 | - android:layout_height="@dimen/linear_heigh" | |
153 | - android:layout_alignParentBottom="true" | |
154 | - android:alpha="0.9" | |
155 | - android:background="@drawable/black_alpha" | |
156 | - android:visibility="invisible"> | |
157 | - | |
158 | - <Button | |
159 | - android:id="@+id/contentvote_btn_modify" | |
160 | - android:layout_width="wrap_content" | |
161 | - android:layout_height="wrap_content" | |
162 | - android:layout_centerHorizontal="true" | |
163 | - android:layout_centerVertical="true" | |
164 | - android:background="@drawable/signin_selector" | |
165 | - android:text="@string/modify" | |
166 | - android:textColor="@color/white" | |
167 | - android:textSize="@dimen/big_text_p4" | |
168 | - android:textStyle="bold" /> | |
169 | - </RelativeLayout> | |
170 | -</RelativeLayout> | |
171 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_document_browser.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/document_browser_btnback" | |
9 | - android:background="@drawable/back_selector" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="@dimen/content_margin" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:visibility="gone"/> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/document_browser_title" | |
18 | - android:layout_width="fill_parent" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_marginLeft="@dimen/content_margin" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:layout_marginRight="@dimen/content_margin" | |
23 | - android:layout_toRightOf="@id/document_browser_btnback" | |
24 | - android:text="@string/doc_title" | |
25 | - android:gravity="center" | |
26 | - android:textColor="@color/black" | |
27 | - android:textSize="@dimen/big_text_p3" | |
28 | - android:textStyle="bold"/> | |
29 | - | |
30 | - <RelativeLayout | |
31 | - android:id="@+id/document_browser_pannal_bottom" | |
32 | - android:layout_width="match_parent" | |
33 | - android:layout_height="80dp" | |
34 | - android:layout_alignParentBottom="true" | |
35 | - android:alpha="0.9" | |
36 | - android:background="@drawable/gray_alpha" | |
37 | - android:visibility="visible" > | |
38 | - | |
39 | - | |
40 | - | |
41 | - <View | |
42 | - android:id="@+id/document_browser_page" | |
43 | - android:layout_width="@dimen/button_width" | |
44 | - android:layout_height="@dimen/content_margin" | |
45 | - android:layout_centerInParent="true" | |
46 | - android:textSize="@dimen/big_text_p4" | |
47 | - android:visibility="invisible" /> | |
48 | - | |
49 | - <Button | |
50 | - android:id="@+id/document_browser_pageup" | |
51 | - android:layout_width="wrap_content" | |
52 | - android:layout_height="wrap_content" | |
53 | - android:layout_centerVertical="true" | |
54 | - android:layout_toLeftOf="@id/document_browser_page" | |
55 | - android:background="@drawable/page_selector" | |
56 | - android:text="@string/page_up" | |
57 | - android:textSize="@dimen/big_text_p4" /> | |
58 | - | |
59 | - <Button | |
60 | - android:id="@+id/document_browser_pagedown" | |
61 | - android:layout_width="wrap_content" | |
62 | - android:layout_height="wrap_content" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_toRightOf="@id/document_browser_page" | |
65 | - android:background="@drawable/page_selector" | |
66 | - android:text="@string/page_down" | |
67 | - android:textSize="@dimen/big_text_p4" /> | |
68 | - | |
69 | - | |
70 | - </RelativeLayout> | |
71 | - | |
72 | - <ListView | |
73 | - android:id="@+id/document_browser_listview" | |
74 | - android:layout_width="fill_parent" | |
75 | - android:layout_height="fill_parent" | |
76 | - android:layout_above="@id/document_browser_pannal_bottom" | |
77 | - android:layout_below="@id/document_browser_title" | |
78 | - android:layout_marginBottom="1dp" | |
79 | - android:layout_marginLeft="@dimen/content_margin" | |
80 | - android:layout_marginRight="@dimen/content_margin" | |
81 | - android:layout_marginTop="@dimen/content_margin" | |
82 | - android:divider="@color/votebakground" | |
83 | - android:dividerHeight="2dp" | |
84 | - android:fastScrollEnabled="false" > | |
85 | - </ListView> | |
86 | - | |
87 | -</RelativeLayout> | |
88 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_download.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/bluebackground" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/download_title" | |
9 | - android:text="@string/connect_server_ing" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:textColor="@color/white" | |
12 | - android:textStyle="bold" | |
13 | - android:layout_width="wrap_content" | |
14 | - android:layout_height="wrap_content" | |
15 | - android:layout_marginLeft="@dimen/button_width" | |
16 | - android:layout_marginRight="@dimen/button_width" | |
17 | - android:layout_centerInParent="true" | |
18 | - | |
19 | - /> | |
20 | - | |
21 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_election.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:id="@+id/election_layout" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" | |
6 | - android:background="@color/votebakground" > | |
7 | - | |
8 | - <TextView | |
9 | - android:id="@+id/election_title" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:layout_marginLeft="@dimen/content_margin" | |
15 | - android:layout_marginRight="@dimen/content_margin" | |
16 | - android:ellipsize="end" | |
17 | - android:gravity="center" | |
18 | - android:lines="1" | |
19 | - android:text="@string/sunvote_no_paper" | |
20 | - android:textSize="@dimen/big_text_p4" /> | |
21 | - <RelativeLayout | |
22 | - android:id="@+id/election_pannal_OX" | |
23 | - android:layout_width="match_parent" | |
24 | - android:layout_height="@dimen/button_heigh" | |
25 | - android:layout_below="@+id/election_title" | |
26 | - android:visibility="gone" > | |
27 | - <TextView | |
28 | - android:id="@+id/xx" | |
29 | - android:layout_width="wrap_content" | |
30 | - android:layout_height="wrap_content" | |
31 | - android:layout_centerInParent="true"/> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/tv_all_ok" | |
35 | - android:layout_toRightOf="@+id/xx" | |
36 | - android:layout_width="wrap_content" | |
37 | - android:layout_height="wrap_content" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:text="全赞成" | |
40 | - android:layout_marginLeft="10dp" | |
41 | - android:textSize="@dimen/big_text_p4"/> | |
42 | - | |
43 | - <ImageButton | |
44 | - android:id="@+id/btn_all_ok" | |
45 | - android:layout_toRightOf="@+id/tv_all_ok" | |
46 | - android:background="@drawable/btn_oo" | |
47 | - android:layout_centerInParent="true" | |
48 | - android:layout_width="wrap_content" | |
49 | - android:layout_height="wrap_content" /> | |
50 | - | |
51 | - <TextView | |
52 | - android:id="@+id/tv_all_xx" | |
53 | - android:layout_width="wrap_content" | |
54 | - android:layout_height="wrap_content" | |
55 | - android:layout_marginLeft="@dimen/content_margin" | |
56 | - android:layout_centerInParent="true" | |
57 | - android:layout_toRightOf="@+id/btn_all_ok" | |
58 | - android:text="全反对" | |
59 | - android:textSize="@dimen/big_text_p4"/> | |
60 | - | |
61 | - <ImageButton | |
62 | - android:id="@+id/btn_all_xx" | |
63 | - android:layout_toRightOf="@+id/tv_all_xx" | |
64 | - android:background="@drawable/btn_xx" | |
65 | - android:layout_centerInParent="true" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" /> | |
68 | - </RelativeLayout> | |
69 | - <RelativeLayout | |
70 | - android:id="@+id/election_pannal_bottom" | |
71 | - android:layout_width="match_parent" | |
72 | - android:layout_height="@dimen/linear_heigh" | |
73 | - android:layout_alignParentBottom="true" | |
74 | - android:alpha="0.9" | |
75 | - android:background="@drawable/gray_alpha" | |
76 | - android:visibility="visible" > | |
77 | - | |
78 | - <TextView | |
79 | - android:id="@+id/election_info" | |
80 | - android:layout_width="wrap_content" | |
81 | - android:layout_height="wrap_content" | |
82 | - android:layout_centerVertical="true" | |
83 | - android:layout_marginLeft="@dimen/content_margin" | |
84 | - android:text="" | |
85 | - android:textSize="@dimen/big_text_p5" /> | |
86 | - | |
87 | - <TextView | |
88 | - android:id="@+id/election_page" | |
89 | - android:layout_width="wrap_content" | |
90 | - android:layout_height="wrap_content" | |
91 | - android:layout_centerInParent="true" | |
92 | - android:text=" " | |
93 | - android:textSize="@dimen/big_text_p5" | |
94 | - android:visibility="invisible"/> | |
95 | - | |
96 | - <Button | |
97 | - android:id="@+id/election_pageup" | |
98 | - android:layout_width="wrap_content" | |
99 | - android:layout_height="wrap_content" | |
100 | - android:layout_centerVertical="true" | |
101 | - android:layout_toLeftOf="@id/election_page" | |
102 | - android:background="@drawable/page_selector" | |
103 | - android:textSize="@dimen/big_text_p5" | |
104 | - android:text="@string/page_up" | |
105 | - android:visibility="visible" /> | |
106 | - | |
107 | - <Button | |
108 | - android:id="@+id/election_pagedown" | |
109 | - android:layout_width="wrap_content" | |
110 | - android:layout_height="wrap_content" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_toRightOf="@id/election_page" | |
113 | - android:background="@drawable/page_selector" | |
114 | - android:textSize="@dimen/big_text_p5" | |
115 | - android:text="@string/page_down" /> | |
116 | - | |
117 | - <Button | |
118 | - android:id="@+id/election_pagelast" | |
119 | - android:layout_width="wrap_content" | |
120 | - android:layout_height="wrap_content" | |
121 | - android:layout_centerVertical="true" | |
122 | - android:layout_marginLeft="@dimen/content_margin" | |
123 | - android:layout_toRightOf="@id/election_pagedown" | |
124 | - android:background="@drawable/page_selector" | |
125 | - android:textSize="@dimen/big_text_p5" | |
126 | - android:text="最后一页" /> | |
127 | - | |
128 | - <Button | |
129 | - android:id="@+id/election_btn_confirm" | |
130 | - android:layout_width="180dp" | |
131 | - android:layout_height="wrap_content" | |
132 | - android:layout_alignParentRight="true" | |
133 | - android:layout_centerVertical="true" | |
134 | - android:layout_marginRight="@dimen/content_margin" | |
135 | - android:background="@drawable/signin_selector" | |
136 | - android:text="@string/confirm_submit" | |
137 | - android:textColor="@color/white" | |
138 | - android:textSize="@dimen/big_text_p5" | |
139 | - android:textStyle="bold" /> | |
140 | - | |
141 | - <Button | |
142 | - android:id="@+id/election_btn_modify" | |
143 | - android:layout_width="180dp" | |
144 | - android:layout_height="wrap_content" | |
145 | - android:layout_alignParentRight="true" | |
146 | - android:layout_centerVertical="true" | |
147 | - android:layout_marginRight="@dimen/content_margin" | |
148 | - android:background="@drawable/signin_selector" | |
149 | - android:text="@string/modify" | |
150 | - android:textColor="@color/white" | |
151 | - android:textSize="@dimen/big_text_p5" | |
152 | - android:visibility="invisible" | |
153 | - android:textStyle="bold" /> | |
154 | - </RelativeLayout> | |
155 | - <ListView | |
156 | - android:id="@+id/election_listview" | |
157 | - android:layout_width="fill_parent" | |
158 | - android:layout_height="fill_parent" | |
159 | - android:layout_above="@id/election_pannal_bottom" | |
160 | - android:layout_below="@id/election_pannal_OX" | |
161 | - android:layout_marginTop="@dimen/content_margin" | |
162 | - android:layout_marginBottom="2dp" | |
163 | - android:layout_marginLeft="@dimen/content_margin" | |
164 | - android:layout_marginRight="@dimen/content_margin" | |
165 | - android:divider="@color/votebakground" | |
166 | - android:dividerHeight="2dp" > | |
167 | - </ListView> | |
168 | - <LinearLayout | |
169 | - android:id="@+id/election_add_other_panel" | |
170 | - android:layout_width="match_parent" | |
171 | - android:layout_height="match_parent" | |
172 | - android:background="@color/black" | |
173 | - android:orientation="vertical" | |
174 | - android:visibility="gone"> | |
175 | - | |
176 | - <!--输入框--> | |
177 | - <LinearLayout | |
178 | - android:layout_width="match_parent" | |
179 | - android:layout_height="match_parent" | |
180 | - android:orientation="horizontal" | |
181 | - android:layout_weight="0.2"> | |
182 | - | |
183 | - <LinearLayout | |
184 | - android:layout_width="match_parent" | |
185 | - android:layout_height="match_parent" | |
186 | - android:layout_margin="50dp" | |
187 | - android:layout_weight="1" | |
188 | - android:background="@drawable/shape" | |
189 | - android:orientation="vertical" | |
190 | - android:gravity="center"> | |
191 | - <TextView | |
192 | - android:layout_width="wrap_content" | |
193 | - android:layout_height="wrap_content" | |
194 | - android:layout_centerHorizontal="true" | |
195 | - android:text="@string/input_other" | |
196 | - android:textColor="@color/white" | |
197 | - android:layout_marginBottom="20dp" | |
198 | - android:textSize="@dimen/big_text_p5" /> | |
199 | - | |
200 | - <com.sunvote.xpadapp.base.ZanyEditText | |
201 | - android:id="@+id/election_add_edit" | |
202 | - android:layout_width="200dp" | |
203 | - android:layout_height="60dp" | |
204 | - android:layout_marginTop="30dp" | |
205 | - android:background="#e8e8e8" | |
206 | - android:gravity="center" | |
207 | - android:imeOptions="flagNoExtractUi" | |
208 | - android:textSize="@dimen/big_text_p4" | |
209 | - android:lines="1" /> | |
210 | - </LinearLayout> | |
211 | - | |
212 | - <LinearLayout | |
213 | - android:layout_width="match_parent" | |
214 | - android:layout_height="match_parent" | |
215 | - android:orientation="vertical" | |
216 | - android:layout_weight="1" | |
217 | - android:layout_margin="30dp" | |
218 | - android:background="@drawable/shape" | |
219 | - android:gravity="center"> | |
220 | - | |
221 | - <TextView | |
222 | - android:layout_width="match_parent" | |
223 | - android:layout_height="wrap_content" | |
224 | - android:layout_centerHorizontal="true" | |
225 | - android:text="@string/input_other" | |
226 | - android:textColor="@color/white" | |
227 | - android:textSize="@dimen/big_text_p5" | |
228 | - android:gravity="center"/> | |
229 | - | |
230 | - <FrameLayout | |
231 | - android:layout_width="match_parent" | |
232 | - android:layout_height="match_parent" | |
233 | - android:layout_margin="5dp" | |
234 | - android:background="@drawable/shape"> | |
235 | - | |
236 | - <com.sunvote.xpadapp.base.PaletteView | |
237 | - android:id="@+id/draw_view" | |
238 | - android:layout_width="match_parent" | |
239 | - android:layout_height="match_parent"/> | |
240 | - | |
241 | - <ImageView | |
242 | - android:id="@+id/clear_img" | |
243 | - android:layout_width="wrap_content" | |
244 | - android:layout_height="wrap_content" | |
245 | - android:src="@drawable/ic_clear" | |
246 | - android:layout_gravity="bottom|right" | |
247 | - android:layout_marginBottom="20dp" | |
248 | - android:layout_marginRight="20dp"/> | |
249 | - </FrameLayout> | |
250 | - | |
251 | - </LinearLayout> | |
252 | - </LinearLayout> | |
253 | - | |
254 | - <!--按钮--> | |
255 | - <LinearLayout | |
256 | - android:layout_width="match_parent" | |
257 | - android:layout_height="match_parent" | |
258 | - android:layout_weight="0.8" | |
259 | - android:gravity="center|right" | |
260 | - android:orientation="horizontal"> | |
261 | - | |
262 | - <Button | |
263 | - android:id="@+id/election_add_edit_btn_cancel" | |
264 | - android:layout_width="@dimen/button_width" | |
265 | - android:layout_height="@dimen/button_heigh" | |
266 | - android:layout_marginRight="@dimen/content_margin" | |
267 | - android:background="@drawable/btn_signin_d" | |
268 | - android:text="@string/cancel" | |
269 | - android:textColor="@color/white" | |
270 | - android:textSize="@dimen/big_text_p4" | |
271 | - android:textStyle="bold" /> | |
272 | - | |
273 | - <Button | |
274 | - android:id="@+id/election_add_edit_btn_ok" | |
275 | - android:layout_width="@dimen/button_width" | |
276 | - android:layout_height="@dimen/button_heigh" | |
277 | - android:layout_marginRight="@dimen/content_margin" | |
278 | - android:background="@drawable/btn_agree" | |
279 | - android:text="@string/ok" | |
280 | - android:textColor="@color/white" | |
281 | - android:textSize="@dimen/big_text_p4" | |
282 | - android:textStyle="bold" /> | |
283 | - </LinearLayout> | |
284 | - | |
285 | - </LinearLayout> | |
286 | - <RelativeLayout | |
287 | - android:id="@+id/singlevote_confirm_panel" | |
288 | - android:layout_width="fill_parent" | |
289 | - android:layout_height="fill_parent" | |
290 | - android:background="#ff000000" | |
291 | - android:visibility="gone"> | |
292 | - | |
293 | - <TextView | |
294 | - android:id="@+id/singlevote_confirm_textview" | |
295 | - android:layout_width="wrap_content" | |
296 | - android:layout_height="wrap_content" | |
297 | - android:layout_centerHorizontal="true" | |
298 | - android:layout_marginTop="@dimen/button_to_content" | |
299 | - android:text="@string/cant_modify_confirm" | |
300 | - android:textColor="@color/white" | |
301 | - android:layout_marginLeft="@dimen/content_margin" | |
302 | - android:layout_marginRight="@dimen/content_margin" | |
303 | - android:gravity="center" | |
304 | - android:textSize="@dimen/big_text_p4" /> | |
305 | - | |
306 | - <Button | |
307 | - android:id="@+id/singlevote_btn_confirm_cancel" | |
308 | - android:layout_width="@dimen/button_width" | |
309 | - android:layout_height="@dimen/button_heigh" | |
310 | - android:layout_alignParentLeft="true" | |
311 | - android:layout_below="@id/singlevote_confirm_textview" | |
312 | - android:layout_marginLeft="@dimen/button_to_left" | |
313 | - android:layout_marginTop="@dimen/button_to_content" | |
314 | - android:background="@drawable/btn_signin_d" | |
315 | - android:text="@string/cancel" | |
316 | - android:textColor="@color/white" | |
317 | - android:textSize="@dimen/big_text_p5" | |
318 | - android:textStyle="bold" /> | |
319 | - | |
320 | - <Button | |
321 | - android:id="@+id/singlevote_btn_confirm_ok" | |
322 | - android:layout_width="@dimen/button_width" | |
323 | - android:layout_height="@dimen/button_heigh" | |
324 | - android:layout_alignParentRight="true" | |
325 | - android:layout_below="@id/singlevote_confirm_textview" | |
326 | - android:layout_marginRight="@dimen/button_to_right" | |
327 | - android:layout_marginTop="@dimen/button_to_content" | |
328 | - android:background="@drawable/btn_agree" | |
329 | - android:text="@string/ok" | |
330 | - android:textColor="@color/white" | |
331 | - android:textSize="@dimen/big_text_p5" | |
332 | - android:textStyle="bold" /> | |
333 | - </RelativeLayout> | |
334 | - <TextView | |
335 | - android:id="@+id/singlevote_tv_result" | |
336 | - android:layout_width="wrap_content" | |
337 | - android:layout_height="wrap_content" | |
338 | - android:alpha="0.9" | |
339 | - android:background="@drawable/voted_empty" | |
340 | - android:gravity="center" | |
341 | - android:rotation="-15" | |
342 | - android:textColor="#ddff9933" | |
343 | - android:textSize="@dimen/big_text_p2" | |
344 | - android:textStyle="bold" | |
345 | - android:visibility="invisible" | |
346 | - android:layout_marginRight="@dimen/content_margin" | |
347 | - android:layout_alignParentRight="true" | |
348 | - android:layout_marginTop="20dp"/> | |
349 | -</RelativeLayout> | |
350 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_firm_update.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/firm_update_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="30dp" | |
13 | - android:textSize="48sp" /> | |
14 | - | |
15 | - <TextView | |
16 | - android:id="@+id/firm_update_ver" | |
17 | - android:layout_width="wrap_content" | |
18 | - android:layout_height="wrap_content" | |
19 | - android:layout_below="@id/firm_update_title" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="100dp" | |
22 | - android:textSize="30sp" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/firm_update_info" | |
26 | - android:layout_width="wrap_content" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_below="@id/firm_update_ver" | |
29 | - android:layout_centerHorizontal="true" | |
30 | - android:layout_marginTop="40dp" | |
31 | - android:textSize="30sp" /> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/firm_update_ver2" | |
35 | - android:layout_width="wrap_content" | |
36 | - android:layout_height="wrap_content" | |
37 | - android:layout_below="@id/firm_update_info" | |
38 | - android:layout_centerHorizontal="true" | |
39 | - android:layout_marginTop="30dp" | |
40 | - android:textSize="30sp" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/firm_update_btn_retry" | |
44 | - android:layout_width="100px" | |
45 | - android:layout_height="60px" | |
46 | - android:layout_alignParentLeft="true" | |
47 | - android:layout_below="@id/firm_update_ver2" | |
48 | - android:layout_centerHorizontal="true" | |
49 | - android:background="@drawable/agree_selector" | |
50 | - android:gravity="center" | |
51 | - android:text="重试" | |
52 | - android:textColor="@color/white" | |
53 | - android:textSize="30px" | |
54 | - android:textStyle="bold" /> | |
55 | - | |
56 | - | |
57 | - <LinearLayout | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:layout_margin="30dp" | |
61 | - | |
62 | - android:layout_below="@id/firm_update_btn_retry" | |
63 | - android:background="#EEEEEE" | |
64 | - android:orientation="horizontal"> | |
65 | - | |
66 | - <ScrollView | |
67 | - android:id="@+id/firm_update_scrview" | |
68 | - android:layout_width="fill_parent" | |
69 | - android:layout_height="wrap_content" | |
70 | - android:fillViewport="false" | |
71 | - android:padding="5dp" | |
72 | - android:scrollbars="vertical"> | |
73 | - | |
74 | - <TextView | |
75 | - android:id="@+id/firm_update_txt_log" | |
76 | - android:layout_width="fill_parent" | |
77 | - android:layout_height="fill_parent" | |
78 | - android:layout_weight="1.0" | |
79 | - android:minLines="4" /> | |
80 | - | |
81 | - </ScrollView> | |
82 | - | |
83 | - | |
84 | - </LinearLayout> | |
85 | - | |
86 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_keypad_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/keypad_test_btnback" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:background="@drawable/back_selector" | |
14 | - android:visibility="invisible" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/keypad_test_title" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:text="@string/keypad_test" | |
23 | - android:textSize="@dimen/big_text_p2" | |
24 | - android:textStyle="bold" /> | |
25 | - | |
26 | - <TextView | |
27 | - android:id="@+id/keypad_test_keypad_id" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_below="@id/keypad_test_title" | |
31 | - android:layout_centerHorizontal="true" | |
32 | - android:layout_marginTop="@dimen/content_margin" | |
33 | - android:text="@string/keypad_id" | |
34 | - android:textSize="@dimen/big_text_p1" | |
35 | - android:textStyle="bold" /> | |
36 | - | |
37 | - <TextView | |
38 | - android:id="@+id/keypad_test_keypad_sn" | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:layout_below="@id/keypad_test_keypad_id" | |
42 | - android:layout_centerHorizontal="true" | |
43 | - android:layout_marginTop="@dimen/content_margin" | |
44 | - android:text="SN" | |
45 | - android:textSize="@dimen/big_text_p2" | |
46 | - android:visibility="invisible" /> | |
47 | - | |
48 | - <TextView | |
49 | - android:id="@+id/keypad_test_keypad_ver" | |
50 | - android:layout_width="wrap_content" | |
51 | - android:layout_height="wrap_content" | |
52 | - android:layout_below="@id/keypad_test_keypad_sn" | |
53 | - android:layout_centerHorizontal="true" | |
54 | - android:layout_marginTop="@dimen/content_margin" | |
55 | - android:text="@string/version" | |
56 | - android:textSize="@dimen/big_text_p2" /> | |
57 | - | |
58 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_multi_content.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_content_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <RelativeLayout | |
17 | - android:id="@+id/multi_content_pannal_bottom" | |
18 | - android:layout_width="match_parent" | |
19 | - android:layout_height="@dimen/linear_heigh" | |
20 | - android:layout_alignParentBottom="true" | |
21 | - android:alpha="0.9" | |
22 | - android:background="@drawable/gray_alpha" | |
23 | - android:visibility="visible"> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/multi_content_info" | |
27 | - android:layout_width="wrap_content" | |
28 | - android:layout_height="wrap_content" | |
29 | - android:layout_centerVertical="true" | |
30 | - android:layout_marginLeft="@dimen/content_margin" | |
31 | - android:text="@string/should_vote" | |
32 | - android:textSize="@dimen/big_text_p4" /> | |
33 | - | |
34 | - <View | |
35 | - android:id="@+id/multi_content_page" | |
36 | - android:layout_width="20dp" | |
37 | - android:layout_height="20dp" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:textSize="@dimen/big_text_p4" | |
40 | - android:visibility="invisible" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/multi_content_pageup" | |
44 | - android:layout_width="wrap_content" | |
45 | - android:layout_height="wrap_content" | |
46 | - android:layout_centerVertical="true" | |
47 | - android:layout_toLeftOf="@id/multi_content_page" | |
48 | - android:background="@drawable/page_selector" | |
49 | - android:text="@string/page_up" | |
50 | - android:textSize="@dimen/big_text_p6" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/multi_content_pagedown" | |
54 | - android:layout_width="wrap_content" | |
55 | - android:layout_height="wrap_content" | |
56 | - android:layout_centerVertical="true" | |
57 | - android:layout_toRightOf="@id/multi_content_page" | |
58 | - android:background="@drawable/page_selector" | |
59 | - android:text="@string/page_down" | |
60 | - android:textSize="@dimen/big_text_p6" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/multi_content_btn_submit" | |
64 | - android:layout_width="wrap_content" | |
65 | - android:layout_height="wrap_content" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="@dimen/content_margin" | |
69 | - android:background="@drawable/signin_selector" | |
70 | - android:text="@string/confirm_submit" | |
71 | - android:textColor="@color/white" | |
72 | - android:textSize="@dimen/big_text_p4" | |
73 | - android:textStyle="bold" /> | |
74 | - | |
75 | - <Button | |
76 | - android:id="@+id/multi_content_btn_modify" | |
77 | - android:layout_width="wrap_content" | |
78 | - android:layout_height="wrap_content" | |
79 | - android:layout_alignParentRight="true" | |
80 | - android:layout_centerVertical="true" | |
81 | - android:layout_marginRight="@dimen/content_margin" | |
82 | - android:background="@drawable/signin_selector" | |
83 | - android:text="@string/modify" | |
84 | - android:textColor="@color/white" | |
85 | - android:textSize="@dimen/big_text_p5" | |
86 | - android:textStyle="bold" | |
87 | - android:visibility="invisible" /> | |
88 | - </RelativeLayout> | |
89 | - | |
90 | - <ListView | |
91 | - android:id="@+id/multi_content_listview" | |
92 | - android:layout_width="fill_parent" | |
93 | - android:layout_height="fill_parent" | |
94 | - android:layout_above="@id/multi_content_pannal_bottom" | |
95 | - android:layout_below="@id/multi_content_title" | |
96 | - android:layout_marginBottom="1dp" | |
97 | - android:layout_marginLeft="@dimen/content_margin" | |
98 | - android:layout_marginRight="@dimen/content_margin" | |
99 | - android:layout_marginTop="@dimen/content_margin" | |
100 | - android:divider="@color/votebakground" | |
101 | - android:dividerHeight="2dp" | |
102 | - android:fastScrollEnabled="false"></ListView> | |
103 | - | |
104 | - <RelativeLayout | |
105 | - android:id="@+id/multi_content_confirm_panel" | |
106 | - android:layout_width="match_parent" | |
107 | - android:layout_height="match_parent" | |
108 | - android:background="@color/black" | |
109 | - android:visibility="gone"> | |
110 | - | |
111 | - <TextView | |
112 | - android:id="@+id/multi_content_confirm_text" | |
113 | - android:layout_width="wrap_content" | |
114 | - android:layout_height="wrap_content" | |
115 | - android:layout_centerHorizontal="true" | |
116 | - android:layout_marginTop="@dimen/content_margin" | |
117 | - android:text="" | |
118 | - android:textColor="@color/white" | |
119 | - android:textSize="@dimen/big_text_p4" /> | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/multi_content_confirm_btn_cancel" | |
123 | - android:layout_width="@dimen/button_width" | |
124 | - android:layout_height="@dimen/button_heigh" | |
125 | - android:layout_alignParentLeft="true" | |
126 | - android:layout_below="@id/multi_content_confirm_text" | |
127 | - android:layout_marginLeft="@dimen/linear_heigh" | |
128 | - android:layout_marginTop="@dimen/content_margin" | |
129 | - android:background="@drawable/btn_signin_d" | |
130 | - android:text="@string/cancel" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="@dimen/big_text_p5" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/multi_content_confirm_btn_ok" | |
137 | - android:layout_width="@dimen/button_width" | |
138 | - android:layout_height="@dimen/button_heigh" | |
139 | - android:layout_alignParentRight="true" | |
140 | - android:layout_below="@id/multi_content_confirm_text" | |
141 | - android:layout_marginRight="@dimen/linear_heigh" | |
142 | - android:layout_marginTop="@dimen/content_margin" | |
143 | - android:background="@drawable/btn_agree" | |
144 | - android:text="@string/ok" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p5" | |
147 | - android:textStyle="bold" /> | |
148 | - </RelativeLayout> | |
149 | - | |
150 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_multi_content_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <!--标题--> | |
8 | - <LinearLayout | |
9 | - android:id="@+id/title_linear" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:layout_marginLeft="@dimen/content_margin" | |
14 | - android:layout_marginRight="@dimen/content_margin" | |
15 | - android:orientation="horizontal"> | |
16 | - | |
17 | - <ImageButton | |
18 | - android:id="@+id/content_detail_btnback" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:background="@drawable/back_selector" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/content_detail_title" | |
25 | - android:layout_width="0dp" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_marginLeft="10dp" | |
28 | - android:ellipsize="end" | |
29 | - android:gravity="left" | |
30 | - android:lines="1" | |
31 | - android:text="title" | |
32 | - android:textSize="@dimen/big_text_p3" | |
33 | - android:textColor="@color/black" | |
34 | - android:textStyle="bold" | |
35 | - android:layout_weight="1"/> | |
36 | - | |
37 | - <Button | |
38 | - android:id="@+id/btn_look_pdf" | |
39 | - android:layout_width="@dimen/button_width" | |
40 | - android:layout_height="@dimen/button_heigh" | |
41 | - android:background="@drawable/signin_selector" | |
42 | - android:text="查看批注" | |
43 | - android:textColor="@color/white" | |
44 | - android:textSize="@dimen/big_text_p4" | |
45 | - android:textStyle="bold" /> | |
46 | - | |
47 | - </LinearLayout> | |
48 | - <!--投票选项--> | |
49 | - <RelativeLayout | |
50 | - android:id="@+id/content_detail_pannal_vote" | |
51 | - android:layout_width="match_parent" | |
52 | - android:layout_height="@dimen/linear_heigh" | |
53 | - android:layout_alignParentBottom="true" | |
54 | - android:alpha="0.9" | |
55 | - android:background="@drawable/black_alpha" > | |
56 | - | |
57 | - <Button | |
58 | - android:id="@+id/content_detail_btnB" | |
59 | - android:layout_width="@dimen/button_width" | |
60 | - android:layout_height="@dimen/button_heigh" | |
61 | - android:layout_centerHorizontal="true" | |
62 | - android:layout_centerVertical="true" | |
63 | - android:background="@drawable/oppos_selector" | |
64 | - android:gravity="center" | |
65 | - android:text="@string/oppose" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:textStyle="bold" /> | |
69 | - | |
70 | - <Button | |
71 | - android:id="@+id/content_detail_btnA" | |
72 | - android:layout_width="@dimen/button_width" | |
73 | - android:layout_height="@dimen/button_heigh" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginRight="@dimen/content_margin" | |
76 | - android:layout_toLeftOf="@id/content_detail_btnB" | |
77 | - android:background="@drawable/agree_selector" | |
78 | - android:text="@string/abstant" | |
79 | - android:textColor="@color/white" | |
80 | - android:textSize="@dimen/big_text_p4" | |
81 | - android:textStyle="bold" /> | |
82 | - | |
83 | - <Button | |
84 | - android:id="@+id/content_detail_btnC" | |
85 | - android:layout_width="@dimen/button_width" | |
86 | - android:layout_height="@dimen/button_heigh" | |
87 | - android:layout_centerVertical="true" | |
88 | - android:layout_marginLeft="@dimen/content_margin" | |
89 | - android:layout_toRightOf="@id/content_detail_btnB" | |
90 | - android:background="@drawable/abstain_selector" | |
91 | - android:text="赞成" | |
92 | - android:textColor="@color/white" | |
93 | - android:textSize="@dimen/big_text_p4" | |
94 | - android:textStyle="bold" /> | |
95 | - </RelativeLayout> | |
96 | - <!--投票状态--> | |
97 | - <RelativeLayout | |
98 | - android:id="@+id/content_detail_pannal_tips" | |
99 | - android:layout_width="match_parent" | |
100 | - android:layout_height="@dimen/linear_heigh" | |
101 | - android:layout_alignParentBottom="true" | |
102 | - android:alpha="0.9" | |
103 | - android:background="@drawable/black_alpha" | |
104 | - android:visibility="invisible"> | |
105 | - | |
106 | - <TextView | |
107 | - android:id="@+id/content_detail_tv_tips" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_centerHorizontal="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:text="@string/submiting" | |
113 | - android:textColor="@color/white" | |
114 | - android:textSize="@dimen/big_text_p4" | |
115 | - android:textStyle="bold" | |
116 | - /> | |
117 | - </RelativeLayout> | |
118 | - <!--修改选项--> | |
119 | - <RelativeLayout | |
120 | - android:id="@+id/content_detail_pannal_modify" | |
121 | - android:layout_width="match_parent" | |
122 | - android:layout_height="@dimen/linear_heigh" | |
123 | - android:layout_alignParentBottom="true" | |
124 | - android:background="@color/black" | |
125 | - android:visibility="invisible"> | |
126 | - | |
127 | - <Button | |
128 | - android:id="@+id/content_detail_btn_modify" | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:layout_centerHorizontal="true" | |
132 | - android:layout_centerVertical="true" | |
133 | - android:background="@drawable/signin_selector" | |
134 | - android:text="@string/modify" | |
135 | - android:textColor="@color/white" | |
136 | - android:textSize="@dimen/big_text_p4" | |
137 | - android:textStyle="bold" /> | |
138 | - </RelativeLayout> | |
139 | - <!--自定义测评--> | |
140 | - <RelativeLayout | |
141 | - android:id="@+id/content_detail_pannal_vote1" | |
142 | - android:layout_width="match_parent" | |
143 | - android:layout_height="@dimen/linear_heigh" | |
144 | - android:layout_alignParentBottom="true" | |
145 | - android:gravity="center_horizontal" | |
146 | - android:background="@drawable/black_alpha" | |
147 | - android:visibility="gone"> | |
148 | - | |
149 | - </RelativeLayout> | |
150 | - <!--正文内容PDF--> | |
151 | - <RelativeLayout | |
152 | - android:id="@+id/content_detail_scview" | |
153 | - android:layout_width="fill_parent" | |
154 | - android:layout_height="fill_parent" | |
155 | - android:layout_above="@id/content_detail_pannal_vote" | |
156 | - android:layout_below="@+id/title_linear" | |
157 | - android:layout_marginBottom="@dimen/content_margin" | |
158 | - android:layout_marginLeft="@dimen/content_margin" | |
159 | - android:layout_marginRight="@dimen/content_margin" | |
160 | - android:layout_marginTop="@dimen/content_margin" | |
161 | - android:background="@color/white" | |
162 | - android:fillViewport="false" > | |
163 | - <com.github.barteksc.pdfviewer.PDFView | |
164 | - android:id="@+id/content_detail_pdfview" | |
165 | - android:layout_width="match_parent" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_marginLeft="86dp" | |
168 | - android:layout_marginRight="86dp" | |
169 | - android:background="@color/white" | |
170 | - /> | |
171 | - </RelativeLayout> | |
172 | - <!--投票结果,居中显示--> | |
173 | - <TextView | |
174 | - android:id="@+id/content_detail_tv_result" | |
175 | - android:layout_width="wrap_content" | |
176 | - android:layout_height="wrap_content" | |
177 | - android:layout_alignTop="@id/content_detail_scview" | |
178 | - android:layout_centerInParent="true" | |
179 | - android:layout_marginTop="@dimen/content_margin" | |
180 | - android:alpha="0.9" | |
181 | - android:rotation="-20" | |
182 | - android:gravity="center" | |
183 | - android:textColor="#ddff9933" | |
184 | - android:textSize="@dimen/big_text_p2" | |
185 | - android:textStyle="bold" | |
186 | - android:visibility="visible" /> | |
187 | - <!--提交确认--> | |
188 | - <RelativeLayout | |
189 | - android:id="@+id/content_detail_confirm_panel" | |
190 | - android:layout_width="fill_parent" | |
191 | - android:layout_height="fill_parent" | |
192 | - android:background="#ff000000" | |
193 | - android:visibility="gone"> | |
194 | - | |
195 | - <TextView | |
196 | - android:id="@+id/content_detail_confirm_textview" | |
197 | - android:layout_width="wrap_content" | |
198 | - android:layout_height="wrap_content" | |
199 | - android:layout_centerHorizontal="true" | |
200 | - android:layout_marginTop="@dimen/button_to_content" | |
201 | - android:text="@string/cant_modify_confirm" | |
202 | - android:textColor="@color/white" | |
203 | - android:layout_marginLeft="@dimen/content_margin" | |
204 | - android:layout_marginRight="@dimen/content_margin" | |
205 | - android:gravity="center" | |
206 | - android:textSize="@dimen/big_text_p4" /> | |
207 | - | |
208 | - <Button | |
209 | - android:id="@+id/content_detail_btn_confirm_cancel" | |
210 | - android:layout_width="@dimen/button_width" | |
211 | - android:layout_height="@dimen/button_heigh" | |
212 | - android:layout_alignParentLeft="true" | |
213 | - android:layout_below="@id/content_detail_confirm_textview" | |
214 | - android:layout_marginLeft="@dimen/button_to_left" | |
215 | - android:layout_marginTop="@dimen/button_to_content" | |
216 | - android:background="@drawable/btn_signin_d" | |
217 | - android:text="@string/cancel" | |
218 | - android:textColor="@color/white" | |
219 | - android:textSize="@dimen/big_text_p5" | |
220 | - android:textStyle="bold" /> | |
221 | - | |
222 | - <Button | |
223 | - android:id="@+id/content_detail_btn_confirm_ok" | |
224 | - android:layout_width="@dimen/button_width" | |
225 | - android:layout_height="@dimen/button_heigh" | |
226 | - android:layout_alignParentRight="true" | |
227 | - android:layout_below="@id/content_detail_confirm_textview" | |
228 | - android:layout_marginRight="@dimen/button_to_right" | |
229 | - android:layout_marginTop="@dimen/button_to_content" | |
230 | - android:background="@drawable/btn_agree" | |
231 | - android:text="@string/ok" | |
232 | - android:textColor="@color/white" | |
233 | - android:textSize="@dimen/big_text_p5" | |
234 | - android:textStyle="bold" /> | |
235 | - </RelativeLayout> | |
236 | - | |
237 | -</RelativeLayout> | |
238 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_multi_pingsheng.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_pingsheng_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="32px" | |
12 | - android:layout_marginTop="48px" | |
13 | - android:text="@string/demo_metting" | |
14 | - android:textSize="@dimen/big_text_p5" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/multi_pingsheng_btn_abstain_all" | |
18 | - android:layout_width="@dimen/button_width" | |
19 | - android:layout_height="@dimen/button_heigh" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:background="@drawable/signin_selector" | |
24 | - android:gravity="center" | |
25 | - android:text="@string/all_abstant" | |
26 | - android:textColor="@color/white" | |
27 | - android:textSize="@dimen/big_text_p5" | |
28 | - android:textStyle="bold" | |
29 | - android:visibility="invisible" /> | |
30 | - | |
31 | - <TextView | |
32 | - android:id="@+id/multi_pingsheng_btn_oppose_all" | |
33 | - android:layout_width="@dimen/button_width" | |
34 | - android:layout_height="@dimen/button_heigh" | |
35 | - android:layout_marginRight="@dimen/content_margin" | |
36 | - android:layout_marginTop="@dimen/content_margin" | |
37 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_abstain_all" | |
38 | - android:background="@drawable/oppos_selector" | |
39 | - android:gravity="center" | |
40 | - android:text="@string/all_oppose" | |
41 | - android:textColor="@color/white" | |
42 | - android:textSize="30px" | |
43 | - android:textStyle="bold" | |
44 | - android:visibility="invisible" /> | |
45 | - | |
46 | - <TextView | |
47 | - android:id="@+id/multi_pingsheng_btn_agree_all" | |
48 | - android:layout_width="122px" | |
49 | - android:layout_height="72px" | |
50 | - android:layout_marginRight="28px" | |
51 | - android:layout_marginTop="32px" | |
52 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_oppose_all" | |
53 | - android:background="@drawable/agree_selector" | |
54 | - android:gravity="center" | |
55 | - android:text="@string/all_agree" | |
56 | - android:textColor="@color/white" | |
57 | - android:textSize="30px" | |
58 | - android:textStyle="bold" | |
59 | - android:visibility="invisible" /> | |
60 | - | |
61 | - <RelativeLayout | |
62 | - android:id="@+id/multi_pingsheng_pannal_bottom" | |
63 | - android:layout_width="match_parent" | |
64 | - android:layout_height="120px" | |
65 | - android:layout_alignParentBottom="true" | |
66 | - android:alpha="0.9" | |
67 | - android:background="@drawable/gray_alpha" | |
68 | - android:visibility="visible"> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/multi_pingsheng_info" | |
72 | - android:layout_width="wrap_content" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginLeft="36px" | |
76 | - android:text="@string/should_vote" | |
77 | - android:textSize="30px" /> | |
78 | - | |
79 | - <TextView | |
80 | - android:id="@+id/multi_pingsheng_page" | |
81 | - android:layout_width="wrap_content" | |
82 | - android:layout_height="wrap_content" | |
83 | - android:layout_centerInParent="true" | |
84 | - android:text="1/1" | |
85 | - android:textSize="30px" | |
86 | - android:visibility="invisible" /> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/multi_pingsheng_pageup" | |
90 | - android:layout_width="wrap_content" | |
91 | - android:layout_height="wrap_content" | |
92 | - android:layout_centerVertical="true" | |
93 | - android:layout_toLeftOf="@id/multi_pingsheng_page" | |
94 | - android:background="@drawable/page_selector" | |
95 | - android:text="@string/page_up" /> | |
96 | - | |
97 | - <Button | |
98 | - android:id="@+id/multi_pingsheng_pagedown" | |
99 | - android:layout_width="wrap_content" | |
100 | - android:layout_height="wrap_content" | |
101 | - android:layout_centerVertical="true" | |
102 | - android:layout_toRightOf="@id/multi_pingsheng_page" | |
103 | - android:background="@drawable/page_selector" | |
104 | - android:text="@string/page_down" /> | |
105 | - | |
106 | - <Button | |
107 | - android:id="@+id/multi_pingsheng_btn_submit" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_alignParentRight="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_marginRight="36px" | |
113 | - android:background="@drawable/signin_selector" | |
114 | - android:text="@string/confirm_submit" | |
115 | - android:textColor="@color/white" | |
116 | - android:textSize="36px" | |
117 | - android:textStyle="bold" /> | |
118 | - | |
119 | - <Button | |
120 | - android:id="@+id/multi_pingsheng_btn_modify" | |
121 | - android:layout_width="wrap_content" | |
122 | - android:layout_height="wrap_content" | |
123 | - android:layout_alignParentRight="true" | |
124 | - android:layout_centerVertical="true" | |
125 | - android:layout_marginRight="36px" | |
126 | - android:background="@drawable/signin_selector" | |
127 | - android:text="@string/modify" | |
128 | - android:textColor="@color/white" | |
129 | - android:textSize="36px" | |
130 | - android:textStyle="bold" | |
131 | - android:visibility="invisible" /> | |
132 | - </RelativeLayout> | |
133 | - | |
134 | - <ListView | |
135 | - android:id="@+id/multi_pingsheng_listview" | |
136 | - android:layout_width="fill_parent" | |
137 | - android:layout_height="fill_parent" | |
138 | - android:layout_above="@id/multi_pingsheng_pannal_bottom" | |
139 | - android:layout_below="@id/multi_pingsheng_title" | |
140 | - android:layout_marginBottom="2px" | |
141 | - android:layout_marginLeft="36px" | |
142 | - android:layout_marginRight="36px" | |
143 | - android:layout_marginTop="28px" | |
144 | - android:divider="@color/votebakground" | |
145 | - android:dividerHeight="8px" | |
146 | - android:fadeScrollbars="false" | |
147 | - android:scrollbarAlwaysDrawVerticalTrack="true" | |
148 | - android:scrollbars="vertical"></ListView> | |
149 | - | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/multi_pingsheng_confirm_panel" | |
152 | - android:layout_width="match_parent" | |
153 | - android:layout_height="match_parent" | |
154 | - android:background="@color/black" | |
155 | - android:visibility="gone"> | |
156 | - | |
157 | - <TextView | |
158 | - android:id="@+id/multi_pingsheng_confirm_text" | |
159 | - android:layout_width="wrap_content" | |
160 | - android:layout_height="wrap_content" | |
161 | - android:layout_centerHorizontal="true" | |
162 | - android:layout_marginTop="110px" | |
163 | - android:text="" | |
164 | - android:textColor="@color/white" | |
165 | - android:textSize="36px" | |
166 | - | |
167 | - /> | |
168 | - | |
169 | - | |
170 | - <Button | |
171 | - android:id="@+id/multi_pingsheng_confirm_btn_cancel" | |
172 | - android:layout_width="311px" | |
173 | - android:layout_height="96px" | |
174 | - android:layout_alignParentLeft="true" | |
175 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
176 | - android:layout_marginLeft="296px" | |
177 | - android:layout_marginTop="102px" | |
178 | - android:background="@drawable/btn_signin_d" | |
179 | - android:text="@string/cancel" | |
180 | - android:textColor="@color/white" | |
181 | - android:textSize="36px" | |
182 | - android:textStyle="bold" /> | |
183 | - | |
184 | - <Button | |
185 | - android:id="@+id/multi_pingsheng_confirm_btn_ok" | |
186 | - android:layout_width="311px" | |
187 | - android:layout_height="96px" | |
188 | - android:layout_alignParentRight="true" | |
189 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
190 | - android:layout_marginRight="296px" | |
191 | - android:layout_marginTop="102px" | |
192 | - android:background="@drawable/btn_agree" | |
193 | - android:text="@string/ok" | |
194 | - android:textColor="@color/white" | |
195 | - android:textSize="36px" | |
196 | - android:textStyle="bold" /> | |
197 | - | |
198 | - | |
199 | - </RelativeLayout> | |
200 | - | |
201 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_multi_title.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <!--标题栏及全选按钮--> | |
8 | - <LinearLayout | |
9 | - android:id="@+id/line_panel" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:orientation="horizontal" | |
13 | - android:layout_marginTop="30dp" | |
14 | - android:layout_marginLeft="20dp" | |
15 | - android:layout_marginRight="40dp"> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/multivote_title" | |
19 | - android:layout_width="0dp" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_gravity="center_vertical" | |
22 | - android:text="@string/sunvote_no_paper" | |
23 | - android:textSize="@dimen/big_text_p4" | |
24 | - android:layout_weight="1"/> | |
25 | - <TextView | |
26 | - android:id="@+id/multi_title_btn_agree_all" | |
27 | - android:layout_width="100dp" | |
28 | - android:layout_height="50dp" | |
29 | - android:layout_marginLeft="30dp" | |
30 | - android:background="@drawable/agree_selector" | |
31 | - android:gravity="center" | |
32 | - android:text="@string/all_agree" | |
33 | - android:textColor="@color/white" | |
34 | - android:textSize="@dimen/big_text_p5" | |
35 | - android:textStyle="bold"/> | |
36 | - | |
37 | - <TextView | |
38 | - android:id="@+id/multi_title_btn_oppose_all" | |
39 | - android:layout_width="100dp" | |
40 | - android:layout_height="50dp" | |
41 | - android:layout_marginLeft="10dp" | |
42 | - android:background="@drawable/oppos_selector" | |
43 | - android:gravity="center" | |
44 | - android:text="@string/all_oppose" | |
45 | - android:textColor="@color/white" | |
46 | - android:textSize="@dimen/big_text_p5" | |
47 | - android:textStyle="bold"/> | |
48 | - | |
49 | - <TextView | |
50 | - android:id="@+id/multi_title_btn_abstain_all" | |
51 | - android:layout_width="100dp" | |
52 | - android:layout_height="50dp" | |
53 | - android:layout_marginLeft="10dp" | |
54 | - android:background="@drawable/signin_selector" | |
55 | - android:gravity="center" | |
56 | - android:text="@string/all_abstant" | |
57 | - android:textColor="@color/white" | |
58 | - android:textSize="@dimen/big_text_p5" | |
59 | - android:textStyle="bold" /> | |
60 | - </LinearLayout> | |
61 | - <!--提交按钮栏--> | |
62 | - <RelativeLayout | |
63 | - android:id="@+id/multivote_pannal_bottom" | |
64 | - android:layout_width="match_parent" | |
65 | - android:layout_height="80dp" | |
66 | - android:layout_alignParentBottom="true" | |
67 | - android:alpha="0.9" | |
68 | - android:background="@drawable/gray_alpha" | |
69 | - android:visibility="visible" > | |
70 | - | |
71 | - <TextView | |
72 | - android:id="@+id/multivote_info" | |
73 | - android:layout_width="wrap_content" | |
74 | - android:layout_height="wrap_content" | |
75 | - android:layout_centerVertical="true" | |
76 | - android:layout_marginLeft="20dp" | |
77 | - android:text="@string/should_vote" | |
78 | - android:textSize="@dimen/big_text_p4" /> | |
79 | - | |
80 | - <View | |
81 | - android:id="@+id/multivote_page" | |
82 | - android:layout_width="40dp" | |
83 | - android:layout_height="20dp" | |
84 | - android:visibility="invisible" | |
85 | - android:layout_centerInParent="true" | |
86 | - /> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/multivote_pageup" | |
90 | - android:layout_width="wrap_content" | |
91 | - android:layout_height="wrap_content" | |
92 | - android:layout_centerVertical="true" | |
93 | - android:layout_toLeftOf="@id/multivote_page" | |
94 | - android:background="@drawable/page_selector" | |
95 | - android:textSize="@dimen/big_text_p5" | |
96 | - android:text="@string/page_up" /> | |
97 | - | |
98 | - <Button | |
99 | - android:id="@+id/multivote_pagedown" | |
100 | - android:layout_width="wrap_content" | |
101 | - android:layout_height="wrap_content" | |
102 | - android:layout_centerVertical="true" | |
103 | - android:layout_toRightOf="@id/multivote_page" | |
104 | - android:background="@drawable/page_selector" | |
105 | - android:textSize="@dimen/big_text_p5" | |
106 | - android:text="@string/page_down" /> | |
107 | - | |
108 | - <Button | |
109 | - android:id="@+id/multivote_btn_submit" | |
110 | - android:layout_width="wrap_content" | |
111 | - android:layout_height="wrap_content" | |
112 | - android:layout_centerVertical="true" | |
113 | - android:layout_marginRight="20dp" | |
114 | - android:layout_alignParentRight="true" | |
115 | - android:background="@drawable/signin_selector" | |
116 | - android:text="@string/confirm_submit" | |
117 | - android:textColor="@color/white" | |
118 | - android:textSize="@dimen/big_text_p4" | |
119 | - android:textStyle="bold" /> | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/multivote_btn_modify" | |
123 | - android:layout_width="wrap_content" | |
124 | - android:layout_height="wrap_content" | |
125 | - android:layout_centerVertical="true" | |
126 | - android:layout_marginRight="20dp" | |
127 | - android:layout_alignParentRight="true" | |
128 | - android:background="@drawable/signin_selector" | |
129 | - android:text="@string/modify" | |
130 | - android:textColor="@color/white" | |
131 | - android:textSize="@dimen/big_text_p4" | |
132 | - android:textStyle="bold" | |
133 | - android:visibility="invisible"/> | |
134 | - </RelativeLayout> | |
135 | - <!--内容--> | |
136 | - <ListView | |
137 | - android:id="@+id/multivote_listview" | |
138 | - android:layout_width="fill_parent" | |
139 | - android:layout_height="fill_parent" | |
140 | - android:layout_above="@id/multivote_pannal_bottom" | |
141 | - android:layout_below="@id/line_panel" | |
142 | - android:layout_marginBottom="@dimen/content_margin" | |
143 | - android:layout_marginLeft="@dimen/content_margin" | |
144 | - android:layout_marginRight="@dimen/content_margin" | |
145 | - android:layout_marginTop="@dimen/content_margin" | |
146 | - android:divider="@color/votebakground" | |
147 | - android:dividerHeight="8dp" | |
148 | - android:fastScrollEnabled="false"></ListView> | |
149 | - | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/multivote_confirm_panel" | |
152 | - android:layout_width="match_parent" | |
153 | - android:layout_height="match_parent" | |
154 | - android:background="@color/black" | |
155 | - android:visibility="gone"> | |
156 | - | |
157 | - <TextView | |
158 | - android:id="@+id/multivote_confirm_text" | |
159 | - android:layout_width="wrap_content" | |
160 | - android:layout_height="wrap_content" | |
161 | - android:layout_centerHorizontal="true" | |
162 | - android:layout_marginLeft="@dimen/content_margin" | |
163 | - android:layout_marginRight="@dimen/content_margin" | |
164 | - android:layout_marginTop="@dimen/button_to_content" | |
165 | - android:textColor="@color/white" | |
166 | - android:textSize="@dimen/big_text_p4" /> | |
167 | - | |
168 | - <Button | |
169 | - android:id="@+id/multivote_confirm_btn_cancel" | |
170 | - android:layout_width="@dimen/button_width" | |
171 | - android:layout_height="@dimen/button_heigh" | |
172 | - android:layout_alignParentLeft="true" | |
173 | - android:layout_below="@id/multivote_confirm_text" | |
174 | - android:layout_marginLeft="@dimen/button_to_left" | |
175 | - android:layout_marginTop="@dimen/button_to_content" | |
176 | - android:background="@drawable/btn_signin_d" | |
177 | - android:text="@string/cancel" | |
178 | - android:textColor="@color/white" | |
179 | - android:textSize="@dimen/big_text_p5" | |
180 | - android:textStyle="bold" /> | |
181 | - | |
182 | - <Button | |
183 | - android:id="@+id/multivote_confirm_btn_ok" | |
184 | - android:layout_width="@dimen/button_width" | |
185 | - android:layout_height="@dimen/button_heigh" | |
186 | - android:layout_alignParentRight="true" | |
187 | - android:layout_below="@id/multivote_confirm_text" | |
188 | - android:layout_marginRight="@dimen/button_to_right" | |
189 | - android:layout_marginTop="@dimen/button_to_content" | |
190 | - android:background="@drawable/btn_agree" | |
191 | - android:text="@string/ok" | |
192 | - android:textColor="@color/white" | |
193 | - android:textSize="@dimen/big_text_p5" | |
194 | - android:textStyle="bold" /> | |
195 | - | |
196 | - </RelativeLayout> | |
197 | - | |
198 | -</RelativeLayout> | |
199 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_multi_title_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/mutli_title_detail_btnback" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="20dp" | |
13 | - android:layout_marginTop="20dp" | |
14 | - android:background="@drawable/back_selector" /> | |
15 | - | |
16 | - | |
17 | - <ScrollView | |
18 | - android:id="@+id/mutli_title_detail_scview" | |
19 | - android:layout_width="fill_parent" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/mutli_title_detail_btnback" | |
22 | - android:layout_marginLeft="20dp" | |
23 | - android:layout_marginRight="20dp" | |
24 | - android:layout_marginTop="20dp" | |
25 | - android:fillViewport="false" | |
26 | - android:scrollbars="none"> | |
27 | - | |
28 | - <TextView | |
29 | - android:id="@+id/mutli_title_detail_content" | |
30 | - android:layout_width="match_parent" | |
31 | - android:layout_height="wrap_content" | |
32 | - android:layout_centerInParent="true" | |
33 | - android:background="@color/white" | |
34 | - android:gravity="center" | |
35 | - android:text="@string/please_vote" | |
36 | - android:textColor="@color/black" | |
37 | - android:textSize="@dimen/big_text_p3"/> | |
38 | - </ScrollView> | |
39 | - | |
40 | - <TextView | |
41 | - android:id="@+id/mutli_title_detail_tv_tips" | |
42 | - android:layout_width="wrap_content" | |
43 | - android:layout_height="wrap_content" | |
44 | - android:layout_alignParentBottom="true" | |
45 | - android:layout_centerHorizontal="true" | |
46 | - android:layout_marginBottom="30dp" | |
47 | - android:text="@string/please_press_key" | |
48 | - android:textColor="#878787" | |
49 | - android:textSize="@dimen/big_text_p5" /> | |
50 | - | |
51 | - <Button | |
52 | - android:id="@+id/mutli_title_detail_btnB" | |
53 | - android:layout_width="200dp" | |
54 | - android:layout_height="60dp" | |
55 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
56 | - android:layout_centerHorizontal="true" | |
57 | - android:layout_marginBottom="20dp" | |
58 | - android:background="@drawable/oppos_selector" | |
59 | - android:text="@string/oppose" | |
60 | - android:textColor="@color/white" | |
61 | - android:textSize="@dimen/big_text_p4" | |
62 | - android:textStyle="bold" /> | |
63 | - | |
64 | - <Button | |
65 | - android:id="@+id/mutli_title_detail_btnA" | |
66 | - android:layout_width="200dp" | |
67 | - android:layout_height="60dp" | |
68 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
69 | - android:layout_marginBottom="20dp" | |
70 | - android:layout_marginRight="20dp" | |
71 | - android:layout_toLeftOf="@id/mutli_title_detail_btnB" | |
72 | - android:background="@drawable/agree_selector" | |
73 | - android:text="@string/agree" | |
74 | - android:textColor="@color/white" | |
75 | - android:textSize="@dimen/big_text_p4" | |
76 | - android:textStyle="bold" /> | |
77 | - | |
78 | - <Button | |
79 | - android:id="@+id/mutli_title_detail_btnC" | |
80 | - android:layout_width="200dp" | |
81 | - android:layout_height="60dp" | |
82 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
83 | - android:layout_marginBottom="20dp" | |
84 | - android:layout_marginLeft="20dp" | |
85 | - android:layout_toRightOf="@id/mutli_title_detail_btnB" | |
86 | - android:background="@drawable/abstain_selector" | |
87 | - android:text="@string/abstant" | |
88 | - android:textColor="@color/white" | |
89 | - android:textSize="@dimen/big_text_p4" | |
90 | - android:textStyle="bold" /> | |
91 | - | |
92 | - | |
93 | - <TextView | |
94 | - android:id="@+id/mutli_title_detail_tv_result" | |
95 | - android:layout_width="wrap_content" | |
96 | - android:layout_height="wrap_content" | |
97 | - android:layout_alignRight="@id/mutli_title_detail_scview" | |
98 | - android:layout_alignTop="@id/mutli_title_detail_scview" | |
99 | - android:layout_marginRight="40dp" | |
100 | - android:alpha="0.9" | |
101 | - android:background="@drawable/voted_empty" | |
102 | - android:gravity="center" | |
103 | - android:rotation="-20" | |
104 | - android:text="" | |
105 | - android:textColor="#ddff9933" | |
106 | - android:textSize="@dimen/big_text_p3" | |
107 | - android:textStyle="bold" | |
108 | - android:visibility="visible" /> | |
109 | - | |
110 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_no_file.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/bluebackground" | |
6 | - android:orientation="vertical"> | |
7 | - | |
8 | - | |
9 | - <RelativeLayout | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerInParent="true"> | |
13 | - | |
14 | - <TextView | |
15 | - android:id="@+id/fragment_no_file_title" | |
16 | - android:layout_width="wrap_content" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_centerHorizontal="true" | |
19 | - android:textColor="#ff1111" | |
20 | - android:textStyle="bold" | |
21 | - android:textSize="@dimen/big_text_p1" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/fragment_no_file_title_2" | |
25 | - android:layout_width="wrap_content" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_below="@id/fragment_no_file_title" | |
28 | - android:layout_centerHorizontal="true" | |
29 | - android:layout_marginTop="30dp" | |
30 | - android:textColor="#ff1111" | |
31 | - android:textStyle="bold" | |
32 | - android:textSize="@dimen/big_text_p1" /> | |
33 | - </RelativeLayout> | |
34 | - | |
35 | - <View | |
36 | - android:id="@+id/fragment_online_btn_admin" | |
37 | - android:layout_width="200dp" | |
38 | - android:layout_height="200dp" | |
39 | - android:layout_alignParentRight="true" | |
40 | - android:layout_alignParentBottom="true" | |
41 | - /> | |
42 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_offline.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/offline_bg" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - | |
8 | - <TextView | |
9 | - android:id="@+id/offline_title" | |
10 | - android:text="@string/welcome" | |
11 | - android:layout_width="wrap_content" | |
12 | - android:layout_height="wrap_content" | |
13 | - android:layout_centerHorizontal="true" | |
14 | - android:textSize="@dimen/big_text_p2" | |
15 | - android:textStyle="bold" | |
16 | - android:layout_marginTop="80dp"/> | |
17 | - | |
18 | - <TextView | |
19 | - android:id="@+id/offline_tips" | |
20 | - android:text="@string/connect_meeting" | |
21 | - android:textSize="@dimen/big_text_p3" | |
22 | - android:layout_width="wrap_content" | |
23 | - android:layout_height="wrap_content" | |
24 | - android:layout_centerInParent="true" | |
25 | - android:textStyle="bold" | |
26 | - /> | |
27 | - | |
28 | - <View | |
29 | - android:id="@+id/offline_btn_admin" | |
30 | - android:layout_width="200dp" | |
31 | - android:layout_height="200dp" | |
32 | - android:layout_alignParentRight="true" | |
33 | - android:layout_alignParentBottom="true" | |
34 | - /> | |
35 | - | |
36 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_online.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/bluebackground" | |
6 | - android:orientation="vertical" > | |
7 | - | |
8 | - <TextView | |
9 | - android:text="@string/welcome_use" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:textColor="@color/white" | |
14 | - android:textSize="@dimen/big_text_p1" | |
15 | - android:layout_marginTop="120dp" | |
16 | - android:textStyle="bold" | |
17 | - /> | |
18 | - | |
19 | - <TextView | |
20 | - android:id="@+id/fragment_online_title" | |
21 | - android:text="@string/sunvote_no_paper" | |
22 | - android:textSize="@dimen/big_text_p1" | |
23 | - android:layout_width="wrap_content" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerInParent="true" | |
26 | - android:textColor="@color/white" | |
27 | - android:textStyle="bold"/> | |
28 | - | |
29 | - <View | |
30 | - android:id="@+id/fragment_online_btn_admin" | |
31 | - android:layout_width="200dp" | |
32 | - android:layout_height="200dp" | |
33 | - android:layout_alignParentRight="true" | |
34 | - android:layout_alignParentBottom="true" | |
35 | - /> | |
36 | - | |
37 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_result_election.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:orientation="vertical" | |
7 | - android:paddingRight="50dp"> | |
8 | - | |
9 | - <RelativeLayout | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="40px" | |
13 | - > | |
14 | - | |
15 | - <ImageButton | |
16 | - android:id="@+id/fragment_result_election_btn_back" | |
17 | - android:layout_width="wrap_content" | |
18 | - android:layout_height="wrap_content" | |
19 | - android:layout_marginLeft="36px" | |
20 | - android:visibility="invisible" | |
21 | - android:background="@drawable/back_white_selector" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/fragment_result_election_bill_title" | |
25 | - android:layout_width="fill_parent" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_centerHorizontal="true" | |
28 | - android:layout_marginLeft="20px" | |
29 | - android:layout_marginRight="20px" | |
30 | - android:gravity="center" | |
31 | - android:text="@string/vote_election" | |
32 | - android:textColor="@color/white" | |
33 | - android:lines="1" | |
34 | - android:ellipsize="end" | |
35 | - android:textSize="48px" | |
36 | - android:textStyle="bold" /> | |
37 | - </RelativeLayout> | |
38 | - | |
39 | - <TextView | |
40 | - android:id="@+id/fragment_result_election_title" | |
41 | - android:layout_width="fill_parent" | |
42 | - android:layout_height="wrap_content" | |
43 | - android:layout_centerHorizontal="true" | |
44 | - android:layout_marginLeft="20px" | |
45 | - android:layout_marginRight="20px" | |
46 | - android:layout_marginTop="20px" | |
47 | - android:gravity="center" | |
48 | - android:text="@string/vote_result" | |
49 | - android:textColor="@color/white" | |
50 | - android:textSize="48px" /> | |
51 | - | |
52 | - <LinearLayout | |
53 | - android:layout_width="match_parent" | |
54 | - android:layout_height="wrap_content" | |
55 | - android:layout_marginLeft="80px" | |
56 | - android:layout_marginRight="80px" | |
57 | - android:orientation="horizontal"> | |
58 | - | |
59 | - <TextView | |
60 | - android:id="@+id/fragment_result_election_num" | |
61 | - android:layout_width="match_parent" | |
62 | - android:layout_height="match_parent" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_weight="1" | |
65 | - android:paddingLeft="20px" | |
66 | - android:text="@string/name_index" | |
67 | - android:textColor="@color/white" | |
68 | - android:textSize="38px" | |
69 | - android:textStyle="bold" /> | |
70 | - | |
71 | - <TextView | |
72 | - android:id="@+id/fragment_result_election_name" | |
73 | - android:layout_width="match_parent" | |
74 | - android:layout_height="match_parent" | |
75 | - android:layout_centerVertical="true" | |
76 | - android:layout_weight="1" | |
77 | - android:text="@string/name_xpad" | |
78 | - android:textColor="@color/white" | |
79 | - android:textSize="38px" | |
80 | - android:textStyle="bold" /> | |
81 | - | |
82 | - <TextView | |
83 | - android:id="@+id/fragment_result_election_agree_num" | |
84 | - android:layout_width="match_parent" | |
85 | - android:layout_height="match_parent" | |
86 | - android:layout_alignParentRight="true" | |
87 | - android:layout_centerVertical="true" | |
88 | - android:layout_weight="1" | |
89 | - android:text="@string/agree_num" | |
90 | - android:textColor="@color/white" | |
91 | - android:textSize="38px" | |
92 | - android:textStyle="bold" /> | |
93 | - | |
94 | - <TextView | |
95 | - android:id="@+id/fragment_result_election_oppose_num" | |
96 | - android:layout_width="match_parent" | |
97 | - android:layout_height="match_parent" | |
98 | - android:layout_alignParentRight="true" | |
99 | - android:layout_centerVertical="true" | |
100 | - android:layout_weight="1" | |
101 | - android:text="@string/oppose_num" | |
102 | - android:textColor="@color/white" | |
103 | - android:textSize="38px" | |
104 | - android:textStyle="bold" /> | |
105 | - | |
106 | - <TextView | |
107 | - android:id="@+id/fragment_result_election_abstant_num" | |
108 | - android:layout_width="match_parent" | |
109 | - android:layout_height="match_parent" | |
110 | - android:layout_alignParentRight="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_weight="1" | |
113 | - android:text="@string/abstant_num" | |
114 | - android:textColor="@color/white" | |
115 | - android:textSize="38px" | |
116 | - android:textStyle="bold" /> | |
117 | - | |
118 | - <TextView | |
119 | - android:id="@+id/fragment_result_election_result" | |
120 | - android:layout_width="match_parent" | |
121 | - android:layout_height="match_parent" | |
122 | - android:layout_alignParentRight="true" | |
123 | - android:layout_centerVertical="true" | |
124 | - android:layout_marginLeft="20px" | |
125 | - android:layout_weight="1" | |
126 | - android:text="@string/result" | |
127 | - android:textColor="@color/white" | |
128 | - android:textSize="38px" | |
129 | - android:textStyle="bold" /> | |
130 | - </LinearLayout> | |
131 | - | |
132 | - <LinearLayout | |
133 | - android:layout_width="match_parent" | |
134 | - android:layout_height="match_parent" | |
135 | - android:orientation="vertical"> | |
136 | - | |
137 | - <ListView | |
138 | - android:id="@+id/fragment_result_election_list" | |
139 | - android:layout_width="match_parent" | |
140 | - android:layout_height="match_parent" | |
141 | - android:layout_marginBottom="28px" | |
142 | - android:layout_marginLeft="80px" | |
143 | - android:layout_marginRight="80px" | |
144 | - android:layout_marginTop="28px" | |
145 | - android:layout_weight="0.1" | |
146 | - android:divider="@color/votebakground" | |
147 | - android:dividerHeight="1px"/> | |
148 | - | |
149 | - <LinearLayout | |
150 | - android:layout_width="match_parent" | |
151 | - android:layout_height="match_parent" | |
152 | - android:layout_marginLeft="280px" | |
153 | - android:layout_marginRight="280px" | |
154 | - android:orientation="horizontal" | |
155 | - android:layout_weight="0.3"> | |
156 | - <TextView | |
157 | - android:id="@+id/tv_to_be" | |
158 | - android:layout_width="wrap_content" | |
159 | - android:layout_height="wrap_content" | |
160 | - android:gravity="left" | |
161 | - android:text="@string/yindao" | |
162 | - android:textColor="@color/white" | |
163 | - android:textSize="48px" /> | |
164 | - | |
165 | - <TextView | |
166 | - android:id="@+id/tv_to" | |
167 | - android:layout_width="fill_parent" | |
168 | - android:layout_height="wrap_content" | |
169 | - android:gravity="right" | |
170 | - android:text="@string/shidao" | |
171 | - android:textColor="@color/white" | |
172 | - android:textSize="48px" /> | |
173 | - </LinearLayout> | |
174 | - </LinearLayout> | |
175 | -</LinearLayout> | |
176 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_result_multi_vote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:paddingRight="50dp"> | |
7 | - | |
8 | - <LinearLayout | |
9 | - android:id="@+id/multi_vote_result_top_panal" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:layout_marginRight="@dimen/content_margin" | |
14 | - android:layout_marginLeft="@dimen/content_margin" | |
15 | - android:orientation="horizontal"> | |
16 | - | |
17 | - <ImageButton | |
18 | - android:id="@+id/multi_vote_result_btnback" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:background="@drawable/back_selector" | |
22 | - android:visibility="gone" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/multi_vote_result_tv_title" | |
26 | - android:layout_width="0dp" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_weight="1" | |
29 | - android:gravity="center" | |
30 | - android:maxLines="2" | |
31 | - android:textColor="@color/white" | |
32 | - android:textSize="@dimen/big_text_p3" | |
33 | - android:ellipsize="end" | |
34 | - android:textStyle="bold" /> | |
35 | - </LinearLayout> | |
36 | - | |
37 | - <LinearLayout | |
38 | - android:id="@+id/multi_vote_result_title_panel" | |
39 | - android:layout_width="fill_parent" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:layout_below="@id/multi_vote_result_top_panal" | |
42 | - android:layout_marginLeft="20dp" | |
43 | - android:layout_marginRight="20dp" | |
44 | - android:layout_marginTop="10dp" | |
45 | - android:orientation="horizontal"> | |
46 | - | |
47 | - <TextView | |
48 | - android:id="@+id/multi_vote_result_title_num" | |
49 | - android:layout_width="20dp" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_marginLeft="5dp" | |
52 | - android:gravity="center" | |
53 | - android:textColor="@color/white" | |
54 | - android:textSize="@dimen/big_text_p6" | |
55 | - android:textStyle="bold" /> | |
56 | - | |
57 | - <TextView | |
58 | - android:id="@+id/multi_vote_result_title_name" | |
59 | - android:layout_width="0dp" | |
60 | - android:layout_height="wrap_content" | |
61 | - android:layout_centerVertical="true" | |
62 | - android:layout_weight="1" | |
63 | - android:gravity="center" | |
64 | - android:textColor="@color/white" | |
65 | - android:textSize="@dimen/big_text_p6" | |
66 | - android:textStyle="bold" /> | |
67 | - | |
68 | - <TextView | |
69 | - android:id="@+id/multi_vote_result_title_agree" | |
70 | - android:layout_width="80dp" | |
71 | - android:layout_height="wrap_content" | |
72 | - android:layout_centerVertical="true" | |
73 | - android:layout_marginLeft="15dp" | |
74 | - android:gravity="center" | |
75 | - android:text="@string/agree" | |
76 | - android:textColor="@color/white" | |
77 | - android:textSize="@dimen/big_text_p4" | |
78 | - android:textStyle="bold" /> | |
79 | - | |
80 | - <TextView | |
81 | - android:id="@+id/multi_vote_result_title_oppose" | |
82 | - android:layout_width="80dp" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_marginLeft="15dp" | |
85 | - android:gravity="center" | |
86 | - android:text="@string/oppose" | |
87 | - android:textColor="@color/white" | |
88 | - android:textSize="@dimen/big_text_p4" | |
89 | - android:textStyle="bold" /> | |
90 | - | |
91 | - <TextView | |
92 | - android:id="@+id/multi_vote_result_title_abstan" | |
93 | - android:layout_width="80dp" | |
94 | - android:layout_height="wrap_content" | |
95 | - android:layout_marginLeft="15dp" | |
96 | - android:gravity="center" | |
97 | - android:text="@string/abstant" | |
98 | - android:textColor="@color/white" | |
99 | - android:textSize="@dimen/big_text_p4" | |
100 | - android:textStyle="bold" /> | |
101 | - | |
102 | - <TextView | |
103 | - android:id="@+id/multi_vote_result_title_unvote" | |
104 | - android:layout_width="80dp" | |
105 | - android:layout_height="wrap_content" | |
106 | - android:layout_marginLeft="15dp" | |
107 | - android:gravity="center" | |
108 | - android:text="@string/unvote" | |
109 | - android:textColor="@color/white" | |
110 | - android:textSize="@dimen/big_text_p4" | |
111 | - android:textStyle="bold" /> | |
112 | - | |
113 | - <TextView | |
114 | - android:id="@+id/multi_vote_result_title_result" | |
115 | - android:layout_width="80dp" | |
116 | - android:layout_height="wrap_content" | |
117 | - android:layout_centerVertical="true" | |
118 | - android:layout_marginLeft="15dp" | |
119 | - android:gravity="center" | |
120 | - android:text="@string/result" | |
121 | - android:textColor="@color/white" | |
122 | - android:textSize="@dimen/big_text_p4" | |
123 | - android:textStyle="bold" /> | |
124 | - </LinearLayout> | |
125 | - | |
126 | - <LinearLayout | |
127 | - android:id="@+id/bottom_linear" | |
128 | - android:layout_width="wrap_content" | |
129 | - android:layout_height="wrap_content" | |
130 | - android:layout_alignParentBottom="true" | |
131 | - android:layout_centerHorizontal="true" | |
132 | - android:layout_marginBottom="20dp" | |
133 | - android:orientation="horizontal"> | |
134 | - | |
135 | - <TextView | |
136 | - android:id="@+id/multi_vote_result_yindao" | |
137 | - android:layout_width="wrap_content" | |
138 | - android:layout_height="wrap_content" | |
139 | - android:layout_marginLeft="3dp" | |
140 | - android:layout_marginRight="150dp" | |
141 | - android:textColor="@color/white" | |
142 | - android:textSize="@dimen/big_text_p3" /> | |
143 | - | |
144 | - <TextView | |
145 | - android:id="@+id/multi_vote_result_shidao" | |
146 | - android:layout_width="wrap_content" | |
147 | - android:layout_height="wrap_content" | |
148 | - android:layout_marginLeft="150dp" | |
149 | - android:textColor="@color/white" | |
150 | - android:textSize="@dimen/big_text_p3" /> | |
151 | - </LinearLayout> | |
152 | - | |
153 | - <ListView | |
154 | - android:id="@+id/multi_vote_result_listview" | |
155 | - android:layout_width="fill_parent" | |
156 | - android:layout_height="fill_parent" | |
157 | - android:layout_below="@id/multi_vote_result_title_panel" | |
158 | - android:layout_above="@id/bottom_linear" | |
159 | - android:layout_marginBottom="10dp" | |
160 | - android:layout_marginLeft="20dp" | |
161 | - android:layout_marginRight="20dp" | |
162 | - android:divider="@color/material_grey_600" | |
163 | - android:dividerHeight="2dp"></ListView> | |
164 | - | |
165 | -</RelativeLayout> | |
166 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_result_pingsheng.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:id="@+id/pingsheng_result_top_panal" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginTop="40px" > | |
12 | - | |
13 | - <ImageButton | |
14 | - android:id="@+id/pingsheng_result_btnback" | |
15 | - android:layout_width="wrap_content" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_marginLeft="36px" | |
18 | - android:background="@drawable/back_selector" | |
19 | - android:visibility="invisible" | |
20 | - /> | |
21 | - | |
22 | - <TextView | |
23 | - android:id="@+id/pingsheng_result_tv_title" | |
24 | - android:layout_width="wrap_content" | |
25 | - android:layout_height="wrap_content" | |
26 | - android:layout_centerHorizontal="true" | |
27 | - android:gravity="center" | |
28 | - android:text="@string/demo_meeting_result" | |
29 | - android:textSize="38sp" | |
30 | - android:textStyle="bold" /> | |
31 | - </RelativeLayout> | |
32 | - | |
33 | - <RelativeLayout | |
34 | - android:id="@+id/pingsheng_result_title_panel" | |
35 | - android:layout_width="fill_parent" | |
36 | - android:layout_height="88dp" | |
37 | - android:layout_below="@id/pingsheng_result_top_panal" | |
38 | - android:layout_marginLeft="36dp" | |
39 | - android:layout_marginRight="36dp" | |
40 | - android:layout_marginTop="36dp" | |
41 | - android:background="#efe0e0" > | |
42 | - | |
43 | - <TextView | |
44 | - android:id="@+id/pingsheng_result_title_num" | |
45 | - android:layout_width="70dp" | |
46 | - android:layout_height="wrap_content" | |
47 | - android:layout_alignParentLeft="true" | |
48 | - android:layout_centerVertical="true" | |
49 | - android:layout_marginLeft="5dp" | |
50 | - android:gravity="center" | |
51 | - android:text="@string/number" | |
52 | - android:textSize="30px" | |
53 | - android:textStyle="bold" /> | |
54 | - | |
55 | - <TextView | |
56 | - android:id="@+id/pingsheng_result_title_name" | |
57 | - android:layout_width="100dp" | |
58 | - android:layout_height="wrap_content" | |
59 | - android:layout_centerVertical="true" | |
60 | - android:layout_marginLeft="5dp" | |
61 | - android:layout_toRightOf="@id/pingsheng_result_title_num" | |
62 | - android:gravity="center" | |
63 | - android:text="@string/name" | |
64 | - android:textSize="30px" | |
65 | - android:textStyle="bold" /> | |
66 | - | |
67 | - <TextView | |
68 | - android:id="@+id/pingsheng_result_title_zhiwei" | |
69 | - android:layout_width="600dp" | |
70 | - android:layout_height="wrap_content" | |
71 | - android:layout_centerVertical="true" | |
72 | - android:layout_marginLeft="10dp" | |
73 | - android:layout_toRightOf="@id/pingsheng_result_title_name" | |
74 | - android:gravity="left" | |
75 | - android:text="@string/memo" | |
76 | - android:textSize="30px" | |
77 | - android:textStyle="bold" /> | |
78 | - | |
79 | - <TextView | |
80 | - android:id="@+id/pingsheng_result_title_agree" | |
81 | - android:layout_width="80dp" | |
82 | - android:layout_height="wrap_content" | |
83 | - android:layout_centerVertical="true" | |
84 | - android:layout_marginLeft="10dp" | |
85 | - android:layout_toRightOf="@id/pingsheng_result_title_zhiwei" | |
86 | - android:gravity="center" | |
87 | - android:text="@string/agree" | |
88 | - android:textSize="30px" | |
89 | - android:textStyle="bold" /> | |
90 | - | |
91 | - <TextView | |
92 | - android:id="@+id/pingsheng_result_title_oppose" | |
93 | - android:layout_width="80dp" | |
94 | - android:layout_height="wrap_content" | |
95 | - android:layout_centerVertical="true" | |
96 | - android:layout_marginLeft="5dp" | |
97 | - android:layout_toRightOf="@id/pingsheng_result_title_agree" | |
98 | - android:gravity="center" | |
99 | - android:text="@string/oppose" | |
100 | - android:textSize="30px" | |
101 | - android:textStyle="bold" /> | |
102 | - | |
103 | - <TextView | |
104 | - android:id="@+id/pingsheng_result_title_abstan" | |
105 | - android:layout_width="80dp" | |
106 | - android:layout_height="wrap_content" | |
107 | - android:layout_centerVertical="true" | |
108 | - android:layout_marginLeft="5dp" | |
109 | - android:layout_toRightOf="@id/pingsheng_result_title_oppose" | |
110 | - android:gravity="center" | |
111 | - android:text="@string/abstant" | |
112 | - android:textSize="30px" | |
113 | - android:textStyle="bold" /> | |
114 | - | |
115 | - <TextView | |
116 | - android:id="@+id/pingsheng_result_title_result" | |
117 | - android:layout_width="100dp" | |
118 | - android:layout_height="wrap_content" | |
119 | - android:layout_centerVertical="true" | |
120 | - android:layout_marginLeft="5dp" | |
121 | - android:layout_toRightOf="@id/pingsheng_result_title_abstan" | |
122 | - android:gravity="center" | |
123 | - android:text="@string/result" | |
124 | - android:textSize="30px" | |
125 | - android:textStyle="bold" /> | |
126 | - </RelativeLayout> | |
127 | - | |
128 | - <ListView | |
129 | - android:id="@+id/pingsheng_result_listview" | |
130 | - android:layout_width="fill_parent" | |
131 | - android:layout_height="fill_parent" | |
132 | - android:layout_below="@id/pingsheng_result_title_panel" | |
133 | - android:layout_marginBottom="36dp" | |
134 | - android:layout_marginLeft="36dp" | |
135 | - android:layout_marginRight="36dp" | |
136 | - android:divider="@color/material_grey_300" | |
137 | - android:dividerHeight="2dp" > | |
138 | - </ListView> | |
139 | - | |
140 | -</RelativeLayout> | |
141 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_result_vote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:orientation="vertical" > | |
7 | - <RelativeLayout | |
8 | - android:id="@+id/fragment_result_vote_top_panel" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginTop="10dp" > | |
12 | - | |
13 | - <ImageButton | |
14 | - android:id="@+id/fragment_result_vote_btn_back" | |
15 | - android:layout_width="wrap_content" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_marginLeft="30dp" | |
18 | - android:background="@drawable/back_white_selector" | |
19 | - android:visibility="invisible" /> | |
20 | - | |
21 | - <TextView | |
22 | - android:id="@+id/fragment_result_bill_title" | |
23 | - android:layout_width="fill_parent" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerHorizontal="true" | |
26 | - android:layout_marginLeft="80dp" | |
27 | - android:layout_marginRight="80dp" | |
28 | - android:gravity="center" | |
29 | - android:textColor="@color/white" | |
30 | - android:textStyle="bold" | |
31 | - android:textSize="@dimen/big_text_p2" /> | |
32 | - </RelativeLayout> | |
33 | - <TextView | |
34 | - android:id="@+id/fragment_result_sub_title" | |
35 | - android:layout_width="fill_parent" | |
36 | - android:layout_height="wrap_content" | |
37 | - android:layout_below="@id/fragment_result_vote_top_panel" | |
38 | - android:layout_centerHorizontal="true" | |
39 | - android:layout_marginLeft="20dp" | |
40 | - android:layout_marginRight="20dp" | |
41 | - android:gravity="center" | |
42 | - android:text=" " | |
43 | - android:textColor="@color/white" | |
44 | - android:textStyle="bold" | |
45 | - android:textSize="@dimen/big_text_p2" | |
46 | - android:visibility="gone"/> | |
47 | - <RelativeLayout | |
48 | - android:id="@+id/fragment_result_option_panel1" | |
49 | - android:layout_width="fill_parent" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_below="@id/fragment_result_sub_title" | |
52 | - android:layout_marginTop="10dp" > | |
53 | - <TextView | |
54 | - android:id="@+id/fragment_result_option_vl1" | |
55 | - android:layout_width="180dp" | |
56 | - android:layout_height="30dp" | |
57 | - android:textSize="@dimen/big_text_p3" | |
58 | - android:layout_centerHorizontal="true" /> | |
59 | - | |
60 | - <TextView | |
61 | - android:id="@+id/fragment_result_option1" | |
62 | - android:layout_width="wrap_content" | |
63 | - android:layout_height="wrap_content" | |
64 | - android:layout_toLeftOf="@id/fragment_result_option_vl1" | |
65 | - android:gravity="right" | |
66 | - android:text="" | |
67 | - android:textColor="@color/white" | |
68 | - android:textSize="@dimen/big_text_p3" /> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/fragment_result_value1" | |
72 | - android:layout_width="350dp" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:gravity="right" | |
75 | - android:layout_alignLeft="@id/fragment_result_option_vl1" | |
76 | - android:text="" | |
77 | - android:textColor="@color/white" | |
78 | - android:textSize="@dimen/big_text_p3" /> | |
79 | - </RelativeLayout> | |
80 | - <RelativeLayout | |
81 | - android:id="@+id/fragment_result_option_panel2" | |
82 | - android:layout_width="fill_parent" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_below="@id/fragment_result_option_panel1" | |
85 | - android:layout_marginTop="10dp" | |
86 | - android:layout_centerHorizontal="true"> | |
87 | - | |
88 | - <TextView | |
89 | - android:id="@+id/fragment_result_option_vl2" | |
90 | - android:layout_width="180dp" | |
91 | - android:layout_height="30dp" | |
92 | - android:textSize="@dimen/big_text_p3" | |
93 | - android:layout_centerHorizontal="true" /> | |
94 | - | |
95 | - <TextView | |
96 | - android:id="@+id/fragment_result_option2" | |
97 | - android:layout_width="wrap_content" | |
98 | - android:layout_height="wrap_content" | |
99 | - android:layout_toLeftOf="@id/fragment_result_option_vl2" | |
100 | - android:gravity="right" | |
101 | - android:text="" | |
102 | - android:textColor="@color/white" | |
103 | - android:textSize="@dimen/big_text_p3" /> | |
104 | - | |
105 | - <TextView | |
106 | - android:id="@+id/fragment_result_value2" | |
107 | - android:layout_width="350dp" | |
108 | - android:layout_height="wrap_content" | |
109 | - android:gravity="right" | |
110 | - android:layout_alignLeft="@id/fragment_result_option_vl2" | |
111 | - android:text="" | |
112 | - android:textColor="@color/white" | |
113 | - android:textSize="@dimen/big_text_p3" /> | |
114 | - </RelativeLayout> | |
115 | - <RelativeLayout | |
116 | - android:id="@+id/fragment_result_option_panel3" | |
117 | - android:layout_width="fill_parent" | |
118 | - android:layout_height="wrap_content" | |
119 | - android:layout_below="@id/fragment_result_option_panel2" | |
120 | - android:layout_marginTop="10dp" | |
121 | - android:layout_centerHorizontal="true"> | |
122 | - | |
123 | - <TextView | |
124 | - android:id="@+id/fragment_result_option_vl3" | |
125 | - android:layout_width="180dp" | |
126 | - android:layout_height="30dp" | |
127 | - android:textSize="@dimen/big_text_p3" | |
128 | - android:layout_centerHorizontal="true" /> | |
129 | - | |
130 | - <TextView | |
131 | - android:id="@+id/fragment_result_option3" | |
132 | - android:layout_width="wrap_content" | |
133 | - android:layout_height="wrap_content" | |
134 | - android:layout_toLeftOf="@id/fragment_result_option_vl3" | |
135 | - android:gravity="right" | |
136 | - android:text="" | |
137 | - android:textColor="@color/white" | |
138 | - android:textSize="@dimen/big_text_p3" /> | |
139 | - | |
140 | - <TextView | |
141 | - android:id="@+id/fragment_result_value3" | |
142 | - android:layout_width="350dp" | |
143 | - android:layout_height="wrap_content" | |
144 | - android:gravity="right" | |
145 | - android:layout_alignLeft="@id/fragment_result_option_vl3" | |
146 | - android:text="" | |
147 | - android:textColor="@color/white" | |
148 | - android:textSize="@dimen/big_text_p3" /> | |
149 | - </RelativeLayout> | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/fragment_result_option_panel4" | |
152 | - android:layout_width="fill_parent" | |
153 | - android:layout_height="wrap_content" | |
154 | - android:layout_below="@id/fragment_result_option_panel3" | |
155 | - android:layout_centerHorizontal="true" | |
156 | - android:layout_marginTop="10dp"> | |
157 | - | |
158 | - <TextView | |
159 | - android:id="@+id/fragment_result_option_vl4" | |
160 | - android:layout_width="180dp" | |
161 | - android:layout_height="30dp" | |
162 | - android:layout_centerHorizontal="true" /> | |
163 | - | |
164 | - <TextView | |
165 | - android:id="@+id/fragment_result_option4" | |
166 | - android:layout_width="wrap_content" | |
167 | - android:layout_height="wrap_content" | |
168 | - android:layout_toLeftOf="@id/fragment_result_option_vl4" | |
169 | - android:gravity="right" | |
170 | - android:text="" | |
171 | - android:textColor="@color/white" | |
172 | - android:textSize="@dimen/big_text_p3" /> | |
173 | - | |
174 | - <TextView | |
175 | - android:id="@+id/fragment_result_value4" | |
176 | - android:layout_width="350dp" | |
177 | - android:layout_height="wrap_content" | |
178 | - android:gravity="right" | |
179 | - android:layout_alignLeft="@id/fragment_result_option_vl4" | |
180 | - android:text="" | |
181 | - android:textColor="@color/white" | |
182 | - android:textSize="@dimen/big_text_p3" /> | |
183 | - </RelativeLayout> | |
184 | - <RelativeLayout | |
185 | - android:id="@+id/fragment_result_option_panel5" | |
186 | - android:layout_width="fill_parent" | |
187 | - android:layout_height="wrap_content" | |
188 | - android:layout_below="@id/fragment_result_option_panel4" | |
189 | - android:layout_marginTop="10dp" | |
190 | - android:layout_centerHorizontal="true"> | |
191 | - <TextView | |
192 | - android:id="@+id/fragment_result_option_vl5" | |
193 | - android:layout_width="180dp" | |
194 | - android:layout_height="30dp" | |
195 | - android:layout_centerHorizontal="true" /> | |
196 | - <TextView | |
197 | - android:id="@+id/fragment_result_option5" | |
198 | - android:layout_width="wrap_content" | |
199 | - android:layout_height="wrap_content" | |
200 | - android:layout_toLeftOf="@id/fragment_result_option_vl5" | |
201 | - android:gravity="right" | |
202 | - android:textColor="@color/white" | |
203 | - android:textSize="@dimen/big_text_p3" /> | |
204 | - <TextView | |
205 | - android:id="@+id/fragment_result_value5" | |
206 | - android:layout_width="350dp" | |
207 | - android:layout_height="wrap_content" | |
208 | - android:gravity="right|center" | |
209 | - android:layout_alignLeft="@id/fragment_result_option_vl5" | |
210 | - android:textColor="@color/white" | |
211 | - android:textSize="@dimen/big_text_p3" /> | |
212 | - </RelativeLayout> | |
213 | - <RelativeLayout | |
214 | - android:id="@+id/fragment_result_option_panel6" | |
215 | - android:layout_width="fill_parent" | |
216 | - android:layout_height="wrap_content" | |
217 | - android:layout_below="@id/fragment_result_option_panel5" | |
218 | - android:layout_marginTop="10dp" | |
219 | - android:layout_centerHorizontal="true"> | |
220 | - <TextView | |
221 | - android:id="@+id/fragment_result_option_vl6" | |
222 | - android:layout_width="180dp" | |
223 | - android:layout_height="30dp" | |
224 | - android:layout_centerHorizontal="true" /> | |
225 | - <TextView | |
226 | - android:id="@+id/fragment_result_option6" | |
227 | - android:layout_width="wrap_content" | |
228 | - android:layout_height="wrap_content" | |
229 | - android:layout_toLeftOf="@id/fragment_result_option_vl6" | |
230 | - android:gravity="right" | |
231 | - android:textColor="@color/white" | |
232 | - android:textSize="@dimen/big_text_p3" /> | |
233 | - <TextView | |
234 | - android:id="@+id/fragment_result_value6" | |
235 | - android:layout_width="350dp" | |
236 | - android:layout_height="wrap_content" | |
237 | - android:gravity="right|center" | |
238 | - android:layout_alignLeft="@id/fragment_result_option_vl6" | |
239 | - android:textColor="@color/white" | |
240 | - android:textSize="@dimen/big_text_p3" /> | |
241 | - </RelativeLayout> | |
242 | - <RelativeLayout | |
243 | - android:id="@+id/fragment_result_option_panel7" | |
244 | - android:layout_width="fill_parent" | |
245 | - android:layout_height="wrap_content" | |
246 | - android:layout_below="@id/fragment_result_option_panel6" | |
247 | - android:layout_marginTop="10dp" | |
248 | - android:layout_centerHorizontal="true"> | |
249 | - <TextView | |
250 | - android:id="@+id/fragment_result_option_vl7" | |
251 | - android:layout_width="180dp" | |
252 | - android:layout_height="30dp" | |
253 | - android:layout_centerHorizontal="true" /> | |
254 | - <TextView | |
255 | - android:id="@+id/fragment_result_option7" | |
256 | - android:layout_width="wrap_content" | |
257 | - android:layout_height="wrap_content" | |
258 | - android:layout_toLeftOf="@id/fragment_result_option_vl7" | |
259 | - android:gravity="right" | |
260 | - android:textColor="@color/white" | |
261 | - android:textSize="@dimen/big_text_p3" /> | |
262 | - <TextView | |
263 | - android:id="@+id/fragment_result_value7" | |
264 | - android:layout_width="350dp" | |
265 | - android:layout_height="wrap_content" | |
266 | - android:gravity="right|center" | |
267 | - android:layout_alignLeft="@id/fragment_result_option_vl7" | |
268 | - android:textColor="@color/white" | |
269 | - android:textSize="@dimen/big_text_p3" /> | |
270 | - </RelativeLayout> | |
271 | - <TextView | |
272 | - android:id="@+id/fragment_result_memo" | |
273 | - android:layout_width="fill_parent" | |
274 | - android:layout_height="wrap_content" | |
275 | - android:layout_below="@id/fragment_result_option_panel7" | |
276 | - android:layout_alignParentBottom="true" | |
277 | - android:layout_centerHorizontal="true" | |
278 | - android:layout_marginTop="10dp" | |
279 | - android:layout_marginLeft="20dp" | |
280 | - android:layout_marginRight="20dp" | |
281 | - android:gravity="center" | |
282 | - android:textColor="@color/white" | |
283 | - android:textStyle="bold" | |
284 | - android:textSize="@dimen/big_text_p3" /> | |
285 | - <RelativeLayout | |
286 | - android:id="@+id/fragment_result_page_panel" | |
287 | - android:layout_width="fill_parent" | |
288 | - android:layout_height="wrap_content" | |
289 | - android:layout_below="@id/fragment_result_memo" | |
290 | - android:layout_centerHorizontal="true" | |
291 | - android:layout_marginTop="10dp"> | |
292 | - <TextView | |
293 | - android:id="@+id/fragment_result_page" | |
294 | - android:layout_width="wrap_content" | |
295 | - android:layout_height="wrap_content" | |
296 | - android:layout_centerInParent="true" | |
297 | - android:text="1/1" | |
298 | - android:textColor="@color/white" | |
299 | - android:textSize="@dimen/big_text_p4" /> | |
300 | - | |
301 | - <Button | |
302 | - android:id="@+id/fragment_result_pageup" | |
303 | - android:layout_width="wrap_content" | |
304 | - android:layout_height="wrap_content" | |
305 | - android:layout_centerVertical="true" | |
306 | - android:layout_marginRight="30dp" | |
307 | - android:layout_toLeftOf="@id/fragment_result_page" | |
308 | - android:background="@drawable/page_selector" | |
309 | - android:textSize="@dimen/big_text_p4" | |
310 | - android:text="@string/page_up" /> | |
311 | - | |
312 | - <Button | |
313 | - android:id="@+id/fragment_result_pagedown" | |
314 | - android:layout_width="wrap_content" | |
315 | - android:layout_height="wrap_content" | |
316 | - android:layout_centerVertical="true" | |
317 | - android:layout_marginLeft="30dp" | |
318 | - android:layout_toRightOf="@id/fragment_result_page" | |
319 | - android:background="@drawable/page_selector" | |
320 | - android:textSize="@dimen/big_text_p4" | |
321 | - android:text="@string/page_down" /> | |
322 | - </RelativeLayout> | |
323 | -</RelativeLayout> | |
324 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_show_id.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/bluebackground" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - <TextView | |
8 | - | |
9 | - android:text="@string/keypad_id" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:textColor="@color/white" | |
14 | - android:textSize="36dp" | |
15 | - android:layout_marginTop="50dp" | |
16 | - /> | |
17 | - | |
18 | - <TextView | |
19 | - android:id="@+id/fragment_show_id_title" | |
20 | - android:text="00" | |
21 | - android:textSize="400dp" | |
22 | - android:textStyle="bold" | |
23 | - android:layout_width="wrap_content" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerInParent="true" | |
26 | - android:textColor="@color/white" | |
27 | - /> | |
28 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_signin.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:id="@+id/signin_bg" | |
6 | - android:background="@drawable/meeting_bg" | |
7 | - > | |
8 | - | |
9 | - <View | |
10 | - android:id="@+id/signin_midline" | |
11 | - android:layout_width="match_parent" | |
12 | - android:layout_height="@dimen/content_margin" | |
13 | - android:layout_centerInParent="true" /> | |
14 | - <Button | |
15 | - android:id="@+id/signin_btnSign" | |
16 | - android:layout_width="@dimen/button_width" | |
17 | - android:layout_height="@dimen/button_heigh" | |
18 | - android:layout_centerHorizontal="true" | |
19 | - android:background="@drawable/signin_selector" | |
20 | - android:layout_marginTop="@dimen/content_margin" | |
21 | - android:text="@string/signin" | |
22 | - android:enabled="false" | |
23 | - android:textSize="@dimen/big_text_p4" | |
24 | - android:layout_below="@id/signin_midline"/> | |
25 | - | |
26 | - <TextView | |
27 | - android:id="@+id/signin_title" | |
28 | - android:textSize="@dimen/big_text_p2" | |
29 | - android:layout_marginTop="@dimen/content_margin" | |
30 | - android:textColor="@color/white" | |
31 | - android:layout_width="wrap_content" | |
32 | - android:layout_height="wrap_content" | |
33 | - android:layout_centerHorizontal="true" | |
34 | - android:layout_below="@id/signin_btnSign" | |
35 | - android:text="@string/please_signin" | |
36 | - /> | |
37 | - | |
38 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_singlevote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/singlevote_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="20dp" | |
12 | - android:layout_marginTop="20dp" | |
13 | - android:textSize="20dp" /> | |
14 | - <!--标题内容--> | |
15 | - <RelativeLayout | |
16 | - android:id="@+id/singlevote_content_layout" | |
17 | - android:layout_width="fill_parent" | |
18 | - android:layout_height="wrap_content" | |
19 | - android:layout_below="@id/singlevote_title" > | |
20 | - | |
21 | - <ScrollView | |
22 | - android:id="@+id/singlevote_content_scview" | |
23 | - android:layout_width="fill_parent" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:layout_marginLeft="20dp" | |
27 | - android:layout_marginRight="20dp" | |
28 | - android:layout_marginTop="20dp" | |
29 | - android:fadeScrollbars="false" | |
30 | - android:fillViewport="false" | |
31 | - android:scrollbarAlwaysDrawVerticalTrack="true" | |
32 | - android:scrollbars="vertical" > | |
33 | - | |
34 | - <TextView | |
35 | - android:id="@+id/singlevote_content" | |
36 | - android:layout_width="match_parent" | |
37 | - android:layout_height="wrap_content" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:background="@color/white" | |
40 | - android:gravity="center" | |
41 | - android:scrollbars="vertical" | |
42 | - android:text="@string/please_vote" | |
43 | - android:textColor="@color/black" | |
44 | - android:textSize="@dimen/big_text_p4" /> | |
45 | - </ScrollView> | |
46 | - | |
47 | - <ImageView | |
48 | - android:id="@+id/singlevote_img_detail" | |
49 | - android:layout_width="wrap_content" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_alignParentRight="true" | |
52 | - android:layout_centerVertical="true" | |
53 | - android:layout_marginRight="10dp" | |
54 | - android:layout_marginTop="20dp" | |
55 | - android:src="@drawable/detail_icon" /> | |
56 | - </RelativeLayout> | |
57 | - <!--提示信息--> | |
58 | - <TextView | |
59 | - android:id="@+id/singlevote_tv_tips" | |
60 | - android:layout_width="wrap_content" | |
61 | - android:layout_height="wrap_content" | |
62 | - android:layout_alignParentBottom="true" | |
63 | - android:layout_centerHorizontal="true" | |
64 | - android:layout_marginBottom="20dp" | |
65 | - android:text="@string/please_press_key" | |
66 | - android:textColor="#878787" | |
67 | - android:textSize="@dimen/big_text_p4" /> | |
68 | - <!--按钮反对--> | |
69 | - <Button | |
70 | - android:id="@+id/singlevote_btnB" | |
71 | - android:layout_width="200dp" | |
72 | - android:layout_height="60dp" | |
73 | - android:layout_above="@id/singlevote_tv_tips" | |
74 | - android:layout_centerHorizontal="true" | |
75 | - android:layout_marginBottom="20dp" | |
76 | - android:background="@drawable/oppos_selector" | |
77 | - android:text="@string/oppose" | |
78 | - android:textColor="@color/white" | |
79 | - android:textSize="@dimen/big_text_p4" | |
80 | - android:textStyle="bold" /> | |
81 | - <!--按钮赞成--> | |
82 | - <Button | |
83 | - android:id="@+id/singlevote_btnA" | |
84 | - android:layout_width="200dp" | |
85 | - android:layout_height="60dp" | |
86 | - android:layout_above="@id/singlevote_tv_tips" | |
87 | - android:layout_marginBottom="20dp" | |
88 | - android:layout_marginRight="40dp" | |
89 | - android:layout_toLeftOf="@id/singlevote_btnB" | |
90 | - android:background="@drawable/agree_selector" | |
91 | - android:text="@string/agree" | |
92 | - android:textColor="@color/white" | |
93 | - android:textSize="@dimen/big_text_p4" | |
94 | - android:textStyle="bold" /> | |
95 | - <!--按钮弃权--> | |
96 | - <Button | |
97 | - android:id="@+id/singlevote_btnC" | |
98 | - android:layout_width="200dp" | |
99 | - android:layout_height="60dp" | |
100 | - android:layout_above="@id/singlevote_tv_tips" | |
101 | - android:layout_marginBottom="20dp" | |
102 | - android:layout_marginLeft="40dp" | |
103 | - android:layout_toRightOf="@id/singlevote_btnB" | |
104 | - android:background="@drawable/abstain_selector" | |
105 | - android:text="@string/abstant" | |
106 | - android:textColor="@color/white" | |
107 | - android:textSize="@dimen/big_text_p4" | |
108 | - android:textStyle="bold" /> | |
109 | - <!--修改按钮--> | |
110 | - <Button | |
111 | - android:id="@+id/singlevote_btn_modify" | |
112 | - android:layout_width="200dp" | |
113 | - android:layout_height="60dp" | |
114 | - android:layout_above="@id/singlevote_tv_tips" | |
115 | - android:layout_centerHorizontal="true" | |
116 | - android:layout_marginBottom="20dp" | |
117 | - android:background="@drawable/modify_selector" | |
118 | - android:text="@string/modify" | |
119 | - android:textColor="@color/modifytext" | |
120 | - android:textSize="@dimen/big_text_p4" | |
121 | - android:textStyle="bold" | |
122 | - android:visibility="invisible" /> | |
123 | - | |
124 | - <RelativeLayout | |
125 | - android:id="@+id/singlevote_btn_layout" | |
126 | - android:layout_width="match_parent" | |
127 | - android:layout_height="wrap_content" | |
128 | - android:layout_above="@+id/singlevote_tv_tips" | |
129 | - android:gravity="center" | |
130 | - android:layout_marginBottom="20dp" | |
131 | - android:layout_marginLeft="20dp" | |
132 | - android:layout_marginRight="20dp"> | |
133 | - </RelativeLayout> | |
134 | - <RelativeLayout | |
135 | - android:id="@+id/singlevote_btn_layout1" | |
136 | - android:layout_width="match_parent" | |
137 | - android:layout_height="wrap_content" | |
138 | - android:layout_above="@+id/singlevote_tv_tips" | |
139 | - android:gravity="center_horizontal" | |
140 | - android:layout_marginBottom="20dp" | |
141 | - android:layout_marginLeft="20dp" | |
142 | - android:layout_marginRight="20dp"> | |
143 | - | |
144 | - </RelativeLayout> | |
145 | - <!--提交结果状态--> | |
146 | - <TextView | |
147 | - android:id="@+id/singlevote_tv_result" | |
148 | - android:layout_width="wrap_content" | |
149 | - android:layout_height="wrap_content" | |
150 | - android:layout_alignRight="@id/singlevote_content_layout" | |
151 | - android:layout_alignTop="@id/singlevote_content_layout" | |
152 | - android:layout_marginRight="@dimen/button_to_content" | |
153 | - android:layout_marginTop="@dimen/content_margin" | |
154 | - android:alpha="0.9" | |
155 | - android:background="@drawable/voted_empty" | |
156 | - android:gravity="center" | |
157 | - android:rotation="-20" | |
158 | - android:text="" | |
159 | - android:textColor="#ddff9933" | |
160 | - android:textSize="@dimen/big_text_p2" | |
161 | - android:textStyle="bold" | |
162 | - android:visibility="visible" /> | |
163 | - | |
164 | - <RelativeLayout | |
165 | - android:id="@+id/singlevote_confirm_panel" | |
166 | - android:layout_width="fill_parent" | |
167 | - android:layout_height="fill_parent" | |
168 | - android:background="#ff000000" | |
169 | - android:visibility="gone"> | |
170 | - | |
171 | - | |
172 | - <TextView | |
173 | - android:id="@+id/singlevote_confirm_textview" | |
174 | - android:layout_width="wrap_content" | |
175 | - android:layout_height="wrap_content" | |
176 | - android:layout_centerHorizontal="true" | |
177 | - android:layout_marginTop="@dimen/button_to_content" | |
178 | - android:text="@string/cant_modify_confirm" | |
179 | - android:textColor="@color/white" | |
180 | - android:layout_marginLeft="@dimen/content_margin" | |
181 | - android:layout_marginRight="@dimen/content_margin" | |
182 | - android:textSize="@dimen/big_text_p4" /> | |
183 | - | |
184 | - <Button | |
185 | - android:id="@+id/singlevote_btn_confirm_cancel" | |
186 | - android:layout_width="@dimen/button_width" | |
187 | - android:layout_height="@dimen/button_heigh" | |
188 | - android:layout_alignParentLeft="true" | |
189 | - android:layout_below="@id/singlevote_confirm_textview" | |
190 | - android:layout_marginLeft="@dimen/button_to_left" | |
191 | - android:layout_marginTop="@dimen/button_to_content" | |
192 | - android:background="@drawable/btn_signin_d" | |
193 | - android:text="@string/cancel" | |
194 | - android:textColor="@color/white" | |
195 | - android:textSize="@dimen/big_text_p5" | |
196 | - android:textStyle="bold" /> | |
197 | - | |
198 | - <Button | |
199 | - android:id="@+id/singlevote_btn_confirm_ok" | |
200 | - android:layout_width="@dimen/button_width" | |
201 | - android:layout_height="@dimen/button_heigh" | |
202 | - android:layout_alignParentRight="true" | |
203 | - android:layout_below="@id/singlevote_confirm_textview" | |
204 | - android:layout_marginRight="@dimen/button_to_right" | |
205 | - android:layout_marginTop="@dimen/button_to_content" | |
206 | - android:background="@drawable/btn_agree" | |
207 | - android:text="@string/ok" | |
208 | - android:textColor="@color/white" | |
209 | - android:textSize="@dimen/big_text_p5" | |
210 | - android:textStyle="bold" /> | |
211 | - </RelativeLayout> | |
212 | - | |
213 | -</RelativeLayout> | |
214 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/fragment_welcome.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@drawable/meeting_bg" | |
6 | - android:orientation="vertical" > | |
7 | - | |
8 | - <View | |
9 | - android:id="@+id/welcome_middle_line" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="1dp" | |
12 | - android:layout_centerVertical="true" | |
13 | - android:visibility="invisible" | |
14 | - /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/welcome_title" | |
18 | - android:textColor="@color/white" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/welcome_middle_line" | |
22 | - android:layout_marginLeft="15dp" | |
23 | - android:layout_marginRight="15dp" | |
24 | - android:layout_marginTop="60dp" | |
25 | - android:layout_centerHorizontal="true" | |
26 | - android:gravity="center" | |
27 | - android:text="@string/welcome" | |
28 | - android:textStyle="bold" | |
29 | - android:textSize="@dimen/big_text_p2" | |
30 | - /> | |
31 | - | |
32 | - <View | |
33 | - android:id="@+id/welcome_btn_admin" | |
34 | - android:layout_width="200dp" | |
35 | - android:layout_height="200dp" | |
36 | - android:layout_alignParentRight="true" | |
37 | - android:layout_alignParentBottom="true" | |
38 | - /> | |
39 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_document_list_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="156px"> | |
5 | - | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:layout_width="fill_parent" | |
9 | - android:layout_height="fill_parent" | |
10 | - android:layout_marginBottom="1px" | |
11 | - android:layout_marginTop="1px" | |
12 | - android:background="@color/white"> | |
13 | - | |
14 | - <TextView | |
15 | - android:id="@+id/list_document_item_num" | |
16 | - android:layout_width="wrap_content" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_alignParentLeft="true" | |
19 | - android:layout_centerVertical="true" | |
20 | - android:layout_marginLeft="21dp" | |
21 | - android:text="1" | |
22 | - android:textColor="@color/black" | |
23 | - android:textSize="40sp" /> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/list_document_item_detail" | |
27 | - android:layout_width="wrap_content" | |
28 | - android:layout_height="wrap_content" | |
29 | - android:layout_alignParentRight="true" | |
30 | - android:layout_centerVertical="true" | |
31 | - android:layout_marginRight="24dp" | |
32 | - android:background="@drawable/detail_icon" | |
33 | - android:gravity="center" | |
34 | - android:textColor="@color/white" | |
35 | - android:textSize="20sp" | |
36 | - android:visibility="visible" /> | |
37 | - | |
38 | - | |
39 | - <TextView | |
40 | - android:id="@+id/list_document_item_content" | |
41 | - android:layout_width="fill_parent" | |
42 | - android:layout_height="fill_parent" | |
43 | - android:layout_marginBottom="22dp" | |
44 | - android:layout_marginLeft="17dp" | |
45 | - android:layout_marginRight="47dp" | |
46 | - android:layout_marginTop="22dp" | |
47 | - android:layout_toLeftOf="@id/list_document_item_detail" | |
48 | - android:layout_toRightOf="@id/list_document_item_num" | |
49 | - android:text="" | |
50 | - android:textColor="@color/black" | |
51 | - android:textSize="38sp" /> | |
52 | - | |
53 | - </RelativeLayout> | |
54 | - | |
55 | - | |
56 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_election_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="@dimen/button_heigh" > | |
5 | - | |
6 | - <LinearLayout | |
7 | - android:layout_width="fill_parent" | |
8 | - android:layout_height="fill_parent" | |
9 | - android:background="@color/white" | |
10 | - android:orientation="horizontal"> | |
11 | - <TextView | |
12 | - android:id="@+id/list_election_item_name" | |
13 | - android:layout_width="0dp" | |
14 | - android:layout_height="wrap_content" | |
15 | - android:layout_weight="1" | |
16 | - android:layout_marginLeft="@dimen/content_margin" | |
17 | - android:gravity="left" | |
18 | - android:text="" | |
19 | - android:textColor="@color/black" | |
20 | - android:textSize="@dimen/big_text_p5" /> | |
21 | - | |
22 | - <RadioGroup | |
23 | - android:id="@+id/list_election_item_radio_group" | |
24 | - android:layout_width="wrap_content" | |
25 | - android:layout_height="wrap_content" | |
26 | - android:orientation="horizontal" > | |
27 | - | |
28 | - <RadioButton | |
29 | - android:id="@+id/list_election_item_oo" | |
30 | - android:layout_width="wrap_content" | |
31 | - android:layout_height="wrap_content" | |
32 | - android:layout_centerVertical="true" | |
33 | - android:layout_marginTop="@dimen/inner_button_margin" | |
34 | - android:button="@null" | |
35 | - android:background="@drawable/oo_selector" | |
36 | - android:layout_marginLeft="@dimen/button_to_content" | |
37 | - android:visibility="visible" /> | |
38 | - | |
39 | - <RadioButton | |
40 | - android:id="@+id/list_election_item_xx" | |
41 | - android:layout_width="wrap_content" | |
42 | - android:layout_height="wrap_content" | |
43 | - android:layout_centerVertical="true" | |
44 | - android:layout_marginTop="@dimen/inner_button_margin" | |
45 | - android:button="@null" | |
46 | - android:background="@drawable/xx_selector" | |
47 | - android:layout_marginLeft="@dimen/button_to_content" | |
48 | - android:layout_toRightOf="@id/list_election_item_oo" /> | |
49 | - | |
50 | - <RadioButton | |
51 | - android:id="@+id/list_election_item_del" | |
52 | - android:layout_width="wrap_content" | |
53 | - android:layout_height="wrap_content" | |
54 | - android:layout_centerVertical="true" | |
55 | - android:layout_marginTop="@dimen/inner_button_margin" | |
56 | - android:button="@null" | |
57 | - android:background="@drawable/delete" | |
58 | - android:layout_marginLeft="@dimen/button_to_content" | |
59 | - android:layout_toRightOf="@id/list_election_item_oo" /> | |
60 | - | |
61 | - </RadioGroup> | |
62 | - | |
63 | - <com.bm.library.PhotoView | |
64 | - android:id="@+id/img_book" | |
65 | - android:layout_width="@dimen/button_width" | |
66 | - android:layout_height="@dimen/button_heigh" | |
67 | - android:scaleType="fitXY" | |
68 | - android:layout_margin="2dp" | |
69 | - android:layout_toRightOf="@+id/list_election_item_radio_group" />/> | |
70 | - | |
71 | - </LinearLayout> | |
72 | - | |
73 | -</RelativeLayout> | |
74 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_election_item_add.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="@dimen/button_heigh" | |
5 | - android:background="@color/white"> | |
6 | - | |
7 | - <Button | |
8 | - android:id="@+id/list_election_item_add_btn" | |
9 | - android:layout_width="@dimen/button_width" | |
10 | - android:layout_height="@dimen/button_heigh" | |
11 | - android:layout_centerInParent="true" | |
12 | - android:layout_margin="@dimen/inner_button_margin" | |
13 | - android:background="@drawable/agree_selector" | |
14 | - android:text="@string/select_other" | |
15 | - android:textColor="@color/white" | |
16 | - android:textSize="@dimen/big_text_p5" /> | |
17 | - | |
18 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_multi_content_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="258px" > | |
5 | - | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:layout_width="fill_parent" | |
9 | - android:layout_height="fill_parent" | |
10 | - android:layout_marginTop="1px" | |
11 | - android:layout_marginBottom="1px" | |
12 | - android:background="@color/white" > | |
13 | - | |
14 | - <TextView | |
15 | - android:id="@+id/list_multicontent_item_num" | |
16 | - android:layout_width="wrap_content" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_alignParentLeft="true" | |
19 | - android:layout_marginTop="50px" | |
20 | - android:layout_marginLeft="40px" | |
21 | - android:textColor="@color/black" | |
22 | - android:textSize="72px" | |
23 | - android:text="1" /> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/list_multicontent_item_btnvote" | |
27 | - android:layout_width="182px" | |
28 | - android:layout_height="72px" | |
29 | - android:layout_alignParentRight="true" | |
30 | - android:layout_marginRight="48px" | |
31 | - android:layout_marginTop="42px" | |
32 | - android:background="@drawable/signin_selector" | |
33 | - android:text="@string/vote" | |
34 | - android:gravity="center" | |
35 | - android:textColor="@color/white" | |
36 | - android:textSize="36px" | |
37 | - android:textStyle="bold" | |
38 | - android:visibility="visible" | |
39 | - /> | |
40 | - | |
41 | - <TextView | |
42 | - android:id="@+id/list_multicontent_item_btnmodify" | |
43 | - android:layout_width="wrap_content" | |
44 | - android:layout_height="wrap_content" | |
45 | - android:layout_alignParentRight="true" | |
46 | - android:layout_marginRight="48px" | |
47 | - android:layout_marginTop="42px" | |
48 | - android:background="@drawable/modify_selector" | |
49 | - android:text="@string/modify" | |
50 | - android:gravity="center" | |
51 | - android:textColor="#08c308" | |
52 | - android:textSize="36px" | |
53 | - android:textStyle="bold" | |
54 | - android:visibility="invisible" | |
55 | - /> | |
56 | - | |
57 | - <TextView | |
58 | - android:id="@+id/list_multicontent_item_title" | |
59 | - android:layout_width="fill_parent" | |
60 | - android:layout_height="70px" | |
61 | - android:layout_toRightOf="@id/list_multicontent_item_num" | |
62 | - android:layout_toLeftOf="@id/list_multicontent_item_btnvote" | |
63 | - android:layout_marginTop="22px" | |
64 | - android:layout_marginLeft="34px" | |
65 | - android:layout_marginRight="94px" | |
66 | - android:gravity="center_vertical" | |
67 | - android:textColor="@color/black" | |
68 | - android:textSize="30px" | |
69 | - android:text="@string/title" /> | |
70 | - | |
71 | - <TextView | |
72 | - android:id="@+id/list_multicontent_item_memo" | |
73 | - android:layout_width="wrap_content" | |
74 | - android:layout_height="116px" | |
75 | - android:layout_toRightOf="@id/list_multicontent_item_num" | |
76 | - android:layout_toLeftOf="@id/list_multicontent_item_btnvote" | |
77 | - android:layout_marginTop="5px" | |
78 | - android:layout_marginLeft="34px" | |
79 | - android:layout_marginRight="94px" | |
80 | - android:layout_below="@id/list_multicontent_item_title" | |
81 | - android:textColor="@color/black" | |
82 | - android:textSize="24px" | |
83 | - android:text="@string/zhaiyao" /> | |
84 | - | |
85 | - | |
86 | - <TextView | |
87 | - android:id="@+id/list_multicontent_item_tv_result" | |
88 | - android:layout_width="wrap_content" | |
89 | - android:layout_height="wrap_content" | |
90 | - android:src="@drawable/agree_small" | |
91 | - android:layout_alignParentRight="true" | |
92 | - android:layout_marginRight="308px" | |
93 | - android:layout_marginTop="20px" | |
94 | - android:background="@drawable/voted_empty" | |
95 | - android:gravity="center" | |
96 | - android:text="" | |
97 | - android:textSize="38px" | |
98 | - android:textStyle="bold" | |
99 | - android:textColor="#ddff9933" | |
100 | - android:alpha="0.9" | |
101 | - android:rotation="-20" | |
102 | - /> | |
103 | - | |
104 | - </RelativeLayout> | |
105 | - | |
106 | - | |
107 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_multi_pingsheng_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="258px" > | |
5 | - | |
6 | - <RelativeLayout | |
7 | - android:layout_width="fill_parent" | |
8 | - android:layout_height="fill_parent" | |
9 | - android:layout_marginBottom="1px" | |
10 | - android:layout_marginTop="1px" | |
11 | - android:background="@color/white" > | |
12 | - | |
13 | - <TextView | |
14 | - android:id="@+id/list_multipingsheng_item_num" | |
15 | - android:layout_width="wrap_content" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_alignParentLeft="true" | |
18 | - android:layout_marginLeft="40px" | |
19 | - android:layout_marginTop="50px" | |
20 | - android:text="1" | |
21 | - android:textColor="@color/black" | |
22 | - android:textSize="72px" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/list_multipingsheng_item_btn_abstain" | |
26 | - android:layout_width="122px" | |
27 | - android:layout_height="72px" | |
28 | - android:layout_alignParentRight="true" | |
29 | - android:layout_marginRight="28px" | |
30 | - android:layout_centerVertical="true" | |
31 | - android:background="@drawable/signin_selector" | |
32 | - android:gravity="center" | |
33 | - android:text="@string/abstant" | |
34 | - android:textColor="@color/white" | |
35 | - android:textSize="36px" | |
36 | - android:textStyle="bold" | |
37 | - android:visibility="visible" /> | |
38 | - | |
39 | - <TextView | |
40 | - android:id="@+id/list_multipingsheng_item_btn_oppose" | |
41 | - android:layout_width="122px" | |
42 | - android:layout_height="72px" | |
43 | - android:layout_marginRight="28px" | |
44 | - android:layout_centerVertical="true" | |
45 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_abstain" | |
46 | - android:background="@drawable/oppos_selector" | |
47 | - android:gravity="center" | |
48 | - android:text="@string/oppose" | |
49 | - android:textColor="@color/white" | |
50 | - android:textSize="36px" | |
51 | - android:textStyle="bold" | |
52 | - android:visibility="invisible" /> | |
53 | - | |
54 | - <TextView | |
55 | - android:id="@+id/list_multipingsheng_item_btn_agree" | |
56 | - android:layout_width="122px" | |
57 | - android:layout_height="72px" | |
58 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_oppose" | |
59 | - android:layout_marginRight="28px" | |
60 | - android:layout_centerVertical="true" | |
61 | - android:background="@drawable/agree_selector" | |
62 | - android:gravity="center" | |
63 | - android:text="@string/agree" | |
64 | - android:textColor="@color/white" | |
65 | - android:textSize="36px" | |
66 | - android:textStyle="bold" | |
67 | - android:visibility="invisible" /> | |
68 | - | |
69 | - <TextView | |
70 | - android:id="@+id/list_multipingsheng_item_name" | |
71 | - android:layout_width="fill_parent" | |
72 | - android:layout_height="wrap_content" | |
73 | - android:layout_marginLeft="34px" | |
74 | - android:layout_marginRight="94px" | |
75 | - android:layout_marginTop="20px" | |
76 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_agree" | |
77 | - android:layout_toRightOf="@id/list_multipingsheng_item_num" | |
78 | - android:gravity="center_vertical" | |
79 | - android:text="@string/name" | |
80 | - android:textColor="@color/black" | |
81 | - android:textSize="38px" | |
82 | - android:textStyle="bold" | |
83 | - /> | |
84 | - | |
85 | - <TextView | |
86 | - android:id="@+id/list_multipingsheng_item_xianren" | |
87 | - android:layout_width="wrap_content" | |
88 | - android:layout_height="wrap_content" | |
89 | - android:layout_below="@id/list_multipingsheng_item_name" | |
90 | - android:layout_marginLeft="34px" | |
91 | - android:layout_marginRight="94px" | |
92 | - android:layout_marginTop="15px" | |
93 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_agree" | |
94 | - android:layout_toRightOf="@id/list_multipingsheng_item_num" | |
95 | - android:text="@string/xianren" | |
96 | - android:textColor="@color/black" | |
97 | - android:textSize="24px" /> | |
98 | - | |
99 | - <TextView | |
100 | - android:id="@+id/list_multipingsheng_item_niren" | |
101 | - android:layout_width="wrap_content" | |
102 | - android:layout_height="wrap_content" | |
103 | - android:layout_below="@id/list_multipingsheng_item_xianren" | |
104 | - android:layout_marginLeft="34px" | |
105 | - android:layout_marginRight="94px" | |
106 | - android:layout_marginTop="10px" | |
107 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_agree" | |
108 | - android:layout_toRightOf="@id/list_multipingsheng_item_num" | |
109 | - android:text="@string/niren" | |
110 | - android:textColor="@color/black" | |
111 | - android:textSize="24px" /> | |
112 | - | |
113 | - <TextView | |
114 | - android:id="@+id/list_multipingsheng_item_nimian" | |
115 | - android:layout_width="wrap_content" | |
116 | - android:layout_height="wrap_content" | |
117 | - android:layout_below="@id/list_multipingsheng_item_niren" | |
118 | - android:layout_marginLeft="34px" | |
119 | - android:layout_marginRight="94px" | |
120 | - android:layout_marginTop="10px" | |
121 | - android:layout_marginBottom="20dp" | |
122 | - android:layout_toLeftOf="@id/list_multipingsheng_item_btn_agree" | |
123 | - android:layout_toRightOf="@id/list_multipingsheng_item_num" | |
124 | - android:text="@string/nimian" | |
125 | - android:textColor="@color/black" | |
126 | - android:textSize="24px" /> | |
127 | - | |
128 | - <TextView | |
129 | - android:id="@+id/list_multipingsheng_item_tv_result" | |
130 | - android:layout_width="wrap_content" | |
131 | - android:layout_height="wrap_content" | |
132 | - android:layout_alignParentLeft="true" | |
133 | - android:layout_marginLeft="308px" | |
134 | - android:layout_marginTop="50px" | |
135 | - android:alpha="0.9" | |
136 | - android:background="@drawable/voted_empty" | |
137 | - android:gravity="center" | |
138 | - android:rotation="-20" | |
139 | - android:src="@drawable/agree_small" | |
140 | - android:text="" | |
141 | - android:textColor="#ddff9933" | |
142 | - android:textSize="38px" | |
143 | - android:textStyle="bold" /> | |
144 | - </RelativeLayout> | |
145 | - | |
146 | -</RelativeLayout> | |
147 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_multi_title_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="fill_parent" | |
4 | - android:layout_height="fill_parent" | |
5 | - android:layout_marginBottom="1dp" | |
6 | - android:layout_marginTop="1dp"> | |
7 | - | |
8 | - <LinearLayout | |
9 | - android:id="@+id/line_panel" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:paddingLeft="@dimen/content_margin" | |
13 | - android:paddingRight="@dimen/content_margin" | |
14 | - android:paddingTop="@dimen/inner_button_margin" | |
15 | - android:paddingBottom="@dimen/inner_button_margin" | |
16 | - android:orientation="horizontal" | |
17 | - android:background="@color/white"> | |
18 | - | |
19 | - <TextView | |
20 | - android:id="@+id/list_multivote_item_num" | |
21 | - android:layout_width="wrap_content" | |
22 | - android:layout_height="wrap_content" | |
23 | - android:gravity="center_vertical" | |
24 | - android:text="1" | |
25 | - android:textColor="@color/black" | |
26 | - android:textSize="@dimen/big_text_p3" /> | |
27 | - | |
28 | - <TextView | |
29 | - android:id="@+id/list_multivote_item_content" | |
30 | - android:layout_width="0dp" | |
31 | - android:layout_height="wrap_content" | |
32 | - android:layout_marginLeft="10dp" | |
33 | - android:layout_weight="1" | |
34 | - android:gravity="center_vertical" | |
35 | - android:text="@string/content" | |
36 | - android:textColor="@color/black" | |
37 | - android:textSize="@dimen/big_text_p4" | |
38 | - android:paddingBottom="10dp"/> | |
39 | - | |
40 | - <TextView | |
41 | - android:id="@+id/list_multivote_item_tv_result" | |
42 | - android:layout_width="100dp" | |
43 | - android:layout_height="40dp" | |
44 | - android:layout_marginBottom="25dp" | |
45 | - android:layout_marginLeft="10dp" | |
46 | - android:layout_marginRight="20dp" | |
47 | - android:layout_marginTop="10dp" | |
48 | - android:alpha="0.9" | |
49 | - android:background="@drawable/voted_empty" | |
50 | - android:gravity="center" | |
51 | - android:rotation="-15" | |
52 | - android:src="@drawable/agree_small" | |
53 | - android:textColor="#ddff9933" | |
54 | - android:textSize="@dimen/big_text_p5" | |
55 | - android:textStyle="bold" /> | |
56 | - | |
57 | - <TextView | |
58 | - android:id="@+id/list_multivote_item_btnvote1" | |
59 | - android:layout_width="@dimen/inner_button_width" | |
60 | - android:layout_height="40dp" | |
61 | - android:background="@drawable/agree_selector" | |
62 | - android:layout_marginLeft="@dimen/inner_button_margin" | |
63 | - android:gravity="center" | |
64 | - android:text="@string/agree" | |
65 | - android:textColor="@color/white" | |
66 | - android:textSize="@dimen/big_text_p5" | |
67 | - android:textStyle="bold" | |
68 | - android:visibility="visible" /> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/list_multivote_item_btnvote2" | |
72 | - android:layout_width="@dimen/inner_button_width" | |
73 | - android:layout_height="40dp" | |
74 | - android:layout_marginLeft="@dimen/inner_button_margin" | |
75 | - android:background="@drawable/oppos_selector" | |
76 | - android:gravity="center" | |
77 | - android:text="@string/oppose" | |
78 | - android:textColor="@color/white" | |
79 | - android:textSize="@dimen/big_text_p5" | |
80 | - android:textStyle="bold" | |
81 | - android:visibility="visible" /> | |
82 | - | |
83 | - <TextView | |
84 | - android:id="@+id/list_multivote_item_btnvote3" | |
85 | - android:layout_width="@dimen/inner_button_width" | |
86 | - android:layout_height="40dp" | |
87 | - android:layout_marginLeft="@dimen/inner_button_margin" | |
88 | - android:background="@drawable/signin_selector" | |
89 | - android:gravity="center" | |
90 | - android:text="@string/abstant" | |
91 | - android:textColor="@color/white" | |
92 | - android:textSize="@dimen/big_text_p5" | |
93 | - android:textStyle="bold" /> | |
94 | - | |
95 | - </LinearLayout> | |
96 | - | |
97 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_multi_vote_result_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent"> | |
5 | - | |
6 | - <LinearLayout | |
7 | - android:layout_width="fill_parent" | |
8 | - android:layout_height="wrap_content" | |
9 | - android:layout_marginLeft="20dp" | |
10 | - android:layout_marginTop="10dp" | |
11 | - android:paddingBottom="15dp" | |
12 | - android:orientation="horizontal"> | |
13 | - | |
14 | - <TextView | |
15 | - android:id="@+id/list_multi_result_item_num" | |
16 | - android:layout_width="50dp" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_marginLeft="5dp" | |
19 | - android:gravity="center" | |
20 | - android:layout_gravity="center_vertical" | |
21 | - android:text="1234" | |
22 | - android:textColor="@color/white" | |
23 | - android:textSize="@dimen/big_text_p5" /> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/list_multi_result_item_name" | |
27 | - android:layout_width="0dp" | |
28 | - android:layout_height="wrap_content" | |
29 | - android:layout_gravity="center_vertical" | |
30 | - android:layout_marginLeft="10dp" | |
31 | - android:layout_weight="1" | |
32 | - android:gravity="center" | |
33 | - android:textColor="@color/white" | |
34 | - android:textSize="@dimen/big_text_p5" /> | |
35 | - | |
36 | - <TextView | |
37 | - android:id="@+id/list_multi_result_item_agree" | |
38 | - android:layout_width="80dp" | |
39 | - android:layout_height="wrap_content" | |
40 | - android:layout_centerVertical="true" | |
41 | - android:layout_marginLeft="15dp" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/agree" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p5" /> | |
46 | - | |
47 | - <TextView | |
48 | - android:id="@+id/list_multi_result_item_oppose" | |
49 | - android:layout_width="80dp" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_centerVertical="true" | |
52 | - android:layout_marginLeft="15dp" | |
53 | - android:gravity="center" | |
54 | - android:text="@string/oppose" | |
55 | - android:textColor="@color/white" | |
56 | - android:textSize="@dimen/big_text_p5" /> | |
57 | - | |
58 | - <TextView | |
59 | - android:id="@+id/list_multi_result_item_abstan" | |
60 | - android:layout_width="80dp" | |
61 | - android:layout_height="wrap_content" | |
62 | - android:layout_centerVertical="true" | |
63 | - android:layout_marginLeft="15dp" | |
64 | - android:gravity="center" | |
65 | - android:text="@string/abstant" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p5" /> | |
68 | - | |
69 | - <TextView | |
70 | - android:id="@+id/list_multi_result_item_unvote" | |
71 | - android:layout_width="80dp" | |
72 | - android:layout_height="wrap_content" | |
73 | - android:layout_centerVertical="true" | |
74 | - android:layout_marginLeft="15dp" | |
75 | - android:gravity="center" | |
76 | - android:text="@string/abstant" | |
77 | - android:textColor="@color/white" | |
78 | - android:textSize="@dimen/big_text_p5" /> | |
79 | - | |
80 | - <TextView | |
81 | - android:id="@+id/list_multi_result_item_result" | |
82 | - android:layout_width="100dp" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_centerVertical="true" | |
85 | - android:layout_marginLeft="15dp" | |
86 | - android:gravity="center" | |
87 | - android:text="@string/pass" | |
88 | - android:textColor="@color/white" | |
89 | - android:textSize="@dimen/big_text_p5" /> | |
90 | - | |
91 | - </LinearLayout> | |
92 | - | |
93 | -</RelativeLayout> | |
94 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_pingsheng_result_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" > | |
5 | - | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:layout_width="fill_parent" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:background="#ffffff" > | |
11 | - | |
12 | - | |
13 | - <TextView | |
14 | - android:id="@+id/list_result_item_num" | |
15 | - android:layout_width="70dp" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_alignParentLeft="true" | |
18 | - android:layout_centerVertical="true" | |
19 | - android:layout_marginLeft="5dp" | |
20 | - android:gravity="center" | |
21 | - android:text="1" | |
22 | - android:textSize="30px" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/list_result_item_name" | |
26 | - android:layout_width="100dp" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_centerVertical="true" | |
29 | - android:layout_marginLeft="5dp" | |
30 | - android:layout_toRightOf="@id/list_result_item_num" | |
31 | - android:gravity="center" | |
32 | - android:text="" | |
33 | - android:textSize="30px" /> | |
34 | - | |
35 | - <TextView | |
36 | - android:id="@+id/list_result_item_xianren" | |
37 | - android:layout_width="600dp" | |
38 | - android:layout_height="wrap_content" | |
39 | - android:layout_marginTop="10dp" | |
40 | - android:layout_marginLeft="15dp" | |
41 | - android:layout_toRightOf="@id/list_result_item_name" | |
42 | - android:text="xr" | |
43 | - android:textSize="25sp" /> | |
44 | - | |
45 | - <TextView | |
46 | - android:id="@+id/list_result_item_niren" | |
47 | - android:layout_width="600dp" | |
48 | - android:layout_height="wrap_content" | |
49 | - android:layout_marginTop="10dp" | |
50 | - android:layout_marginLeft="15dp" | |
51 | - android:layout_below="@id/list_result_item_xianren" | |
52 | - android:layout_toRightOf="@id/list_result_item_name" | |
53 | - android:text="xr" | |
54 | - android:textSize="25sp" /> | |
55 | - | |
56 | - <TextView | |
57 | - android:id="@+id/list_result_item_nimian" | |
58 | - android:layout_width="600dp" | |
59 | - android:layout_height="wrap_content" | |
60 | - android:layout_marginTop="10dp" | |
61 | - android:layout_marginLeft="15dp" | |
62 | - android:layout_marginBottom="10dp" | |
63 | - android:layout_toRightOf="@id/list_result_item_name" | |
64 | - android:layout_below="@id/list_result_item_niren" | |
65 | - android:text="xr" | |
66 | - android:textSize="25sp" /> | |
67 | - | |
68 | - <TextView | |
69 | - android:id="@+id/list_result_item_agree" | |
70 | - android:layout_width="80dp" | |
71 | - android:layout_height="wrap_content" | |
72 | - android:layout_toRightOf="@id/list_result_item_nimian" | |
73 | - android:layout_centerVertical="true" | |
74 | - android:layout_marginLeft="10dp" | |
75 | - android:gravity="center" | |
76 | - android:text="@string/agree" | |
77 | - android:textSize="30px" | |
78 | - /> | |
79 | - | |
80 | - <TextView | |
81 | - android:id="@+id/list_result_item_oppose" | |
82 | - android:layout_width="80dp" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_toRightOf="@id/list_result_item_agree" | |
85 | - android:layout_centerVertical="true" | |
86 | - android:layout_marginLeft="5dp" | |
87 | - android:gravity="center" | |
88 | - android:text="@string/oppose" | |
89 | - android:textSize="30px" | |
90 | - /> | |
91 | - | |
92 | - <TextView | |
93 | - android:id="@+id/list_result_item_abstan" | |
94 | - android:layout_width="80dp" | |
95 | - android:layout_height="wrap_content" | |
96 | - android:layout_toRightOf="@id/list_result_item_oppose" | |
97 | - android:layout_centerVertical="true" | |
98 | - android:layout_marginLeft="5dp" | |
99 | - android:gravity="center" | |
100 | - android:text="@string/abstant" | |
101 | - android:textSize="30px" | |
102 | - /> | |
103 | - | |
104 | - <TextView | |
105 | - android:id="@+id/list_result_item_result" | |
106 | - android:layout_width="100dp" | |
107 | - android:layout_height="wrap_content" | |
108 | - android:layout_toRightOf="@id/list_result_item_abstan" | |
109 | - android:layout_centerVertical="true" | |
110 | - android:layout_marginLeft="5dp" | |
111 | - android:gravity="center" | |
112 | - android:text="@string/pass" | |
113 | - android:textSize="30px" | |
114 | - /> | |
115 | - </RelativeLayout> | |
116 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-160dpi-1280x752/list_result_election_item.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="wrap_content" | |
5 | - android:layout_marginTop="@dimen/content_margin" | |
6 | - android:layout_marginBottom="@dimen/content_margin"> | |
7 | - | |
8 | - | |
9 | - <TextView | |
10 | - android:id="@+id/item_result_election_num" | |
11 | - android:layout_width="match_parent" | |
12 | - android:layout_height="match_parent" | |
13 | - android:layout_centerVertical="true" | |
14 | - android:text="@string/name_index" | |
15 | - android:textColor="@color/white" | |
16 | - android:textSize="@dimen/big_text_p4" | |
17 | - android:paddingLeft="@dimen/content_margin" | |
18 | - android:layout_weight="1" | |
19 | - android:textStyle="bold" /> | |
20 | - | |
21 | - <TextView | |
22 | - android:id="@+id/item_result_election_name" | |
23 | - android:layout_width="match_parent" | |
24 | - android:layout_height="match_parent" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:text="@string/name_xpad" | |
27 | - android:textColor="@color/white" | |
28 | - android:textSize="@dimen/big_text_p4" | |
29 | - android:layout_weight="1" | |
30 | - android:textStyle="bold" /> | |
31 | - | |
32 | - <TextView | |
33 | - android:id="@+id/item_result_election_agree" | |
34 | - android:layout_width="match_parent" | |
35 | - android:layout_height="match_parent" | |
36 | - android:layout_alignParentRight="true" | |
37 | - android:layout_centerVertical="true" | |
38 | - android:text="@string/agree_num" | |
39 | - android:textColor="@color/white" | |
40 | - android:layout_weight="1" | |
41 | - android:textSize="@dimen/big_text_p4" | |
42 | - android:gravity="center" | |
43 | - android:textStyle="bold" /> | |
44 | - | |
45 | - <TextView | |
46 | - android:id="@+id/item_result_election_oppose_num" | |
47 | - android:layout_width="match_parent" | |
48 | - android:layout_height="match_parent" | |
49 | - android:layout_alignParentRight="true" | |
50 | - android:layout_centerVertical="true" | |
51 | - android:text="@string/oppose_num" | |
52 | - android:textColor="@color/white" | |
53 | - android:layout_weight="1" | |
54 | - android:gravity="center" | |
55 | - android:textSize="@dimen/big_text_p4" | |
56 | - android:textStyle="bold" /> | |
57 | - | |
58 | - <TextView | |
59 | - android:id="@+id/item_result_election_abstant_num" | |
60 | - android:layout_width="match_parent" | |
61 | - android:layout_height="match_parent" | |
62 | - android:layout_alignParentRight="true" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_weight="1" | |
65 | - android:text="@string/abstant_num" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:gravity="center" | |
69 | - android:textStyle="bold" /> | |
70 | - | |
71 | - <TextView | |
72 | - android:id="@+id/item_result_election_result" | |
73 | - android:layout_width="match_parent" | |
74 | - android:layout_height="match_parent" | |
75 | - android:layout_alignParentRight="true" | |
76 | - android:layout_centerVertical="true" | |
77 | - android:text="@string/result" | |
78 | - android:layout_weight="1" | |
79 | - android:paddingLeft="@dimen/content_margin" | |
80 | - android:textColor="@color/white" | |
81 | - android:textSize="@dimen/big_text_p4" | |
82 | - android:textStyle="bold" /> | |
83 | - | |
84 | -</LinearLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/activity_main.xml deleted
1 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | - xmlns:tools="http://schemas.android.com/tools" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - tools:context="com.sunvote.xpadapp.MainActivity"> | |
6 | - | |
7 | - <FrameLayout | |
8 | - android:id="@+id/frame_content" | |
9 | - android:layout_width="fill_parent" | |
10 | - android:layout_height="fill_parent" /> | |
11 | - | |
12 | - <TextView | |
13 | - android:id="@+id/terminal_id" | |
14 | - android:layout_width="wrap_content" | |
15 | - android:layout_height="wrap_content" | |
16 | - android:layout_alignParentTop="true" | |
17 | - android:layout_centerHorizontal="true" | |
18 | - android:gravity="center_horizontal" | |
19 | - android:text="land-280dpi-1920*1116" /> | |
20 | - | |
21 | - <ImageView | |
22 | - android:id="@+id/service" | |
23 | - android:layout_width="50dp" | |
24 | - android:layout_height="50dp" | |
25 | - android:layout_centerVertical="true" | |
26 | - android:layout_alignParentRight="true" | |
27 | - android:layout_marginRight="20dp" | |
28 | - android:layout_marginBottom="20dp" | |
29 | - android:src="@drawable/service_server" /> | |
30 | - | |
31 | - <RelativeLayout | |
32 | - android:id="@+id/service_panel" | |
33 | - android:layout_width="wrap_content" | |
34 | - android:layout_height="wrap_content" | |
35 | - android:background="@color/white" | |
36 | - android:layout_centerInParent="true" | |
37 | - android:visibility="gone"> | |
38 | - <include layout="@layout/dialog_service" /> | |
39 | - </RelativeLayout> | |
40 | - | |
41 | - <FrameLayout | |
42 | - android:id="@+id/lockscreen" | |
43 | - android:layout_width="fill_parent" | |
44 | - android:layout_height="fill_parent" | |
45 | - android:visibility="gone"></FrameLayout> | |
46 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/activity_pdf.xml deleted
C5/app/src/main/res/layout-land-280dpi-1920x1116/activity_qrcode_connect_wifi.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent"> | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/msg" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:layout_centerInParent="true" | |
12 | - android:gravity="center" | |
13 | - android:text="正在连接wifi"/> | |
14 | - | |
15 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/dialog_service.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
4 | - android:layout_width="wrap_content" | |
5 | - android:layout_height="wrap_content" | |
6 | - android:orientation="vertical" | |
7 | - android:padding="16dp"> | |
8 | - <TextView | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:text="呼叫服务" | |
12 | - android:textStyle="bold" | |
13 | - android:textSize="18sp"/> | |
14 | - <LinearLayout | |
15 | - android:layout_width="530dp" | |
16 | - android:layout_height="250dp" | |
17 | - android:layout_marginTop="10dp" | |
18 | - android:layout_above="@id/button_line" | |
19 | - android:orientation="vertical"> | |
20 | - | |
21 | - <LinearLayout | |
22 | - android:layout_width="match_parent" | |
23 | - android:layout_height="0dp" | |
24 | - android:layout_weight="1"> | |
25 | - | |
26 | - <LinearLayout | |
27 | - android:layout_width="0dp" | |
28 | - android:layout_height="match_parent" | |
29 | - android:id="@+id/paper_linear" | |
30 | - android:layout_weight="1"> | |
31 | - | |
32 | - <ImageView | |
33 | - android:id="@+id/paper_img" | |
34 | - android:layout_width="wrap_content" | |
35 | - android:layout_height="wrap_content" | |
36 | - android:src="@drawable/service_paper_unchoose" /> | |
37 | - | |
38 | - <TextView | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:text="@string/service_paper" | |
42 | - android:gravity="bottom" | |
43 | - android:textSize="18sp" | |
44 | - android:layout_gravity="bottom"/> | |
45 | - </LinearLayout> | |
46 | - | |
47 | - <LinearLayout | |
48 | - android:layout_width="0dp" | |
49 | - android:layout_height="match_parent" | |
50 | - android:id="@+id/pen_linear" | |
51 | - android:layout_weight="1"> | |
52 | - | |
53 | - <ImageView | |
54 | - android:id="@+id/pen_img" | |
55 | - android:layout_width="wrap_content" | |
56 | - android:layout_height="wrap_content" | |
57 | - android:src="@drawable/service_pen_unchoose" /> | |
58 | - <TextView | |
59 | - android:layout_width="wrap_content" | |
60 | - android:layout_height="wrap_content" | |
61 | - android:text="笔" | |
62 | - android:gravity="bottom" | |
63 | - android:textSize="18sp" | |
64 | - android:layout_gravity="bottom"/> | |
65 | - </LinearLayout> | |
66 | - | |
67 | - <LinearLayout | |
68 | - android:layout_width="0dp" | |
69 | - android:id="@+id/calc_linear" | |
70 | - android:layout_height="match_parent" | |
71 | - android:layout_weight="1"> | |
72 | - | |
73 | - <ImageView | |
74 | - android:id="@+id/calc_img" | |
75 | - android:layout_width="wrap_content" | |
76 | - android:layout_height="wrap_content" | |
77 | - android:src="@drawable/service_calc_unchoose" /> | |
78 | - <TextView | |
79 | - android:layout_width="wrap_content" | |
80 | - android:layout_height="wrap_content" | |
81 | - android:text="计算器" | |
82 | - android:gravity="bottom" | |
83 | - android:textSize="18sp" | |
84 | - android:layout_gravity="bottom"/> | |
85 | - | |
86 | - | |
87 | - </LinearLayout> | |
88 | - </LinearLayout> | |
89 | - | |
90 | - <LinearLayout | |
91 | - android:layout_width="match_parent" | |
92 | - android:layout_height="0dp" | |
93 | - android:layout_marginTop="16dp" | |
94 | - android:layout_weight="1"> | |
95 | - | |
96 | - <LinearLayout | |
97 | - android:layout_width="0dp" | |
98 | - android:id="@+id/tea_linear" | |
99 | - android:layout_height="match_parent" | |
100 | - android:layout_weight="1"> | |
101 | - | |
102 | - <ImageView | |
103 | - android:id="@+id/tea_img" | |
104 | - android:layout_width="wrap_content" | |
105 | - android:layout_height="wrap_content" | |
106 | - android:src="@drawable/service_tea_unchoose" /> | |
107 | - <TextView | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:text="茶" | |
111 | - android:gravity="bottom" | |
112 | - android:textSize="18sp" | |
113 | - android:layout_gravity="bottom"/> | |
114 | - </LinearLayout> | |
115 | - | |
116 | - <LinearLayout | |
117 | - android:id="@+id/water_linear" | |
118 | - android:layout_width="0dp" | |
119 | - android:layout_height="match_parent" | |
120 | - android:layout_weight="1"> | |
121 | - | |
122 | - <ImageView | |
123 | - android:id="@+id/water_img" | |
124 | - android:layout_width="wrap_content" | |
125 | - android:layout_height="wrap_content" | |
126 | - android:src="@drawable/service_water_unchoose" /> | |
127 | - | |
128 | - <TextView | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:text="白开水" | |
132 | - android:gravity="bottom" | |
133 | - android:textSize="18sp" | |
134 | - android:layout_gravity="bottom"/> | |
135 | - | |
136 | - </LinearLayout> | |
137 | - | |
138 | - <LinearLayout | |
139 | - android:id="@+id/clean_linear" | |
140 | - android:layout_width="0dp" | |
141 | - android:layout_height="match_parent" | |
142 | - android:layout_weight="1"> | |
143 | - <ImageView | |
144 | - android:id="@+id/clean_img" | |
145 | - android:layout_width="wrap_content" | |
146 | - android:layout_height="wrap_content" | |
147 | - android:src="@drawable/service_clean_unchoose" /> | |
148 | - | |
149 | - <TextView | |
150 | - android:layout_width="wrap_content" | |
151 | - android:layout_height="wrap_content" | |
152 | - android:text="打扫" | |
153 | - android:gravity="bottom" | |
154 | - android:textSize="18sp" | |
155 | - android:layout_gravity="bottom"/> | |
156 | - | |
157 | - </LinearLayout> | |
158 | - </LinearLayout> | |
159 | - | |
160 | - <LinearLayout | |
161 | - android:layout_width="match_parent" | |
162 | - android:layout_height="0dp" | |
163 | - android:layout_marginTop="16dp" | |
164 | - android:layout_weight="1"> | |
165 | - | |
166 | - <LinearLayout | |
167 | - android:layout_width="0dp" | |
168 | - android:id="@+id/microphone_linear" | |
169 | - android:layout_height="match_parent" | |
170 | - android:layout_weight="1"> | |
171 | - | |
172 | - <ImageView | |
173 | - android:id="@+id/microphone_img" | |
174 | - android:layout_width="wrap_content" | |
175 | - android:layout_height="wrap_content" | |
176 | - android:src="@drawable/service_microphone_unchoose" /> | |
177 | - | |
178 | - <TextView | |
179 | - android:layout_width="wrap_content" | |
180 | - android:layout_height="wrap_content" | |
181 | - android:text="麦克风" | |
182 | - android:gravity="bottom" | |
183 | - android:textSize="18sp" | |
184 | - android:layout_gravity="bottom"/> | |
185 | - | |
186 | - </LinearLayout> | |
187 | - | |
188 | - <LinearLayout | |
189 | - android:layout_width="0dp" | |
190 | - android:id="@+id/technology_linear" | |
191 | - android:layout_height="match_parent" | |
192 | - android:layout_weight="1"> | |
193 | - | |
194 | - <ImageView | |
195 | - android:id="@+id/technology_img" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:src="@drawable/service_technology_unchoose" /> | |
199 | - <TextView | |
200 | - android:layout_width="wrap_content" | |
201 | - android:layout_height="wrap_content" | |
202 | - android:text="技术人员" | |
203 | - android:gravity="bottom" | |
204 | - android:textSize="18sp" | |
205 | - android:layout_gravity="bottom"/> | |
206 | - </LinearLayout> | |
207 | - | |
208 | - <LinearLayout | |
209 | - android:id="@+id/admin_button" | |
210 | - android:layout_width="0dp" | |
211 | - android:layout_height="match_parent" | |
212 | - android:orientation="horizontal" | |
213 | - android:layout_weight="1"></LinearLayout> | |
214 | - </LinearLayout> | |
215 | - </LinearLayout> | |
216 | - <LinearLayout | |
217 | - android:id="@+id/button_line" | |
218 | - android:layout_width="530dp" | |
219 | - android:layout_height="40dp" | |
220 | - android:layout_alignParentBottom="true" | |
221 | - android:orientation="horizontal"> | |
222 | - | |
223 | - <View | |
224 | - android:layout_width="0dp" | |
225 | - android:layout_height="wrap_content" | |
226 | - android:layout_weight="1" /> | |
227 | - | |
228 | - <Button | |
229 | - android:id="@+id/cancel" | |
230 | - android:layout_width="100dp" | |
231 | - android:layout_height="match_parent" | |
232 | - android:layout_marginRight="10dp" | |
233 | - android:visibility="invisible" | |
234 | - android:text="@string/cancel" /> | |
235 | - | |
236 | - <Button | |
237 | - android:id="@+id/submit" | |
238 | - android:layout_width="100dp" | |
239 | - android:layout_height="match_parent" | |
240 | - android:layout_marginRight="10dp" | |
241 | - android:text="@string/ok" /> | |
242 | - </LinearLayout> | |
243 | -</LinearLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_admin.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ffa9a9a9"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/admin_modal_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="48dp" | |
13 | - android:text="@string/admin_setting" | |
14 | - android:textSize="@dimen/big_text_p2" | |
15 | - android:textStyle="bold" /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/admin_modal_info" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/admin_modal_title" | |
22 | - android:layout_centerHorizontal="true" | |
23 | - android:layout_marginTop="30dp" | |
24 | - android:textSize="@dimen/big_text_p4" /> | |
25 | - | |
26 | - <ImageButton | |
27 | - android:id="@+id/admin_btnback" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_marginLeft="20dp" | |
31 | - android:layout_marginTop="20dp" | |
32 | - android:background="@drawable/back_selector" /> | |
33 | - | |
34 | - <Button | |
35 | - android:id="@+id/admin_config_mode" | |
36 | - android:layout_width="200dp" | |
37 | - android:layout_height="60dp" | |
38 | - android:layout_alignParentLeft="true" | |
39 | - android:layout_centerVertical="true" | |
40 | - android:layout_marginLeft="120dp" | |
41 | - android:background="@drawable/agree_selector" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/modifi_idsn" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p5" | |
46 | - android:textStyle="bold" /> | |
47 | - | |
48 | - <Button | |
49 | - android:id="@+id/admin_btnComTest" | |
50 | - android:layout_width="200dp" | |
51 | - android:layout_height="60dp" | |
52 | - android:layout_below="@id/admin_config_mode" | |
53 | - android:layout_marginLeft="120dp" | |
54 | - android:layout_marginTop="40dp" | |
55 | - android:background="@drawable/agree_selector" | |
56 | - android:gravity="center" | |
57 | - android:text="重定向服务器" | |
58 | - android:textColor="@color/white" | |
59 | - android:textSize="@dimen/big_text_p5" | |
60 | - android:textStyle="bold" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/admin_btnShutdown" | |
64 | - android:layout_width="200dp" | |
65 | - android:layout_height="60dp" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="120dp" | |
69 | - android:background="@drawable/oppos_selector" | |
70 | - android:gravity="center" | |
71 | - android:text="@string/shutdown" | |
72 | - android:textColor="@color/white" | |
73 | - android:textSize="@dimen/big_text_p5" | |
74 | - android:textStyle="bold"/> | |
75 | - | |
76 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_choice10_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" | |
6 | - > | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/choice10_btnback" | |
10 | - android:background="@drawable/back_selector" | |
11 | - android:layout_width="wrap_content" | |
12 | - android:layout_height="wrap_content" | |
13 | - android:layout_marginLeft="36px" | |
14 | - android:layout_marginTop="48px" | |
15 | - /> | |
16 | - | |
17 | - <TextView | |
18 | - android:id="@+id/keypad_test_choice10_title" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_centerHorizontal="true" | |
22 | - android:layout_marginTop="48px" | |
23 | - android:textSize="40px" | |
24 | - android:text="@string/keypad_test" | |
25 | - /> | |
26 | - | |
27 | - <LinearLayout | |
28 | - android:id="@+id/keypad_test_choice10_top_layout" | |
29 | - android:layout_width="match_parent" | |
30 | - android:layout_height="80dp" | |
31 | - android:layout_below="@id/keypad_test_choice10_title" | |
32 | - android:layout_marginTop="150dp" | |
33 | - android:layout_marginLeft="30dp" | |
34 | - android:layout_marginRight="30dp" | |
35 | - android:orientation="horizontal" | |
36 | - > | |
37 | - | |
38 | - <Button | |
39 | - android:id="@+id/keypad_test_choice10_btn_1" | |
40 | - android:layout_width="0dp" | |
41 | - android:layout_height="match_parent" | |
42 | - android:layout_weight="1" | |
43 | - android:layout_marginLeft="30dp" | |
44 | - android:layout_marginRight="30dp" | |
45 | - android:background="@drawable/agree_selector" | |
46 | - android:text="A" | |
47 | - android:gravity="center" | |
48 | - android:textColor="@color/white" | |
49 | - android:textSize="36px" | |
50 | - android:textStyle="bold" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/keypad_test_choice10_btn_2" | |
54 | - android:layout_width="0dp" | |
55 | - android:layout_height="match_parent" | |
56 | - android:layout_weight="1" | |
57 | - android:layout_marginLeft="30dp" | |
58 | - android:layout_marginRight="30dp" | |
59 | - android:background="@drawable/agree_selector" | |
60 | - android:text="B" | |
61 | - android:gravity="center" | |
62 | - android:textColor="@color/white" | |
63 | - android:textSize="36px" | |
64 | - android:textStyle="bold" /> | |
65 | - | |
66 | - <Button | |
67 | - android:id="@+id/keypad_test_choice10_btn_3" | |
68 | - android:layout_width="0dp" | |
69 | - android:layout_height="match_parent" | |
70 | - android:layout_weight="1" | |
71 | - android:layout_marginLeft="30dp" | |
72 | - android:layout_marginRight="30dp" | |
73 | - android:background="@drawable/agree_selector" | |
74 | - android:text="C" | |
75 | - android:gravity="center" | |
76 | - android:textColor="@color/white" | |
77 | - android:textSize="36px" | |
78 | - android:textStyle="bold" /> | |
79 | - | |
80 | - <Button | |
81 | - android:id="@+id/keypad_test_choice10_btn_4" | |
82 | - android:layout_width="0dp" | |
83 | - android:layout_height="match_parent" | |
84 | - android:layout_weight="1" | |
85 | - android:layout_marginLeft="30dp" | |
86 | - android:layout_marginRight="30dp" | |
87 | - android:background="@drawable/agree_selector" | |
88 | - android:text="D" | |
89 | - android:gravity="center" | |
90 | - android:textColor="@color/white" | |
91 | - android:textSize="36px" | |
92 | - android:textStyle="bold" /> | |
93 | - | |
94 | - <Button | |
95 | - android:id="@+id/keypad_test_choice10_btn_5" | |
96 | - android:layout_width="0dp" | |
97 | - android:layout_height="match_parent" | |
98 | - android:layout_weight="1" | |
99 | - android:layout_marginLeft="30dp" | |
100 | - android:layout_marginRight="30dp" | |
101 | - android:background="@drawable/agree_selector" | |
102 | - android:text="E" | |
103 | - android:gravity="center" | |
104 | - android:textColor="@color/white" | |
105 | - android:textSize="36px" | |
106 | - android:textStyle="bold" /> | |
107 | - | |
108 | - </LinearLayout> | |
109 | - | |
110 | - <LinearLayout | |
111 | - android:id="@+id/keypad_test_choice10_top2_layout" | |
112 | - android:layout_width="match_parent" | |
113 | - android:layout_height="80dp" | |
114 | - android:layout_below="@id/keypad_test_choice10_top_layout" | |
115 | - android:layout_marginTop="80dp" | |
116 | - android:layout_marginLeft="30dp" | |
117 | - android:layout_marginRight="30dp" | |
118 | - android:orientation="horizontal" | |
119 | - > | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/keypad_test_choice10_btn_6" | |
123 | - android:layout_width="0dp" | |
124 | - android:layout_height="match_parent" | |
125 | - android:layout_weight="1" | |
126 | - android:layout_marginLeft="30dp" | |
127 | - android:layout_marginRight="30dp" | |
128 | - android:background="@drawable/agree_selector" | |
129 | - android:text="F" | |
130 | - android:gravity="center" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="36px" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/keypad_test_choice10_btn_7" | |
137 | - android:layout_width="0dp" | |
138 | - android:layout_height="match_parent" | |
139 | - android:layout_weight="1" | |
140 | - android:layout_marginLeft="30dp" | |
141 | - android:layout_marginRight="30dp" | |
142 | - android:background="@drawable/agree_selector" | |
143 | - android:text="G" | |
144 | - android:gravity="center" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="36px" | |
147 | - android:textStyle="bold" /> | |
148 | - | |
149 | - <Button | |
150 | - android:id="@+id/keypad_test_choice10_btn_8" | |
151 | - android:layout_width="0dp" | |
152 | - android:layout_height="match_parent" | |
153 | - android:layout_weight="1" | |
154 | - android:layout_marginLeft="30dp" | |
155 | - android:layout_marginRight="30dp" | |
156 | - android:background="@drawable/agree_selector" | |
157 | - android:text="H" | |
158 | - android:gravity="center" | |
159 | - android:textColor="@color/white" | |
160 | - android:textSize="36px" | |
161 | - android:textStyle="bold" /> | |
162 | - | |
163 | - <Button | |
164 | - android:id="@+id/keypad_test_choice10_btn_9" | |
165 | - android:layout_width="0dp" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_weight="1" | |
168 | - android:layout_marginLeft="30dp" | |
169 | - android:layout_marginRight="30dp" | |
170 | - android:background="@drawable/agree_selector" | |
171 | - android:text="I" | |
172 | - android:gravity="center" | |
173 | - | |
174 | - android:textColor="@color/white" | |
175 | - android:textSize="36px" | |
176 | - android:textStyle="bold" /> | |
177 | - | |
178 | - <Button | |
179 | - android:id="@+id/keypad_test_choice10_btn_10" | |
180 | - android:layout_width="0dp" | |
181 | - android:layout_height="match_parent" | |
182 | - android:layout_weight="1" | |
183 | - android:layout_marginLeft="30dp" | |
184 | - android:layout_marginRight="30dp" | |
185 | - android:background="@drawable/agree_selector" | |
186 | - android:text="J" | |
187 | - android:gravity="center" | |
188 | - android:textColor="@color/white" | |
189 | - android:textSize="36px" | |
190 | - android:textStyle="bold" /> | |
191 | - | |
192 | - </LinearLayout> | |
193 | - | |
194 | - <TextView | |
195 | - android:id="@+id/keypad_test_choice10_info" | |
196 | - android:layout_width="wrap_content" | |
197 | - android:layout_height="wrap_content" | |
198 | - android:layout_centerHorizontal="true" | |
199 | - android:layout_below="@id/keypad_test_choice10_top2_layout" | |
200 | - android:layout_marginTop="150px" | |
201 | - android:textSize="30px" | |
202 | - /> | |
203 | - | |
204 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_com_error.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#EAB530"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/com_error_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:paddingTop="60dp" | |
13 | - android:text="@string/welcome" | |
14 | - android:textSize="@dimen/big_text_p3" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/device_problem" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerInParent="true" | |
21 | - android:text="@string/base_connecting" | |
22 | - android:textSize="@dimen/big_text_p3" /> | |
23 | - | |
24 | - <View | |
25 | - android:id="@+id/com_error_btn_admin" | |
26 | - android:layout_width="@dimen/button_width" | |
27 | - android:layout_height="@dimen/button_width" | |
28 | - android:layout_alignParentBottom="true" | |
29 | - android:layout_alignParentRight="true" /> | |
30 | - | |
31 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_communication_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" > | |
5 | - | |
6 | - <TextView | |
7 | - android:id="@+id/comm_test_tv_result" | |
8 | - android:layout_width="wrap_content" | |
9 | - android:layout_height="wrap_content" | |
10 | - android:layout_centerInParent="true" | |
11 | - android:text="@string/keypad_test" | |
12 | - android:textSize="@dimen/big_text_p4"/> | |
13 | - | |
14 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_contentvote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/contentvote_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/contentvote_tvmodify" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:textSize="@dimen/big_text_p4" /> | |
24 | - | |
25 | - <ImageButton | |
26 | - android:id="@+id/contentvote_bigger" | |
27 | - android:layout_width="@dimen/content_margin" | |
28 | - android:layout_height="@dimen/content_margin" | |
29 | - android:layout_alignParentRight="true" | |
30 | - android:layout_marginRight="@dimen/content_margin" | |
31 | - android:layout_marginTop="@dimen/content_margin" | |
32 | - android:background="@drawable/bigger" /> | |
33 | - | |
34 | - <ImageButton | |
35 | - android:id="@+id/contentvote_smaller" | |
36 | - android:layout_width="@dimen/content_margin" | |
37 | - android:layout_height="@dimen/content_margin" | |
38 | - android:layout_marginRight="@dimen/content_margin" | |
39 | - android:layout_marginTop="@dimen/content_margin" | |
40 | - android:layout_toLeftOf="@id/contentvote_bigger" | |
41 | - android:background="@drawable/smaller" /> | |
42 | - | |
43 | - <ScrollView | |
44 | - android:id="@+id/contentvote_scview" | |
45 | - android:layout_width="fill_parent" | |
46 | - android:layout_height="fill_parent" | |
47 | - android:layout_marginBottom="@dimen/content_margin" | |
48 | - android:layout_marginLeft="@dimen/content_margin" | |
49 | - android:layout_marginRight="@dimen/content_margin" | |
50 | - android:layout_marginTop="@dimen/content_margin" | |
51 | - android:layout_below="@id/contentvote_title" | |
52 | - android:background="@color/white" | |
53 | - android:fillViewport="false" | |
54 | - android:scrollbars="none"> | |
55 | - | |
56 | - <WebView | |
57 | - android:id="@+id/contentvote_content" | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:background="@color/white" /> | |
61 | - | |
62 | - </ScrollView> | |
63 | - | |
64 | - <TextView | |
65 | - android:id="@+id/contentvote_tv_result" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" | |
68 | - android:layout_alignTop="@id/contentvote_scview" | |
69 | - android:layout_centerInParent="true" | |
70 | - android:layout_marginTop="@dimen/content_margin" | |
71 | - android:background="@drawable/voted_empty" | |
72 | - android:gravity="center" | |
73 | - android:rotation="-20" | |
74 | - android:text="" | |
75 | - android:textColor="#ddff9933" | |
76 | - android:textSize="@dimen/big_text_p2" | |
77 | - android:textStyle="bold" | |
78 | - android:visibility="visible" /> | |
79 | - | |
80 | - <RelativeLayout | |
81 | - android:id="@+id/contentvote_pannal_vote" | |
82 | - android:layout_width="match_parent" | |
83 | - android:layout_height="@dimen/linear_heigh" | |
84 | - android:layout_alignParentBottom="true" | |
85 | - android:alpha="0.9" | |
86 | - android:background="@drawable/black_alpha"> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/contentvote_btnB" | |
90 | - android:layout_width="@dimen/button_width" | |
91 | - android:layout_height="@dimen/button_heigh" | |
92 | - android:layout_centerHorizontal="true" | |
93 | - android:layout_centerVertical="true" | |
94 | - android:background="@drawable/oppos_selector" | |
95 | - android:gravity="center" | |
96 | - android:text="" | |
97 | - android:textColor="@color/white" | |
98 | - android:textSize="@dimen/big_text_p4" | |
99 | - android:textStyle="bold" /> | |
100 | - | |
101 | - <Button | |
102 | - android:id="@+id/contentvote_btnA" | |
103 | - android:layout_width="@dimen/button_width" | |
104 | - android:layout_height="@dimen/button_heigh" | |
105 | - android:layout_centerVertical="true" | |
106 | - android:layout_marginRight="@dimen/content_margin" | |
107 | - android:layout_toLeftOf="@id/contentvote_btnB" | |
108 | - android:background="@drawable/agree_selector" | |
109 | - android:text="赞成" | |
110 | - android:textColor="@color/white" | |
111 | - android:textSize="@dimen/big_text_p4" | |
112 | - android:textStyle="bold" /> | |
113 | - | |
114 | - <Button | |
115 | - android:id="@+id/contentvote_btnC" | |
116 | - android:layout_width="@dimen/button_width" | |
117 | - android:layout_height="@dimen/button_heigh" | |
118 | - android:layout_centerVertical="true" | |
119 | - android:layout_marginLeft="@dimen/content_margin" | |
120 | - android:layout_toRightOf="@id/contentvote_btnB" | |
121 | - android:background="@drawable/abstain_selector" | |
122 | - android:text="" | |
123 | - android:textColor="@color/white" | |
124 | - android:textSize="@dimen/big_text_p4" | |
125 | - android:textStyle="bold" /> | |
126 | - </RelativeLayout> | |
127 | - | |
128 | - <RelativeLayout | |
129 | - android:id="@+id/contentvote_pannal_tips" | |
130 | - android:layout_width="match_parent" | |
131 | - android:layout_height="@dimen/linear_heigh" | |
132 | - android:layout_alignParentBottom="true" | |
133 | - android:alpha="0.9" | |
134 | - android:background="@drawable/black_alpha" | |
135 | - android:visibility="invisible"> | |
136 | - | |
137 | - <TextView | |
138 | - android:id="@+id/contentvote_tv_tips" | |
139 | - android:layout_width="wrap_content" | |
140 | - android:layout_height="wrap_content" | |
141 | - android:layout_centerHorizontal="true" | |
142 | - android:layout_centerVertical="true" | |
143 | - android:layout_marginTop="@dimen/content_margin" | |
144 | - android:text="@string/submiting" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p4" /> | |
147 | - </RelativeLayout> | |
148 | - | |
149 | - <RelativeLayout | |
150 | - android:id="@+id/contentvote_pannal_modify" | |
151 | - android:layout_width="match_parent" | |
152 | - android:layout_height="@dimen/linear_heigh" | |
153 | - android:layout_alignParentBottom="true" | |
154 | - android:alpha="0.9" | |
155 | - android:background="@drawable/black_alpha" | |
156 | - android:visibility="invisible"> | |
157 | - | |
158 | - <Button | |
159 | - android:id="@+id/contentvote_btn_modify" | |
160 | - android:layout_width="wrap_content" | |
161 | - android:layout_height="wrap_content" | |
162 | - android:layout_centerHorizontal="true" | |
163 | - android:layout_centerVertical="true" | |
164 | - android:background="@drawable/signin_selector" | |
165 | - android:text="@string/modify" | |
166 | - android:textColor="@color/white" | |
167 | - android:textSize="@dimen/big_text_p4" | |
168 | - android:textStyle="bold" /> | |
169 | - </RelativeLayout> | |
170 | -</RelativeLayout> | |
171 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_document_browser.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/document_browser_btnback" | |
9 | - android:background="@drawable/back_selector" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="@dimen/content_margin" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:visibility="gone"/> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/document_browser_title" | |
18 | - android:layout_width="fill_parent" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_marginLeft="@dimen/content_margin" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:layout_marginRight="@dimen/content_margin" | |
23 | - android:layout_toRightOf="@id/document_browser_btnback" | |
24 | - android:text="@string/doc_title" | |
25 | - android:gravity="center" | |
26 | - android:textColor="@color/black" | |
27 | - android:textSize="@dimen/big_text_p3" | |
28 | - android:textStyle="bold"/> | |
29 | - | |
30 | - <RelativeLayout | |
31 | - android:id="@+id/document_browser_pannal_bottom" | |
32 | - android:layout_width="match_parent" | |
33 | - android:layout_height="80dp" | |
34 | - android:layout_alignParentBottom="true" | |
35 | - android:alpha="0.9" | |
36 | - android:background="@drawable/gray_alpha" | |
37 | - android:visibility="visible" > | |
38 | - | |
39 | - | |
40 | - | |
41 | - <View | |
42 | - android:id="@+id/document_browser_page" | |
43 | - android:layout_width="@dimen/button_width" | |
44 | - android:layout_height="@dimen/content_margin" | |
45 | - android:layout_centerInParent="true" | |
46 | - android:textSize="@dimen/big_text_p4" | |
47 | - android:visibility="invisible" /> | |
48 | - | |
49 | - <Button | |
50 | - android:id="@+id/document_browser_pageup" | |
51 | - android:layout_width="wrap_content" | |
52 | - android:layout_height="wrap_content" | |
53 | - android:layout_centerVertical="true" | |
54 | - android:layout_toLeftOf="@id/document_browser_page" | |
55 | - android:background="@drawable/page_selector" | |
56 | - android:text="@string/page_up" | |
57 | - android:textSize="@dimen/big_text_p4" /> | |
58 | - | |
59 | - <Button | |
60 | - android:id="@+id/document_browser_pagedown" | |
61 | - android:layout_width="wrap_content" | |
62 | - android:layout_height="wrap_content" | |
63 | - android:layout_centerVertical="true" | |
64 | - android:layout_toRightOf="@id/document_browser_page" | |
65 | - android:background="@drawable/page_selector" | |
66 | - android:text="@string/page_down" | |
67 | - android:textSize="@dimen/big_text_p4" /> | |
68 | - | |
69 | - | |
70 | - </RelativeLayout> | |
71 | - | |
72 | - <ListView | |
73 | - android:id="@+id/document_browser_listview" | |
74 | - android:layout_width="fill_parent" | |
75 | - android:layout_height="fill_parent" | |
76 | - android:layout_above="@id/document_browser_pannal_bottom" | |
77 | - android:layout_below="@id/document_browser_title" | |
78 | - android:layout_marginBottom="1dp" | |
79 | - android:layout_marginLeft="@dimen/content_margin" | |
80 | - android:layout_marginRight="@dimen/content_margin" | |
81 | - android:layout_marginTop="@dimen/content_margin" | |
82 | - android:divider="@color/votebakground" | |
83 | - android:dividerHeight="2dp" | |
84 | - android:fastScrollEnabled="false" > | |
85 | - </ListView> | |
86 | - | |
87 | -</RelativeLayout> | |
88 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_download.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/bluebackground" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/download_title" | |
9 | - android:text="@string/connect_server_ing" | |
10 | - android:textSize="@dimen/big_text_p1" | |
11 | - android:textColor="@color/white" | |
12 | - android:textStyle="bold" | |
13 | - android:layout_width="wrap_content" | |
14 | - android:layout_height="wrap_content" | |
15 | - android:layout_centerInParent="true" | |
16 | - android:layout_marginLeft="@dimen/button_width" | |
17 | - android:layout_marginRight="@dimen/button_width" | |
18 | - | |
19 | - /> | |
20 | - | |
21 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_election.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:id="@+id/election_layout" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" | |
6 | - android:background="@color/votebakground" > | |
7 | - | |
8 | - <TextView | |
9 | - android:id="@+id/election_title" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:layout_marginTop="@dimen/content_margin" | |
14 | - android:layout_marginLeft="@dimen/content_margin" | |
15 | - android:layout_marginRight="@dimen/content_margin" | |
16 | - android:ellipsize="end" | |
17 | - android:gravity="center" | |
18 | - android:lines="1" | |
19 | - android:text="@string/sunvote_no_paper" | |
20 | - android:textSize="@dimen/big_text_p4" /> | |
21 | - <RelativeLayout | |
22 | - android:id="@+id/election_pannal_OX" | |
23 | - android:layout_width="match_parent" | |
24 | - android:layout_height="@dimen/button_heigh" | |
25 | - android:layout_below="@+id/election_title" | |
26 | - android:visibility="gone" > | |
27 | - <TextView | |
28 | - android:id="@+id/xx" | |
29 | - android:layout_width="wrap_content" | |
30 | - android:layout_height="wrap_content" | |
31 | - android:layout_centerInParent="true"/> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/tv_all_ok" | |
35 | - android:layout_toRightOf="@+id/xx" | |
36 | - android:layout_width="wrap_content" | |
37 | - android:layout_height="wrap_content" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:text="全赞成" | |
40 | - android:layout_marginLeft="10dp" | |
41 | - android:textSize="@dimen/big_text_p4"/> | |
42 | - | |
43 | - <ImageButton | |
44 | - android:id="@+id/btn_all_ok" | |
45 | - android:layout_toRightOf="@+id/tv_all_ok" | |
46 | - android:background="@drawable/btn_oo" | |
47 | - android:layout_centerInParent="true" | |
48 | - android:layout_width="wrap_content" | |
49 | - android:layout_height="wrap_content" /> | |
50 | - | |
51 | - <TextView | |
52 | - android:id="@+id/tv_all_xx" | |
53 | - android:layout_width="wrap_content" | |
54 | - android:layout_height="wrap_content" | |
55 | - android:layout_marginLeft="@dimen/content_margin" | |
56 | - android:layout_centerInParent="true" | |
57 | - android:layout_toRightOf="@+id/btn_all_ok" | |
58 | - android:text="全反对" | |
59 | - android:textSize="@dimen/big_text_p4"/> | |
60 | - | |
61 | - <ImageButton | |
62 | - android:id="@+id/btn_all_xx" | |
63 | - android:layout_toRightOf="@+id/tv_all_xx" | |
64 | - android:background="@drawable/btn_xx" | |
65 | - android:layout_centerInParent="true" | |
66 | - android:layout_width="wrap_content" | |
67 | - android:layout_height="wrap_content" /> | |
68 | - </RelativeLayout> | |
69 | - <RelativeLayout | |
70 | - android:id="@+id/election_pannal_bottom" | |
71 | - android:layout_width="match_parent" | |
72 | - android:layout_height="@dimen/linear_heigh" | |
73 | - android:layout_alignParentBottom="true" | |
74 | - android:alpha="0.9" | |
75 | - android:background="@drawable/gray_alpha" | |
76 | - android:visibility="visible" > | |
77 | - | |
78 | - <TextView | |
79 | - android:id="@+id/election_info" | |
80 | - android:layout_width="wrap_content" | |
81 | - android:layout_height="wrap_content" | |
82 | - android:layout_centerVertical="true" | |
83 | - android:layout_marginLeft="@dimen/content_margin" | |
84 | - android:text="" | |
85 | - android:textSize="@dimen/big_text_p5" /> | |
86 | - | |
87 | - <TextView | |
88 | - android:id="@+id/election_page" | |
89 | - android:layout_width="wrap_content" | |
90 | - android:layout_height="wrap_content" | |
91 | - android:layout_centerInParent="true" | |
92 | - android:text="1/1" | |
93 | - android:textSize="@dimen/big_text_p5" | |
94 | - android:visibility="invisible"/> | |
95 | - | |
96 | - <Button | |
97 | - android:id="@+id/election_pageup" | |
98 | - android:layout_width="wrap_content" | |
99 | - android:layout_height="wrap_content" | |
100 | - android:layout_centerVertical="true" | |
101 | - android:layout_toLeftOf="@id/election_page" | |
102 | - android:background="@drawable/page_selector" | |
103 | - android:textSize="@dimen/big_text_p5" | |
104 | - android:text="@string/page_up" | |
105 | - android:visibility="visible" /> | |
106 | - | |
107 | - <Button | |
108 | - android:id="@+id/election_pagedown" | |
109 | - android:layout_width="wrap_content" | |
110 | - android:layout_height="wrap_content" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_toRightOf="@id/election_page" | |
113 | - android:background="@drawable/page_selector" | |
114 | - android:textSize="@dimen/big_text_p5" | |
115 | - android:text="@string/page_down" /> | |
116 | - | |
117 | - <Button | |
118 | - android:id="@+id/election_pagelast" | |
119 | - android:layout_width="wrap_content" | |
120 | - android:layout_height="wrap_content" | |
121 | - android:layout_centerVertical="true" | |
122 | - android:layout_marginLeft="@dimen/content_margin" | |
123 | - android:layout_toRightOf="@id/election_pagedown" | |
124 | - android:background="@drawable/page_selector" | |
125 | - android:textSize="@dimen/big_text_p5" | |
126 | - android:text="最后一页" /> | |
127 | - | |
128 | - <Button | |
129 | - android:id="@+id/election_btn_confirm" | |
130 | - android:layout_width="@dimen/button_width" | |
131 | - android:layout_height="wrap_content" | |
132 | - android:layout_alignParentRight="true" | |
133 | - android:layout_centerVertical="true" | |
134 | - android:layout_marginRight="@dimen/content_margin" | |
135 | - android:background="@drawable/signin_selector" | |
136 | - android:text="@string/confirm_submit" | |
137 | - android:textColor="@color/white" | |
138 | - android:textSize="@dimen/big_text_p5" | |
139 | - android:textStyle="bold" /> | |
140 | - | |
141 | - <Button | |
142 | - android:id="@+id/election_btn_modify" | |
143 | - android:layout_width="@dimen/button_width" | |
144 | - android:layout_height="wrap_content" | |
145 | - android:layout_alignParentRight="true" | |
146 | - android:layout_centerVertical="true" | |
147 | - android:layout_marginRight="@dimen/content_margin" | |
148 | - android:background="@drawable/signin_selector" | |
149 | - android:text="@string/modify" | |
150 | - android:textColor="@color/white" | |
151 | - android:textSize="@dimen/big_text_p5" | |
152 | - android:visibility="invisible" | |
153 | - android:textStyle="bold" /> | |
154 | - </RelativeLayout> | |
155 | - <ListView | |
156 | - android:id="@+id/election_listview" | |
157 | - android:layout_width="fill_parent" | |
158 | - android:layout_height="fill_parent" | |
159 | - android:layout_above="@id/election_pannal_bottom" | |
160 | - android:layout_below="@id/election_pannal_OX" | |
161 | - android:layout_marginTop="@dimen/content_margin" | |
162 | - android:layout_marginBottom="2dp" | |
163 | - android:layout_marginLeft="@dimen/content_margin" | |
164 | - android:layout_marginRight="@dimen/content_margin" | |
165 | - android:divider="@color/votebakground" | |
166 | - android:dividerHeight="2dp" > | |
167 | - </ListView> | |
168 | - <LinearLayout | |
169 | - android:id="@+id/election_add_other_panel" | |
170 | - android:layout_width="match_parent" | |
171 | - android:layout_height="match_parent" | |
172 | - android:background="@color/black" | |
173 | - android:orientation="vertical" | |
174 | - android:visibility="gone"> | |
175 | - | |
176 | - <!--输入框--> | |
177 | - <LinearLayout | |
178 | - android:layout_width="match_parent" | |
179 | - android:layout_height="match_parent" | |
180 | - android:orientation="horizontal" | |
181 | - android:layout_weight="0.2"> | |
182 | - | |
183 | - <LinearLayout | |
184 | - android:layout_width="match_parent" | |
185 | - android:layout_height="match_parent" | |
186 | - android:layout_margin="50dp" | |
187 | - android:layout_weight="1" | |
188 | - android:background="@drawable/shape" | |
189 | - android:orientation="vertical" | |
190 | - android:gravity="center"> | |
191 | - <TextView | |
192 | - android:layout_width="wrap_content" | |
193 | - android:layout_height="wrap_content" | |
194 | - android:layout_centerHorizontal="true" | |
195 | - android:text="@string/input_other" | |
196 | - android:textColor="@color/white" | |
197 | - android:layout_marginBottom="20dp" | |
198 | - android:textSize="@dimen/big_text_p5" /> | |
199 | - | |
200 | - <com.sunvote.xpadapp.base.ZanyEditText | |
201 | - android:id="@+id/election_add_edit" | |
202 | - android:layout_width="200dp" | |
203 | - android:layout_height="60dp" | |
204 | - android:layout_marginTop="40dp" | |
205 | - android:background="#e8e8e8" | |
206 | - android:gravity="center" | |
207 | - android:imeOptions="flagNoExtractUi" | |
208 | - android:textSize="@dimen/big_text_p4" | |
209 | - android:lines="1" /> | |
210 | - </LinearLayout> | |
211 | - | |
212 | - <LinearLayout | |
213 | - android:layout_width="match_parent" | |
214 | - android:layout_height="match_parent" | |
215 | - android:orientation="vertical" | |
216 | - android:layout_weight="1" | |
217 | - android:layout_margin="30dp" | |
218 | - android:background="@drawable/shape" | |
219 | - android:gravity="center"> | |
220 | - | |
221 | - <TextView | |
222 | - android:layout_width="match_parent" | |
223 | - android:layout_height="wrap_content" | |
224 | - android:layout_centerHorizontal="true" | |
225 | - android:text="@string/input_other" | |
226 | - android:textColor="@color/white" | |
227 | - android:textSize="@dimen/big_text_p5" | |
228 | - android:gravity="center"/> | |
229 | - | |
230 | - <FrameLayout | |
231 | - android:layout_width="match_parent" | |
232 | - android:layout_height="match_parent" | |
233 | - android:layout_margin="5dp" | |
234 | - android:background="@drawable/shape"> | |
235 | - | |
236 | - <com.sunvote.xpadapp.base.PaletteView | |
237 | - android:id="@+id/draw_view" | |
238 | - android:layout_width="match_parent" | |
239 | - android:layout_height="match_parent"/> | |
240 | - | |
241 | - <ImageView | |
242 | - android:id="@+id/clear_img" | |
243 | - android:layout_width="wrap_content" | |
244 | - android:layout_height="wrap_content" | |
245 | - android:src="@drawable/ic_clear" | |
246 | - android:layout_gravity="bottom|right" | |
247 | - android:layout_marginBottom="20dp" | |
248 | - android:layout_marginRight="20dp"/> | |
249 | - </FrameLayout> | |
250 | - | |
251 | - </LinearLayout> | |
252 | - </LinearLayout> | |
253 | - | |
254 | - <!--按钮--> | |
255 | - <LinearLayout | |
256 | - android:layout_width="match_parent" | |
257 | - android:layout_height="match_parent" | |
258 | - android:layout_weight="0.8" | |
259 | - android:gravity="center|right" | |
260 | - android:orientation="horizontal"> | |
261 | - | |
262 | - <Button | |
263 | - android:id="@+id/election_add_edit_btn_cancel" | |
264 | - android:layout_width="@dimen/button_width" | |
265 | - android:layout_height="@dimen/button_heigh" | |
266 | - android:layout_marginRight="@dimen/content_margin" | |
267 | - android:background="@drawable/btn_signin_d" | |
268 | - android:text="@string/cancel" | |
269 | - android:textColor="@color/white" | |
270 | - android:textSize="@dimen/big_text_p4" | |
271 | - android:textStyle="bold" /> | |
272 | - | |
273 | - <Button | |
274 | - android:id="@+id/election_add_edit_btn_ok" | |
275 | - android:layout_width="@dimen/button_width" | |
276 | - android:layout_height="@dimen/button_heigh" | |
277 | - android:layout_marginRight="@dimen/content_margin" | |
278 | - android:background="@drawable/btn_agree" | |
279 | - android:text="@string/ok" | |
280 | - android:textColor="@color/white" | |
281 | - android:textSize="@dimen/big_text_p4" | |
282 | - android:textStyle="bold" /> | |
283 | - </LinearLayout> | |
284 | - | |
285 | - </LinearLayout> | |
286 | - <RelativeLayout | |
287 | - android:id="@+id/singlevote_confirm_panel" | |
288 | - android:layout_width="fill_parent" | |
289 | - android:layout_height="fill_parent" | |
290 | - android:background="#ff000000" | |
291 | - android:visibility="gone"> | |
292 | - | |
293 | - <TextView | |
294 | - android:id="@+id/singlevote_confirm_textview" | |
295 | - android:layout_width="wrap_content" | |
296 | - android:layout_height="wrap_content" | |
297 | - android:layout_centerHorizontal="true" | |
298 | - android:layout_marginTop="@dimen/button_to_content" | |
299 | - android:text="@string/cant_modify_confirm" | |
300 | - android:textColor="@color/white" | |
301 | - android:layout_marginLeft="@dimen/content_margin" | |
302 | - android:layout_marginRight="@dimen/content_margin" | |
303 | - android:gravity="center" | |
304 | - android:textSize="@dimen/big_text_p4" /> | |
305 | - | |
306 | - <Button | |
307 | - android:id="@+id/singlevote_btn_confirm_cancel" | |
308 | - android:layout_width="@dimen/button_width" | |
309 | - android:layout_height="@dimen/button_heigh" | |
310 | - android:layout_alignParentLeft="true" | |
311 | - android:layout_below="@id/singlevote_confirm_textview" | |
312 | - android:layout_marginLeft="@dimen/button_to_left" | |
313 | - android:layout_marginTop="@dimen/button_to_content" | |
314 | - android:background="@drawable/btn_signin_d" | |
315 | - android:text="@string/cancel" | |
316 | - android:textColor="@color/white" | |
317 | - android:textSize="@dimen/big_text_p5" | |
318 | - android:textStyle="bold" /> | |
319 | - | |
320 | - <Button | |
321 | - android:id="@+id/singlevote_btn_confirm_ok" | |
322 | - android:layout_width="@dimen/button_width" | |
323 | - android:layout_height="@dimen/button_heigh" | |
324 | - android:layout_alignParentRight="true" | |
325 | - android:layout_below="@id/singlevote_confirm_textview" | |
326 | - android:layout_marginRight="@dimen/button_to_right" | |
327 | - android:layout_marginTop="@dimen/button_to_content" | |
328 | - android:background="@drawable/btn_agree" | |
329 | - android:text="@string/ok" | |
330 | - android:textColor="@color/white" | |
331 | - android:textSize="@dimen/big_text_p5" | |
332 | - android:textStyle="bold" /> | |
333 | - </RelativeLayout> | |
334 | - <TextView | |
335 | - android:id="@+id/singlevote_tv_result" | |
336 | - android:layout_width="wrap_content" | |
337 | - android:layout_height="wrap_content" | |
338 | - android:alpha="0.9" | |
339 | - android:background="@drawable/voted_empty" | |
340 | - android:gravity="center" | |
341 | - android:rotation="-15" | |
342 | - android:textColor="#ddff9933" | |
343 | - android:textSize="@dimen/big_text_p2" | |
344 | - android:textStyle="bold" | |
345 | - android:visibility="invisible" | |
346 | - android:layout_marginRight="@dimen/content_margin" | |
347 | - android:layout_alignParentRight="true" | |
348 | - android:layout_marginTop="@dimen/content_margin"/> | |
349 | -</RelativeLayout> | |
350 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_firm_update.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/firm_update_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_centerHorizontal="true" | |
12 | - android:layout_marginTop="30dp" | |
13 | - android:textSize="48sp" /> | |
14 | - | |
15 | - <TextView | |
16 | - android:id="@+id/firm_update_ver" | |
17 | - android:layout_width="wrap_content" | |
18 | - android:layout_height="wrap_content" | |
19 | - android:layout_below="@id/firm_update_title" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="100dp" | |
22 | - android:textSize="30sp" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/firm_update_info" | |
26 | - android:layout_width="wrap_content" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_below="@id/firm_update_ver" | |
29 | - android:layout_centerHorizontal="true" | |
30 | - android:layout_marginTop="40dp" | |
31 | - android:textSize="30sp" /> | |
32 | - | |
33 | - <TextView | |
34 | - android:id="@+id/firm_update_ver2" | |
35 | - android:layout_width="wrap_content" | |
36 | - android:layout_height="wrap_content" | |
37 | - android:layout_below="@id/firm_update_info" | |
38 | - android:layout_centerHorizontal="true" | |
39 | - android:layout_marginTop="30dp" | |
40 | - android:textSize="30sp" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/firm_update_btn_retry" | |
44 | - android:layout_width="100px" | |
45 | - android:layout_height="60px" | |
46 | - android:layout_alignParentLeft="true" | |
47 | - android:layout_below="@id/firm_update_ver2" | |
48 | - android:layout_centerHorizontal="true" | |
49 | - android:background="@drawable/agree_selector" | |
50 | - android:gravity="center" | |
51 | - android:text="重试" | |
52 | - android:textColor="@color/white" | |
53 | - android:textSize="30px" | |
54 | - android:textStyle="bold" /> | |
55 | - | |
56 | - | |
57 | - <LinearLayout | |
58 | - android:layout_width="fill_parent" | |
59 | - android:layout_height="fill_parent" | |
60 | - android:layout_margin="30dp" | |
61 | - | |
62 | - android:layout_below="@id/firm_update_btn_retry" | |
63 | - android:background="#EEEEEE" | |
64 | - android:orientation="horizontal"> | |
65 | - | |
66 | - <ScrollView | |
67 | - android:id="@+id/firm_update_scrview" | |
68 | - android:layout_width="fill_parent" | |
69 | - android:layout_height="wrap_content" | |
70 | - android:fillViewport="false" | |
71 | - android:padding="5dp" | |
72 | - android:scrollbars="vertical"> | |
73 | - | |
74 | - <TextView | |
75 | - android:id="@+id/firm_update_txt_log" | |
76 | - android:layout_width="fill_parent" | |
77 | - android:layout_height="fill_parent" | |
78 | - android:layout_weight="1.0" | |
79 | - android:minLines="4" /> | |
80 | - | |
81 | - </ScrollView> | |
82 | - | |
83 | - | |
84 | - </LinearLayout> | |
85 | - | |
86 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_keypad_test.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <ImageButton | |
8 | - android:id="@+id/keypad_test_btnback" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:background="@drawable/back_selector" | |
14 | - android:visibility="invisible" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/keypad_test_title" | |
18 | - android:layout_width="wrap_content" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_centerHorizontal="true" | |
21 | - android:layout_marginTop="@dimen/content_margin" | |
22 | - android:text="@string/keypad_test" | |
23 | - android:textSize="@dimen/big_text_p2" | |
24 | - android:textStyle="bold" /> | |
25 | - | |
26 | - <TextView | |
27 | - android:id="@+id/keypad_test_keypad_id" | |
28 | - android:layout_width="wrap_content" | |
29 | - android:layout_height="wrap_content" | |
30 | - android:layout_below="@id/keypad_test_title" | |
31 | - android:layout_centerHorizontal="true" | |
32 | - android:layout_marginTop="@dimen/content_margin" | |
33 | - android:text="@string/keypad_id" | |
34 | - android:textSize="@dimen/big_text_p1" | |
35 | - android:textStyle="bold" /> | |
36 | - | |
37 | - <TextView | |
38 | - android:id="@+id/keypad_test_keypad_sn" | |
39 | - android:layout_width="wrap_content" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:layout_below="@id/keypad_test_keypad_id" | |
42 | - android:layout_centerHorizontal="true" | |
43 | - android:layout_marginTop="@dimen/content_margin" | |
44 | - android:text="SN" | |
45 | - android:textSize="@dimen/big_text_p2" | |
46 | - android:visibility="invisible" /> | |
47 | - | |
48 | - <TextView | |
49 | - android:id="@+id/keypad_test_keypad_ver" | |
50 | - android:layout_width="wrap_content" | |
51 | - android:layout_height="wrap_content" | |
52 | - android:layout_below="@id/keypad_test_keypad_sn" | |
53 | - android:layout_centerHorizontal="true" | |
54 | - android:layout_marginTop="@dimen/content_margin" | |
55 | - android:text="@string/version" | |
56 | - android:textSize="@dimen/big_text_p2" /> | |
57 | - | |
58 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_multi_content.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_content_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="@dimen/content_margin" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:text="@string/sunvote_no_paper" | |
14 | - android:textSize="@dimen/big_text_p4" /> | |
15 | - | |
16 | - <RelativeLayout | |
17 | - android:id="@+id/multi_content_pannal_bottom" | |
18 | - android:layout_width="match_parent" | |
19 | - android:layout_height="@dimen/linear_heigh" | |
20 | - android:layout_alignParentBottom="true" | |
21 | - android:alpha="0.9" | |
22 | - android:background="@drawable/gray_alpha" | |
23 | - android:visibility="visible"> | |
24 | - | |
25 | - <TextView | |
26 | - android:id="@+id/multi_content_info" | |
27 | - android:layout_width="wrap_content" | |
28 | - android:layout_height="wrap_content" | |
29 | - android:layout_centerVertical="true" | |
30 | - android:layout_marginLeft="@dimen/content_margin" | |
31 | - android:text="@string/should_vote" | |
32 | - android:textSize="@dimen/big_text_p4" /> | |
33 | - | |
34 | - <View | |
35 | - android:id="@+id/multi_content_page" | |
36 | - android:layout_width="20dp" | |
37 | - android:layout_height="20dp" | |
38 | - android:layout_centerInParent="true" | |
39 | - android:textSize="@dimen/big_text_p4" | |
40 | - android:visibility="invisible" /> | |
41 | - | |
42 | - <Button | |
43 | - android:id="@+id/multi_content_pageup" | |
44 | - android:layout_width="wrap_content" | |
45 | - android:layout_height="wrap_content" | |
46 | - android:layout_centerVertical="true" | |
47 | - android:layout_toLeftOf="@id/multi_content_page" | |
48 | - android:background="@drawable/page_selector" | |
49 | - android:text="@string/page_up" | |
50 | - android:textSize="@dimen/big_text_p6" /> | |
51 | - | |
52 | - <Button | |
53 | - android:id="@+id/multi_content_pagedown" | |
54 | - android:layout_width="wrap_content" | |
55 | - android:layout_height="wrap_content" | |
56 | - android:layout_centerVertical="true" | |
57 | - android:layout_toRightOf="@id/multi_content_page" | |
58 | - android:background="@drawable/page_selector" | |
59 | - android:text="@string/page_down" | |
60 | - android:textSize="@dimen/big_text_p6" /> | |
61 | - | |
62 | - <Button | |
63 | - android:id="@+id/multi_content_btn_submit" | |
64 | - android:layout_width="wrap_content" | |
65 | - android:layout_height="wrap_content" | |
66 | - android:layout_alignParentRight="true" | |
67 | - android:layout_centerVertical="true" | |
68 | - android:layout_marginRight="@dimen/content_margin" | |
69 | - android:background="@drawable/signin_selector" | |
70 | - android:text="@string/confirm_submit" | |
71 | - android:textColor="@color/white" | |
72 | - android:textSize="@dimen/big_text_p4" | |
73 | - android:textStyle="bold" /> | |
74 | - | |
75 | - <Button | |
76 | - android:id="@+id/multi_content_btn_modify" | |
77 | - android:layout_width="wrap_content" | |
78 | - android:layout_height="wrap_content" | |
79 | - android:layout_alignParentRight="true" | |
80 | - android:layout_centerVertical="true" | |
81 | - android:layout_marginRight="@dimen/content_margin" | |
82 | - android:background="@drawable/signin_selector" | |
83 | - android:text="@string/modify" | |
84 | - android:textColor="@color/white" | |
85 | - android:textSize="@dimen/big_text_p5" | |
86 | - android:textStyle="bold" | |
87 | - android:visibility="invisible" /> | |
88 | - </RelativeLayout> | |
89 | - | |
90 | - <ListView | |
91 | - android:id="@+id/multi_content_listview" | |
92 | - android:layout_width="fill_parent" | |
93 | - android:layout_height="fill_parent" | |
94 | - android:layout_above="@id/multi_content_pannal_bottom" | |
95 | - android:layout_below="@id/multi_content_title" | |
96 | - android:layout_marginBottom="1dp" | |
97 | - android:layout_marginLeft="@dimen/content_margin" | |
98 | - android:layout_marginRight="@dimen/content_margin" | |
99 | - android:layout_marginTop="@dimen/content_margin" | |
100 | - android:divider="@color/votebakground" | |
101 | - android:dividerHeight="2dp" | |
102 | - android:fastScrollEnabled="false"></ListView> | |
103 | - | |
104 | - <RelativeLayout | |
105 | - android:id="@+id/multi_content_confirm_panel" | |
106 | - android:layout_width="match_parent" | |
107 | - android:layout_height="match_parent" | |
108 | - android:background="@color/black" | |
109 | - android:visibility="gone"> | |
110 | - | |
111 | - <TextView | |
112 | - android:id="@+id/multi_content_confirm_text" | |
113 | - android:layout_width="wrap_content" | |
114 | - android:layout_height="wrap_content" | |
115 | - android:layout_centerHorizontal="true" | |
116 | - android:layout_marginTop="@dimen/content_margin" | |
117 | - android:text="" | |
118 | - android:textColor="@color/white" | |
119 | - android:textSize="@dimen/big_text_p4" /> | |
120 | - | |
121 | - <Button | |
122 | - android:id="@+id/multi_content_confirm_btn_cancel" | |
123 | - android:layout_width="@dimen/button_width" | |
124 | - android:layout_height="@dimen/button_heigh" | |
125 | - android:layout_alignParentLeft="true" | |
126 | - android:layout_below="@id/multi_content_confirm_text" | |
127 | - android:layout_marginLeft="@dimen/linear_heigh" | |
128 | - android:layout_marginTop="@dimen/content_margin" | |
129 | - android:background="@drawable/btn_signin_d" | |
130 | - android:text="@string/cancel" | |
131 | - android:textColor="@color/white" | |
132 | - android:textSize="@dimen/big_text_p5" | |
133 | - android:textStyle="bold" /> | |
134 | - | |
135 | - <Button | |
136 | - android:id="@+id/multi_content_confirm_btn_ok" | |
137 | - android:layout_width="@dimen/button_width" | |
138 | - android:layout_height="@dimen/button_heigh" | |
139 | - android:layout_alignParentRight="true" | |
140 | - android:layout_below="@id/multi_content_confirm_text" | |
141 | - android:layout_marginRight="@dimen/linear_heigh" | |
142 | - android:layout_marginTop="@dimen/content_margin" | |
143 | - android:background="@drawable/btn_agree" | |
144 | - android:text="@string/ok" | |
145 | - android:textColor="@color/white" | |
146 | - android:textSize="@dimen/big_text_p5" | |
147 | - android:textStyle="bold" /> | |
148 | - </RelativeLayout> | |
149 | - | |
150 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_multi_content_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <!--标题--> | |
8 | - <LinearLayout | |
9 | - android:id="@+id/title_linear" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:layout_marginLeft="@dimen/content_margin" | |
14 | - android:layout_marginRight="@dimen/content_margin" | |
15 | - android:orientation="horizontal"> | |
16 | - | |
17 | - <ImageButton | |
18 | - android:id="@+id/content_detail_btnback" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:background="@drawable/back_selector" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/content_detail_title" | |
25 | - android:layout_width="0dp" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_marginLeft="10dp" | |
28 | - android:ellipsize="end" | |
29 | - android:gravity="left" | |
30 | - android:lines="1" | |
31 | - android:text="title" | |
32 | - android:textSize="@dimen/big_text_p3" | |
33 | - android:textColor="@color/black" | |
34 | - android:textStyle="bold" | |
35 | - android:layout_weight="1"/> | |
36 | - | |
37 | - <Button | |
38 | - android:id="@+id/btn_look_pdf" | |
39 | - android:layout_width="@dimen/button_width" | |
40 | - android:layout_height="@dimen/button_heigh" | |
41 | - android:background="@drawable/signin_selector" | |
42 | - android:text="查看批注" | |
43 | - android:textColor="@color/white" | |
44 | - android:textSize="@dimen/big_text_p4" | |
45 | - android:textStyle="bold" /> | |
46 | - | |
47 | - </LinearLayout> | |
48 | - <!--投票选项--> | |
49 | - <RelativeLayout | |
50 | - android:id="@+id/content_detail_pannal_vote" | |
51 | - android:layout_width="match_parent" | |
52 | - android:layout_height="@dimen/linear_heigh" | |
53 | - android:layout_alignParentBottom="true" | |
54 | - android:alpha="0.9" | |
55 | - android:background="@drawable/black_alpha" > | |
56 | - | |
57 | - <Button | |
58 | - android:id="@+id/content_detail_btnB" | |
59 | - android:layout_width="@dimen/button_width" | |
60 | - android:layout_height="@dimen/button_heigh" | |
61 | - android:layout_centerHorizontal="true" | |
62 | - android:layout_centerVertical="true" | |
63 | - android:background="@drawable/oppos_selector" | |
64 | - android:gravity="center" | |
65 | - android:text="@string/oppose" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:textStyle="bold" /> | |
69 | - | |
70 | - <Button | |
71 | - android:id="@+id/content_detail_btnA" | |
72 | - android:layout_width="@dimen/button_width" | |
73 | - android:layout_height="@dimen/button_heigh" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginRight="@dimen/content_margin" | |
76 | - android:layout_toLeftOf="@id/content_detail_btnB" | |
77 | - android:background="@drawable/agree_selector" | |
78 | - android:text="@string/abstant" | |
79 | - android:textColor="@color/white" | |
80 | - android:textSize="@dimen/big_text_p4" | |
81 | - android:textStyle="bold" /> | |
82 | - | |
83 | - <Button | |
84 | - android:id="@+id/content_detail_btnC" | |
85 | - android:layout_width="@dimen/button_width" | |
86 | - android:layout_height="@dimen/button_heigh" | |
87 | - android:layout_centerVertical="true" | |
88 | - android:layout_marginLeft="@dimen/content_margin" | |
89 | - android:layout_toRightOf="@id/content_detail_btnB" | |
90 | - android:background="@drawable/abstain_selector" | |
91 | - android:text="赞成" | |
92 | - android:textColor="@color/white" | |
93 | - android:textSize="@dimen/big_text_p4" | |
94 | - android:textStyle="bold" /> | |
95 | - </RelativeLayout> | |
96 | - <!--投票状态--> | |
97 | - <RelativeLayout | |
98 | - android:id="@+id/content_detail_pannal_tips" | |
99 | - android:layout_width="match_parent" | |
100 | - android:layout_height="@dimen/linear_heigh" | |
101 | - android:layout_alignParentBottom="true" | |
102 | - android:alpha="0.9" | |
103 | - android:background="@drawable/black_alpha" | |
104 | - android:visibility="invisible"> | |
105 | - | |
106 | - <TextView | |
107 | - android:id="@+id/content_detail_tv_tips" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_centerHorizontal="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:text="@string/submiting" | |
113 | - android:textColor="@color/white" | |
114 | - android:textSize="@dimen/big_text_p4" | |
115 | - android:textStyle="bold" | |
116 | - /> | |
117 | - </RelativeLayout> | |
118 | - <!--修改选项--> | |
119 | - <RelativeLayout | |
120 | - android:id="@+id/content_detail_pannal_modify" | |
121 | - android:layout_width="match_parent" | |
122 | - android:layout_height="@dimen/linear_heigh" | |
123 | - android:layout_alignParentBottom="true" | |
124 | - android:background="@color/black" | |
125 | - android:visibility="invisible"> | |
126 | - | |
127 | - <Button | |
128 | - android:id="@+id/content_detail_btn_modify" | |
129 | - android:layout_width="wrap_content" | |
130 | - android:layout_height="wrap_content" | |
131 | - android:layout_centerHorizontal="true" | |
132 | - android:layout_centerVertical="true" | |
133 | - android:background="@drawable/signin_selector" | |
134 | - android:text="@string/modify" | |
135 | - android:textColor="@color/white" | |
136 | - android:textSize="@dimen/big_text_p4" | |
137 | - android:textStyle="bold" /> | |
138 | - </RelativeLayout> | |
139 | - | |
140 | - <RelativeLayout | |
141 | - android:id="@+id/content_detail_pannal_vote1" | |
142 | - android:layout_width="match_parent" | |
143 | - android:layout_height="@dimen/linear_heigh" | |
144 | - android:layout_alignParentBottom="true" | |
145 | - android:gravity="center_horizontal" | |
146 | - android:background="@drawable/black_alpha" | |
147 | - android:visibility="gone"> | |
148 | - | |
149 | - </RelativeLayout> | |
150 | - <!--正文内容PDF--> | |
151 | - <RelativeLayout | |
152 | - android:id="@+id/content_detail_scview" | |
153 | - android:layout_width="fill_parent" | |
154 | - android:layout_height="fill_parent" | |
155 | - android:layout_above="@id/content_detail_pannal_vote" | |
156 | - android:layout_below="@+id/title_linear" | |
157 | - android:layout_marginBottom="@dimen/content_margin" | |
158 | - android:layout_marginLeft="@dimen/content_margin" | |
159 | - android:layout_marginRight="@dimen/content_margin" | |
160 | - android:layout_marginTop="@dimen/content_margin" | |
161 | - android:background="@color/white" | |
162 | - android:fillViewport="false" > | |
163 | - <com.github.barteksc.pdfviewer.PDFView | |
164 | - android:id="@+id/content_detail_pdfview" | |
165 | - android:layout_width="match_parent" | |
166 | - android:layout_height="match_parent" | |
167 | - android:layout_marginLeft="86dp" | |
168 | - android:layout_marginRight="86dp" | |
169 | - android:background="@color/white" | |
170 | - /> | |
171 | - </RelativeLayout> | |
172 | - <!--投票结果,居中显示--> | |
173 | - <TextView | |
174 | - android:id="@+id/content_detail_tv_result" | |
175 | - android:layout_width="wrap_content" | |
176 | - android:layout_height="wrap_content" | |
177 | - android:layout_alignTop="@id/content_detail_scview" | |
178 | - android:layout_centerInParent="true" | |
179 | - android:layout_marginTop="@dimen/content_margin" | |
180 | - android:alpha="0.9" | |
181 | - android:rotation="-20" | |
182 | - android:gravity="center" | |
183 | - android:textColor="#ddff9933" | |
184 | - android:textSize="@dimen/big_text_p2" | |
185 | - android:textStyle="bold" | |
186 | - android:visibility="visible" /> | |
187 | - <!--提交确认--> | |
188 | - <RelativeLayout | |
189 | - android:id="@+id/content_detail_confirm_panel" | |
190 | - android:layout_width="fill_parent" | |
191 | - android:layout_height="fill_parent" | |
192 | - android:background="#ff000000" | |
193 | - android:visibility="gone" | |
194 | - > | |
195 | - | |
196 | - <TextView | |
197 | - android:id="@+id/content_detail_confirm_textview" | |
198 | - android:layout_width="wrap_content" | |
199 | - android:layout_height="wrap_content" | |
200 | - android:layout_centerHorizontal="true" | |
201 | - android:layout_marginTop="@dimen/button_to_content" | |
202 | - android:text="@string/cant_modify_confirm" | |
203 | - android:textColor="@color/white" | |
204 | - android:layout_marginLeft="@dimen/content_margin" | |
205 | - android:layout_marginRight="@dimen/content_margin" | |
206 | - android:gravity="center" | |
207 | - android:textSize="@dimen/big_text_p4" /> | |
208 | - | |
209 | - <Button | |
210 | - android:id="@+id/content_detail_btn_confirm_cancel" | |
211 | - android:layout_width="@dimen/button_width" | |
212 | - android:layout_height="@dimen/button_heigh" | |
213 | - android:layout_alignParentLeft="true" | |
214 | - android:layout_below="@id/content_detail_confirm_textview" | |
215 | - android:layout_marginLeft="@dimen/button_to_left" | |
216 | - android:layout_marginTop="@dimen/button_to_content" | |
217 | - android:background="@drawable/btn_signin_d" | |
218 | - android:text="@string/cancel" | |
219 | - android:textColor="@color/white" | |
220 | - android:textSize="@dimen/big_text_p5" | |
221 | - android:textStyle="bold" /> | |
222 | - | |
223 | - <Button | |
224 | - android:id="@+id/content_detail_btn_confirm_ok" | |
225 | - android:layout_width="@dimen/button_width" | |
226 | - android:layout_height="@dimen/button_heigh" | |
227 | - android:layout_alignParentRight="true" | |
228 | - android:layout_below="@id/content_detail_confirm_textview" | |
229 | - android:layout_marginRight="@dimen/button_to_right" | |
230 | - android:layout_marginTop="@dimen/button_to_content" | |
231 | - android:background="@drawable/btn_agree" | |
232 | - android:text="@string/ok" | |
233 | - android:textColor="@color/white" | |
234 | - android:textSize="@dimen/big_text_p5" | |
235 | - android:textStyle="bold" /> | |
236 | - </RelativeLayout> | |
237 | - | |
238 | - | |
239 | -</RelativeLayout> | |
240 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_multi_pingsheng.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - <TextView | |
8 | - android:id="@+id/multi_pingsheng_title" | |
9 | - android:layout_width="wrap_content" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginLeft="32px" | |
12 | - android:layout_marginTop="48px" | |
13 | - android:text="@string/demo_metting" | |
14 | - android:textSize="@dimen/big_text_p5" /> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/multi_pingsheng_btn_abstain_all" | |
18 | - android:layout_width="@dimen/button_width" | |
19 | - android:layout_height="@dimen/button_heigh" | |
20 | - android:layout_alignParentRight="true" | |
21 | - android:layout_marginRight="@dimen/content_margin" | |
22 | - android:layout_marginTop="@dimen/content_margin" | |
23 | - android:background="@drawable/signin_selector" | |
24 | - android:gravity="center" | |
25 | - android:text="@string/all_abstant" | |
26 | - android:textColor="@color/white" | |
27 | - android:textSize="@dimen/big_text_p5" | |
28 | - android:textStyle="bold" | |
29 | - android:visibility="invisible" /> | |
30 | - | |
31 | - <TextView | |
32 | - android:id="@+id/multi_pingsheng_btn_oppose_all" | |
33 | - android:layout_width="@dimen/button_width" | |
34 | - android:layout_height="@dimen/button_heigh" | |
35 | - android:layout_marginRight="@dimen/content_margin" | |
36 | - android:layout_marginTop="@dimen/content_margin" | |
37 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_abstain_all" | |
38 | - android:background="@drawable/oppos_selector" | |
39 | - android:gravity="center" | |
40 | - android:text="@string/all_oppose" | |
41 | - android:textColor="@color/white" | |
42 | - android:textSize="30px" | |
43 | - android:textStyle="bold" | |
44 | - android:visibility="invisible" /> | |
45 | - | |
46 | - <TextView | |
47 | - android:id="@+id/multi_pingsheng_btn_agree_all" | |
48 | - android:layout_width="122px" | |
49 | - android:layout_height="72px" | |
50 | - android:layout_marginRight="28px" | |
51 | - android:layout_marginTop="32px" | |
52 | - android:layout_toLeftOf="@id/multi_pingsheng_btn_oppose_all" | |
53 | - android:background="@drawable/agree_selector" | |
54 | - android:gravity="center" | |
55 | - android:text="@string/all_agree" | |
56 | - android:textColor="@color/white" | |
57 | - android:textSize="30px" | |
58 | - android:textStyle="bold" | |
59 | - android:visibility="invisible" /> | |
60 | - | |
61 | - <RelativeLayout | |
62 | - android:id="@+id/multi_pingsheng_pannal_bottom" | |
63 | - android:layout_width="match_parent" | |
64 | - android:layout_height="120px" | |
65 | - android:layout_alignParentBottom="true" | |
66 | - android:alpha="0.9" | |
67 | - android:background="@drawable/gray_alpha" | |
68 | - android:visibility="visible"> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/multi_pingsheng_info" | |
72 | - android:layout_width="wrap_content" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginLeft="36px" | |
76 | - android:text="@string/should_vote" | |
77 | - android:textSize="30px" /> | |
78 | - | |
79 | - <TextView | |
80 | - android:id="@+id/multi_pingsheng_page" | |
81 | - android:layout_width="wrap_content" | |
82 | - android:layout_height="wrap_content" | |
83 | - android:layout_centerInParent="true" | |
84 | - android:text="1/1" | |
85 | - android:textSize="30px" | |
86 | - android:visibility="invisible" /> | |
87 | - | |
88 | - <Button | |
89 | - android:id="@+id/multi_pingsheng_pageup" | |
90 | - android:layout_width="wrap_content" | |
91 | - android:layout_height="wrap_content" | |
92 | - android:layout_centerVertical="true" | |
93 | - android:layout_toLeftOf="@id/multi_pingsheng_page" | |
94 | - android:background="@drawable/page_selector" | |
95 | - android:text="@string/page_up" /> | |
96 | - | |
97 | - <Button | |
98 | - android:id="@+id/multi_pingsheng_pagedown" | |
99 | - android:layout_width="wrap_content" | |
100 | - android:layout_height="wrap_content" | |
101 | - android:layout_centerVertical="true" | |
102 | - android:layout_toRightOf="@id/multi_pingsheng_page" | |
103 | - android:background="@drawable/page_selector" | |
104 | - android:text="@string/page_down" /> | |
105 | - | |
106 | - <Button | |
107 | - android:id="@+id/multi_pingsheng_btn_submit" | |
108 | - android:layout_width="wrap_content" | |
109 | - android:layout_height="wrap_content" | |
110 | - android:layout_alignParentRight="true" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_marginRight="36px" | |
113 | - android:background="@drawable/signin_selector" | |
114 | - android:text="@string/confirm_submit" | |
115 | - android:textColor="@color/white" | |
116 | - android:textSize="36px" | |
117 | - android:textStyle="bold" /> | |
118 | - | |
119 | - <Button | |
120 | - android:id="@+id/multi_pingsheng_btn_modify" | |
121 | - android:layout_width="wrap_content" | |
122 | - android:layout_height="wrap_content" | |
123 | - android:layout_alignParentRight="true" | |
124 | - android:layout_centerVertical="true" | |
125 | - android:layout_marginRight="36px" | |
126 | - android:background="@drawable/signin_selector" | |
127 | - android:text="@string/modify" | |
128 | - android:textColor="@color/white" | |
129 | - android:textSize="36px" | |
130 | - android:textStyle="bold" | |
131 | - android:visibility="invisible" /> | |
132 | - </RelativeLayout> | |
133 | - | |
134 | - <ListView | |
135 | - android:id="@+id/multi_pingsheng_listview" | |
136 | - android:layout_width="fill_parent" | |
137 | - android:layout_height="fill_parent" | |
138 | - android:layout_above="@id/multi_pingsheng_pannal_bottom" | |
139 | - android:layout_below="@id/multi_pingsheng_title" | |
140 | - android:layout_marginBottom="2px" | |
141 | - android:layout_marginLeft="36px" | |
142 | - android:layout_marginRight="36px" | |
143 | - android:layout_marginTop="28px" | |
144 | - android:divider="@color/votebakground" | |
145 | - android:dividerHeight="8px" | |
146 | - android:fadeScrollbars="false" | |
147 | - android:scrollbarAlwaysDrawVerticalTrack="true" | |
148 | - android:scrollbars="vertical"></ListView> | |
149 | - | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/multi_pingsheng_confirm_panel" | |
152 | - android:layout_width="match_parent" | |
153 | - android:layout_height="match_parent" | |
154 | - android:background="@color/black" | |
155 | - android:visibility="gone"> | |
156 | - | |
157 | - <TextView | |
158 | - android:id="@+id/multi_pingsheng_confirm_text" | |
159 | - android:layout_width="wrap_content" | |
160 | - android:layout_height="wrap_content" | |
161 | - android:layout_centerHorizontal="true" | |
162 | - android:layout_marginTop="110px" | |
163 | - android:text="" | |
164 | - android:textColor="@color/white" | |
165 | - android:textSize="36px" | |
166 | - | |
167 | - /> | |
168 | - | |
169 | - | |
170 | - <Button | |
171 | - android:id="@+id/multi_pingsheng_confirm_btn_cancel" | |
172 | - android:layout_width="311px" | |
173 | - android:layout_height="96px" | |
174 | - android:layout_alignParentLeft="true" | |
175 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
176 | - android:layout_marginLeft="296px" | |
177 | - android:layout_marginTop="102px" | |
178 | - android:background="@drawable/btn_signin_d" | |
179 | - android:text="@string/cancel" | |
180 | - android:textColor="@color/white" | |
181 | - android:textSize="36px" | |
182 | - android:textStyle="bold" /> | |
183 | - | |
184 | - <Button | |
185 | - android:id="@+id/multi_pingsheng_confirm_btn_ok" | |
186 | - android:layout_width="311px" | |
187 | - android:layout_height="96px" | |
188 | - android:layout_alignParentRight="true" | |
189 | - android:layout_below="@id/multi_pingsheng_confirm_text" | |
190 | - android:layout_marginRight="296px" | |
191 | - android:layout_marginTop="102px" | |
192 | - android:background="@drawable/btn_agree" | |
193 | - android:text="@string/ok" | |
194 | - android:textColor="@color/white" | |
195 | - android:textSize="36px" | |
196 | - android:textStyle="bold" /> | |
197 | - | |
198 | - | |
199 | - </RelativeLayout> | |
200 | - | |
201 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_multi_title.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <LinearLayout | |
8 | - android:id="@+id/line_panel" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:orientation="horizontal" | |
12 | - android:layout_marginTop="30dp" | |
13 | - android:layout_marginLeft="20dp" | |
14 | - android:layout_marginRight="40dp"> | |
15 | - | |
16 | - <TextView | |
17 | - android:id="@+id/multivote_title" | |
18 | - android:layout_width="0dp" | |
19 | - android:layout_height="wrap_content" | |
20 | - android:layout_gravity="center_vertical" | |
21 | - android:text="@string/sunvote_no_paper" | |
22 | - android:textSize="@dimen/big_text_p4" | |
23 | - android:layout_weight="1"/> | |
24 | - <TextView | |
25 | - android:id="@+id/multi_title_btn_agree_all" | |
26 | - android:layout_width="120dp" | |
27 | - android:layout_height="50dp" | |
28 | - android:layout_marginLeft="30dp" | |
29 | - android:background="@drawable/agree_selector" | |
30 | - android:gravity="center" | |
31 | - android:text="@string/all_agree" | |
32 | - android:textColor="@color/white" | |
33 | - android:textSize="@dimen/big_text_p4" | |
34 | - android:textStyle="bold"/> | |
35 | - | |
36 | - <TextView | |
37 | - android:id="@+id/multi_title_btn_oppose_all" | |
38 | - android:layout_width="120dp" | |
39 | - android:layout_height="50dp" | |
40 | - android:layout_marginLeft="10dp" | |
41 | - android:background="@drawable/oppos_selector" | |
42 | - android:gravity="center" | |
43 | - android:text="@string/all_oppose" | |
44 | - android:textColor="@color/white" | |
45 | - android:textSize="@dimen/big_text_p4" | |
46 | - android:textStyle="bold"/> | |
47 | - | |
48 | - <TextView | |
49 | - android:id="@+id/multi_title_btn_abstain_all" | |
50 | - android:layout_width="120dp" | |
51 | - android:layout_height="50dp" | |
52 | - android:layout_marginLeft="10dp" | |
53 | - android:background="@drawable/signin_selector" | |
54 | - android:gravity="center" | |
55 | - android:text="@string/all_abstant" | |
56 | - android:textColor="@color/white" | |
57 | - android:textSize="@dimen/big_text_p4" | |
58 | - android:textStyle="bold" /> | |
59 | - </LinearLayout> | |
60 | - | |
61 | - <RelativeLayout | |
62 | - android:id="@+id/multivote_pannal_bottom" | |
63 | - android:layout_width="match_parent" | |
64 | - android:layout_height="80dp" | |
65 | - android:layout_alignParentBottom="true" | |
66 | - android:alpha="0.9" | |
67 | - android:background="@drawable/gray_alpha" | |
68 | - android:visibility="visible" > | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/multivote_info" | |
72 | - android:layout_width="wrap_content" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_marginLeft="20dp" | |
76 | - android:text="@string/should_vote" | |
77 | - android:textSize="@dimen/big_text_p4" /> | |
78 | - | |
79 | - <View | |
80 | - android:id="@+id/multivote_page" | |
81 | - android:layout_width="40dp" | |
82 | - android:layout_height="20dp" | |
83 | - android:visibility="invisible" | |
84 | - android:layout_centerInParent="true" | |
85 | - /> | |
86 | - | |
87 | - <Button | |
88 | - android:id="@+id/multivote_pageup" | |
89 | - android:layout_width="wrap_content" | |
90 | - android:layout_height="wrap_content" | |
91 | - android:layout_centerVertical="true" | |
92 | - android:layout_toLeftOf="@id/multivote_page" | |
93 | - android:background="@drawable/page_selector" | |
94 | - android:textSize="@dimen/big_text_p5" | |
95 | - android:text="@string/page_up" /> | |
96 | - | |
97 | - <Button | |
98 | - android:id="@+id/multivote_pagedown" | |
99 | - android:layout_width="wrap_content" | |
100 | - android:layout_height="wrap_content" | |
101 | - android:layout_centerVertical="true" | |
102 | - android:layout_toRightOf="@id/multivote_page" | |
103 | - android:background="@drawable/page_selector" | |
104 | - android:textSize="@dimen/big_text_p5" | |
105 | - android:text="@string/page_down" /> | |
106 | - | |
107 | - <Button | |
108 | - android:id="@+id/multivote_btn_submit" | |
109 | - android:layout_width="wrap_content" | |
110 | - android:layout_height="wrap_content" | |
111 | - android:layout_centerVertical="true" | |
112 | - android:layout_marginRight="20dp" | |
113 | - android:layout_alignParentRight="true" | |
114 | - android:background="@drawable/signin_selector" | |
115 | - android:text="@string/confirm_submit" | |
116 | - android:textColor="@color/white" | |
117 | - android:textSize="@dimen/big_text_p4" | |
118 | - android:textStyle="bold" /> | |
119 | - | |
120 | - <Button | |
121 | - android:id="@+id/multivote_btn_modify" | |
122 | - android:layout_width="wrap_content" | |
123 | - android:layout_height="wrap_content" | |
124 | - android:layout_centerVertical="true" | |
125 | - android:layout_marginRight="20dp" | |
126 | - android:layout_alignParentRight="true" | |
127 | - android:background="@drawable/signin_selector" | |
128 | - android:text="@string/modify" | |
129 | - android:textColor="@color/white" | |
130 | - android:textSize="@dimen/big_text_p4" | |
131 | - android:textStyle="bold" | |
132 | - android:visibility="invisible"/> | |
133 | - </RelativeLayout> | |
134 | - | |
135 | - <ListView | |
136 | - android:id="@+id/multivote_listview" | |
137 | - android:layout_width="fill_parent" | |
138 | - android:layout_height="fill_parent" | |
139 | - android:layout_above="@id/multivote_pannal_bottom" | |
140 | - android:layout_below="@id/line_panel" | |
141 | - android:layout_marginBottom="@dimen/content_margin" | |
142 | - android:layout_marginLeft="@dimen/content_margin" | |
143 | - android:layout_marginRight="@dimen/content_margin" | |
144 | - android:layout_marginTop="@dimen/content_margin" | |
145 | - android:divider="@color/votebakground" | |
146 | - android:dividerHeight="8dp" | |
147 | - android:fastScrollEnabled="false"></ListView> | |
148 | - | |
149 | - <RelativeLayout | |
150 | - android:id="@+id/multivote_confirm_panel" | |
151 | - android:layout_width="match_parent" | |
152 | - android:layout_height="match_parent" | |
153 | - android:background="@color/black" | |
154 | - android:visibility="gone"> | |
155 | - | |
156 | - <TextView | |
157 | - android:id="@+id/multivote_confirm_text" | |
158 | - android:layout_width="wrap_content" | |
159 | - android:layout_height="wrap_content" | |
160 | - android:layout_centerHorizontal="true" | |
161 | - android:layout_marginLeft="@dimen/content_margin" | |
162 | - android:layout_marginRight="@dimen/content_margin" | |
163 | - android:layout_marginTop="@dimen/button_to_content" | |
164 | - android:textColor="@color/white" | |
165 | - android:textSize="@dimen/big_text_p4" /> | |
166 | - | |
167 | - <Button | |
168 | - android:id="@+id/multivote_confirm_btn_cancel" | |
169 | - android:layout_width="@dimen/button_width" | |
170 | - android:layout_height="@dimen/button_heigh" | |
171 | - android:layout_alignParentLeft="true" | |
172 | - android:layout_below="@id/multivote_confirm_text" | |
173 | - android:layout_marginLeft="@dimen/button_to_left" | |
174 | - android:layout_marginTop="@dimen/button_to_content" | |
175 | - android:background="@drawable/btn_signin_d" | |
176 | - android:text="@string/cancel" | |
177 | - android:textColor="@color/white" | |
178 | - android:textSize="@dimen/big_text_p5" | |
179 | - android:textStyle="bold" /> | |
180 | - | |
181 | - <Button | |
182 | - android:id="@+id/multivote_confirm_btn_ok" | |
183 | - android:layout_width="@dimen/button_width" | |
184 | - android:layout_height="@dimen/button_heigh" | |
185 | - android:layout_alignParentRight="true" | |
186 | - android:layout_below="@id/multivote_confirm_text" | |
187 | - android:layout_marginRight="@dimen/button_to_right" | |
188 | - android:layout_marginTop="@dimen/button_to_content" | |
189 | - android:background="@drawable/btn_agree" | |
190 | - android:text="@string/ok" | |
191 | - android:textColor="@color/white" | |
192 | - android:textSize="@dimen/big_text_p5" | |
193 | - android:textStyle="bold" /> | |
194 | - | |
195 | - </RelativeLayout> | |
196 | - | |
197 | -</RelativeLayout> | |
198 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_multi_title_detail.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground"> | |
6 | - | |
7 | - | |
8 | - <ImageButton | |
9 | - android:id="@+id/mutli_title_detail_btnback" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginLeft="20dp" | |
13 | - android:layout_marginTop="20dp" | |
14 | - android:background="@drawable/back_selector" /> | |
15 | - | |
16 | - | |
17 | - <ScrollView | |
18 | - android:id="@+id/mutli_title_detail_scview" | |
19 | - android:layout_width="fill_parent" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:layout_below="@id/mutli_title_detail_btnback" | |
22 | - android:layout_marginLeft="20dp" | |
23 | - android:layout_marginRight="20dp" | |
24 | - android:layout_marginTop="20dp" | |
25 | - android:fillViewport="false" | |
26 | - android:scrollbars="none"> | |
27 | - | |
28 | - <TextView | |
29 | - android:id="@+id/mutli_title_detail_content" | |
30 | - android:layout_width="match_parent" | |
31 | - android:layout_height="wrap_content" | |
32 | - android:layout_centerInParent="true" | |
33 | - android:background="@color/white" | |
34 | - android:gravity="center" | |
35 | - android:text="@string/please_vote" | |
36 | - android:textColor="@color/black" | |
37 | - android:textSize="@dimen/big_text_p3"/> | |
38 | - </ScrollView> | |
39 | - | |
40 | - <TextView | |
41 | - android:id="@+id/mutli_title_detail_tv_tips" | |
42 | - android:layout_width="wrap_content" | |
43 | - android:layout_height="wrap_content" | |
44 | - android:layout_alignParentBottom="true" | |
45 | - android:layout_centerHorizontal="true" | |
46 | - android:layout_marginBottom="30dp" | |
47 | - android:text="@string/please_press_key" | |
48 | - android:textColor="#878787" | |
49 | - android:textSize="@dimen/big_text_p5" /> | |
50 | - | |
51 | - <Button | |
52 | - android:id="@+id/mutli_title_detail_btnB" | |
53 | - android:layout_width="200dp" | |
54 | - android:layout_height="60dp" | |
55 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
56 | - android:layout_centerHorizontal="true" | |
57 | - android:layout_marginBottom="20dp" | |
58 | - android:background="@drawable/oppos_selector" | |
59 | - android:text="@string/oppose" | |
60 | - android:textColor="@color/white" | |
61 | - android:textSize="@dimen/big_text_p4" | |
62 | - android:textStyle="bold" /> | |
63 | - | |
64 | - <Button | |
65 | - android:id="@+id/mutli_title_detail_btnA" | |
66 | - android:layout_width="200dp" | |
67 | - android:layout_height="60dp" | |
68 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
69 | - android:layout_marginBottom="20dp" | |
70 | - android:layout_marginRight="20dp" | |
71 | - android:layout_toLeftOf="@id/mutli_title_detail_btnB" | |
72 | - android:background="@drawable/agree_selector" | |
73 | - android:text="@string/agree" | |
74 | - android:textColor="@color/white" | |
75 | - android:textSize="@dimen/big_text_p4" | |
76 | - android:textStyle="bold" /> | |
77 | - | |
78 | - <Button | |
79 | - android:id="@+id/mutli_title_detail_btnC" | |
80 | - android:layout_width="200dp" | |
81 | - android:layout_height="60dp" | |
82 | - android:layout_above="@id/mutli_title_detail_tv_tips" | |
83 | - android:layout_marginBottom="20dp" | |
84 | - android:layout_marginLeft="20dp" | |
85 | - android:layout_toRightOf="@id/mutli_title_detail_btnB" | |
86 | - android:background="@drawable/abstain_selector" | |
87 | - android:text="@string/abstant" | |
88 | - android:textColor="@color/white" | |
89 | - android:textSize="@dimen/big_text_p4" | |
90 | - android:textStyle="bold" /> | |
91 | - | |
92 | - | |
93 | - <TextView | |
94 | - android:id="@+id/mutli_title_detail_tv_result" | |
95 | - android:layout_width="wrap_content" | |
96 | - android:layout_height="wrap_content" | |
97 | - android:layout_alignRight="@id/mutli_title_detail_scview" | |
98 | - android:layout_alignTop="@id/mutli_title_detail_scview" | |
99 | - android:layout_marginRight="40dp" | |
100 | - android:alpha="0.9" | |
101 | - android:background="@drawable/voted_empty" | |
102 | - android:gravity="center" | |
103 | - android:rotation="-20" | |
104 | - android:text="" | |
105 | - android:textColor="#ddff9933" | |
106 | - android:textSize="@dimen/big_text_p3" | |
107 | - android:textStyle="bold" | |
108 | - android:visibility="visible" /> | |
109 | - | |
110 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_no_file.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/bluebackground" | |
6 | - android:orientation="vertical"> | |
7 | - | |
8 | - | |
9 | - <RelativeLayout | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerInParent="true"> | |
13 | - | |
14 | - <TextView | |
15 | - android:id="@+id/fragment_no_file_title" | |
16 | - android:layout_width="wrap_content" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_centerHorizontal="true" | |
19 | - android:textColor="#ff1111" | |
20 | - android:textStyle="bold" | |
21 | - android:textSize="@dimen/big_text_p1" /> | |
22 | - | |
23 | - <TextView | |
24 | - android:id="@+id/fragment_no_file_title_2" | |
25 | - android:layout_width="wrap_content" | |
26 | - android:layout_height="wrap_content" | |
27 | - android:layout_below="@id/fragment_no_file_title" | |
28 | - android:layout_centerHorizontal="true" | |
29 | - android:layout_marginTop="30dp" | |
30 | - android:textColor="#ff1111" | |
31 | - android:textStyle="bold" | |
32 | - android:textSize="@dimen/big_text_p1" /> | |
33 | - </RelativeLayout> | |
34 | - | |
35 | - <View | |
36 | - android:id="@+id/fragment_online_btn_admin" | |
37 | - android:layout_width="200dp" | |
38 | - android:layout_height="200dp" | |
39 | - android:layout_alignParentRight="true" | |
40 | - android:layout_alignParentBottom="true" | |
41 | - /> | |
42 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_offline.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/offline_bg" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - | |
8 | - <TextView | |
9 | - android:id="@+id/offline_title" | |
10 | - android:text="@string/welcome" | |
11 | - android:layout_width="wrap_content" | |
12 | - android:layout_height="wrap_content" | |
13 | - android:layout_centerHorizontal="true" | |
14 | - android:textSize="@dimen/big_text_p2" | |
15 | - android:textStyle="bold" | |
16 | - android:layout_marginTop="80dp"/> | |
17 | - | |
18 | - <TextView | |
19 | - android:id="@+id/offline_tips" | |
20 | - android:text="@string/connect_meeting" | |
21 | - android:textSize="@dimen/big_text_p3" | |
22 | - android:layout_width="wrap_content" | |
23 | - android:layout_height="wrap_content" | |
24 | - android:layout_centerInParent="true" | |
25 | - android:textStyle="bold" | |
26 | - /> | |
27 | - | |
28 | - <View | |
29 | - android:id="@+id/offline_btn_admin" | |
30 | - android:layout_width="200dp" | |
31 | - android:layout_height="200dp" | |
32 | - android:layout_alignParentRight="true" | |
33 | - android:layout_alignParentBottom="true" | |
34 | - /> | |
35 | - | |
36 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_online.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/bluebackground" | |
6 | - android:orientation="vertical" > | |
7 | - | |
8 | - <TextView | |
9 | - android:text="@string/welcome_use" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:textColor="@color/white" | |
14 | - android:textSize="@dimen/big_text_p1" | |
15 | - android:layout_marginTop="120dp" | |
16 | - android:textStyle="bold" | |
17 | - /> | |
18 | - | |
19 | - <TextView | |
20 | - android:id="@+id/fragment_online_title" | |
21 | - android:text="@string/sunvote_no_paper" | |
22 | - android:textSize="@dimen/big_text_p1" | |
23 | - android:layout_width="wrap_content" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerInParent="true" | |
26 | - android:textColor="@color/white" | |
27 | - android:textStyle="bold"/> | |
28 | - | |
29 | - <View | |
30 | - android:id="@+id/fragment_online_btn_admin" | |
31 | - android:layout_width="200dp" | |
32 | - android:layout_height="200dp" | |
33 | - android:layout_alignParentRight="true" | |
34 | - android:layout_alignParentBottom="true" | |
35 | - /> | |
36 | - | |
37 | -</RelativeLayout> |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_result_election.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:orientation="vertical" | |
7 | - android:paddingRight="50dp"> | |
8 | - | |
9 | - <RelativeLayout | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin"> | |
13 | - | |
14 | - <ImageButton | |
15 | - android:id="@+id/fragment_result_election_btn_back" | |
16 | - android:layout_width="wrap_content" | |
17 | - android:layout_height="wrap_content" | |
18 | - android:layout_marginLeft="@dimen/content_margin" | |
19 | - android:background="@drawable/back_white_selector" | |
20 | - android:visibility="invisible" /> | |
21 | - | |
22 | - <TextView | |
23 | - android:id="@+id/fragment_result_election_bill_title" | |
24 | - android:layout_width="fill_parent" | |
25 | - android:layout_height="wrap_content" | |
26 | - android:layout_centerHorizontal="true" | |
27 | - android:layout_marginLeft="@dimen/content_margin" | |
28 | - android:layout_marginRight="@dimen/content_margin" | |
29 | - android:ellipsize="end" | |
30 | - android:gravity="center" | |
31 | - android:lines="1" | |
32 | - android:text="@string/vote_election" | |
33 | - android:textColor="@color/white" | |
34 | - android:textSize="@dimen/big_text_p3" | |
35 | - android:textStyle="bold" /> | |
36 | - </RelativeLayout> | |
37 | - | |
38 | - <TextView | |
39 | - android:id="@+id/fragment_result_election_title" | |
40 | - android:layout_width="fill_parent" | |
41 | - android:layout_height="wrap_content" | |
42 | - android:layout_centerHorizontal="true" | |
43 | - android:layout_marginLeft="@dimen/content_margin" | |
44 | - android:layout_marginRight="@dimen/content_margin" | |
45 | - android:layout_marginTop="@dimen/content_margin" | |
46 | - android:gravity="center" | |
47 | - android:text="@string/vote_result" | |
48 | - android:textColor="@color/white" | |
49 | - android:textSize="@dimen/big_text_p3" /> | |
50 | - | |
51 | - <LinearLayout | |
52 | - android:layout_width="match_parent" | |
53 | - android:layout_height="wrap_content" | |
54 | - android:layout_marginLeft="@dimen/content_margin" | |
55 | - android:layout_marginRight="@dimen/content_margin" | |
56 | - android:orientation="horizontal"> | |
57 | - | |
58 | - <TextView | |
59 | - android:id="@+id/fragment_result_election_num" | |
60 | - android:layout_width="match_parent" | |
61 | - android:layout_height="match_parent" | |
62 | - android:layout_centerVertical="true" | |
63 | - android:layout_weight="1" | |
64 | - android:paddingLeft="@dimen/content_margin" | |
65 | - android:text="@string/name_index" | |
66 | - android:textColor="@color/white" | |
67 | - android:textSize="@dimen/big_text_p4" | |
68 | - android:textStyle="bold" /> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/fragment_result_election_name" | |
72 | - android:layout_width="match_parent" | |
73 | - android:layout_height="match_parent" | |
74 | - android:layout_centerVertical="true" | |
75 | - android:layout_weight="1" | |
76 | - android:text="@string/name_xpad" | |
77 | - android:textColor="@color/white" | |
78 | - android:textSize="@dimen/big_text_p4" | |
79 | - android:textStyle="bold" /> | |
80 | - | |
81 | - <TextView | |
82 | - android:id="@+id/fragment_result_election_agree_num" | |
83 | - android:layout_width="match_parent" | |
84 | - android:layout_height="match_parent" | |
85 | - android:layout_alignParentRight="true" | |
86 | - android:layout_centerVertical="true" | |
87 | - android:layout_weight="1" | |
88 | - android:text="@string/agree_num" | |
89 | - android:textColor="@color/white" | |
90 | - android:textSize="@dimen/big_text_p4" | |
91 | - android:textStyle="bold" /> | |
92 | - | |
93 | - <TextView | |
94 | - android:id="@+id/fragment_result_election_oppose_num" | |
95 | - android:layout_width="match_parent" | |
96 | - android:layout_height="match_parent" | |
97 | - android:layout_alignParentRight="true" | |
98 | - android:layout_centerVertical="true" | |
99 | - android:layout_weight="1" | |
100 | - android:text="@string/oppose_num" | |
101 | - android:textColor="@color/white" | |
102 | - android:textSize="@dimen/big_text_p4" | |
103 | - android:textStyle="bold" /> | |
104 | - | |
105 | - <TextView | |
106 | - android:id="@+id/fragment_result_election_abstant_num" | |
107 | - android:layout_width="match_parent" | |
108 | - android:layout_height="match_parent" | |
109 | - android:layout_alignParentRight="true" | |
110 | - android:layout_centerVertical="true" | |
111 | - android:layout_weight="1" | |
112 | - android:text="@string/abstant_num" | |
113 | - android:textColor="@color/white" | |
114 | - android:textSize="@dimen/big_text_p4" | |
115 | - android:textStyle="bold" /> | |
116 | - | |
117 | - <TextView | |
118 | - android:id="@+id/fragment_result_election_result" | |
119 | - android:layout_width="match_parent" | |
120 | - android:layout_height="match_parent" | |
121 | - android:layout_alignParentRight="true" | |
122 | - android:layout_centerVertical="true" | |
123 | - android:layout_marginLeft="@dimen/content_margin" | |
124 | - android:layout_weight="1" | |
125 | - android:text="@string/result" | |
126 | - android:textColor="@color/white" | |
127 | - android:textSize="@dimen/big_text_p4" | |
128 | - android:textStyle="bold" /> | |
129 | - </LinearLayout> | |
130 | - | |
131 | - <LinearLayout | |
132 | - android:layout_width="match_parent" | |
133 | - android:layout_height="match_parent" | |
134 | - android:orientation="vertical"> | |
135 | - | |
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" /> | |
147 | - | |
148 | - <LinearLayout | |
149 | - android:layout_width="match_parent" | |
150 | - android:layout_height="match_parent" | |
151 | - android:layout_marginLeft="280px" | |
152 | - android:layout_marginRight="280px" | |
153 | - android:layout_weight="0.3" | |
154 | - android:orientation="horizontal"> | |
155 | - | |
156 | - <TextView | |
157 | - android:id="@+id/tv_to_be" | |
158 | - android:layout_width="wrap_content" | |
159 | - android:layout_height="wrap_content" | |
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="fill_parent" | |
168 | - android:layout_height="wrap_content" | |
169 | - android:gravity="right" | |
170 | - android:text="@string/shidao" | |
171 | - android:textColor="@color/white" | |
172 | - android:textSize="@dimen/big_text_p3" /> | |
173 | - </LinearLayout> | |
174 | - </LinearLayout> | |
175 | -</LinearLayout> | |
176 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_result_multi_vote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:paddingRight="50dp"> | |
7 | - | |
8 | - <LinearLayout | |
9 | - android:id="@+id/multi_vote_result_top_panal" | |
10 | - android:layout_width="match_parent" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_marginTop="@dimen/content_margin" | |
13 | - android:layout_marginRight="@dimen/content_margin" | |
14 | - android:layout_marginLeft="@dimen/content_margin" | |
15 | - android:orientation="horizontal"> | |
16 | - | |
17 | - <ImageButton | |
18 | - android:id="@+id/multi_vote_result_btnback" | |
19 | - android:layout_width="wrap_content" | |
20 | - android:layout_height="wrap_content" | |
21 | - android:background="@drawable/back_selector" | |
22 | - android:visibility="gone" /> | |
23 | - | |
24 | - <TextView | |
25 | - android:id="@+id/multi_vote_result_tv_title" | |
26 | - android:layout_width="0dp" | |
27 | - android:layout_height="wrap_content" | |
28 | - android:layout_weight="1" | |
29 | - android:gravity="center" | |
30 | - android:maxLines="2" | |
31 | - android:textColor="@color/white" | |
32 | - android:textSize="@dimen/big_text_p3" | |
33 | - android:ellipsize="end" | |
34 | - android:textStyle="bold" /> | |
35 | - </LinearLayout> | |
36 | - | |
37 | - <LinearLayout | |
38 | - android:id="@+id/multi_vote_result_title_panel" | |
39 | - android:layout_width="fill_parent" | |
40 | - android:layout_height="wrap_content" | |
41 | - android:layout_below="@id/multi_vote_result_top_panal" | |
42 | - android:layout_marginLeft="20dp" | |
43 | - android:layout_marginRight="20dp" | |
44 | - android:layout_marginTop="10dp" | |
45 | - android:orientation="horizontal"> | |
46 | - | |
47 | - <TextView | |
48 | - android:id="@+id/multi_vote_result_title_num" | |
49 | - android:layout_width="20dp" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_marginLeft="5dp" | |
52 | - android:gravity="center" | |
53 | - android:textColor="@color/white" | |
54 | - android:textSize="@dimen/big_text_p6" | |
55 | - android:textStyle="bold" /> | |
56 | - | |
57 | - <TextView | |
58 | - android:id="@+id/multi_vote_result_title_name" | |
59 | - android:layout_width="0dp" | |
60 | - android:layout_height="wrap_content" | |
61 | - android:layout_centerVertical="true" | |
62 | - android:layout_weight="1" | |
63 | - android:gravity="center" | |
64 | - android:textColor="@color/white" | |
65 | - android:textSize="@dimen/big_text_p6" | |
66 | - android:textStyle="bold" /> | |
67 | - | |
68 | - <TextView | |
69 | - android:id="@+id/multi_vote_result_title_agree" | |
70 | - android:layout_width="80dp" | |
71 | - android:layout_height="wrap_content" | |
72 | - android:layout_centerVertical="true" | |
73 | - android:layout_marginLeft="15dp" | |
74 | - android:gravity="center" | |
75 | - android:text="@string/agree" | |
76 | - android:textColor="@color/white" | |
77 | - android:textSize="@dimen/big_text_p4" | |
78 | - android:textStyle="bold" /> | |
79 | - | |
80 | - <TextView | |
81 | - android:id="@+id/multi_vote_result_title_oppose" | |
82 | - android:layout_width="80dp" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_marginLeft="15dp" | |
85 | - android:gravity="center" | |
86 | - android:text="@string/oppose" | |
87 | - android:textColor="@color/white" | |
88 | - android:textSize="@dimen/big_text_p4" | |
89 | - android:textStyle="bold" /> | |
90 | - | |
91 | - <TextView | |
92 | - android:id="@+id/multi_vote_result_title_abstan" | |
93 | - android:layout_width="80dp" | |
94 | - android:layout_height="wrap_content" | |
95 | - android:layout_marginLeft="15dp" | |
96 | - android:gravity="center" | |
97 | - android:text="@string/abstant" | |
98 | - android:textColor="@color/white" | |
99 | - android:textSize="@dimen/big_text_p4" | |
100 | - android:textStyle="bold" /> | |
101 | - | |
102 | - <TextView | |
103 | - android:id="@+id/multi_vote_result_title_unvote" | |
104 | - android:layout_width="80dp" | |
105 | - android:layout_height="wrap_content" | |
106 | - android:layout_marginLeft="15dp" | |
107 | - android:gravity="center" | |
108 | - android:text="@string/unvote" | |
109 | - android:textColor="@color/white" | |
110 | - android:textSize="@dimen/big_text_p4" | |
111 | - android:textStyle="bold" /> | |
112 | - | |
113 | - <TextView | |
114 | - android:id="@+id/multi_vote_result_title_result" | |
115 | - android:layout_width="80dp" | |
116 | - android:layout_height="wrap_content" | |
117 | - android:layout_centerVertical="true" | |
118 | - android:layout_marginLeft="15dp" | |
119 | - android:gravity="center" | |
120 | - android:text="@string/result" | |
121 | - android:textColor="@color/white" | |
122 | - android:textSize="@dimen/big_text_p4" | |
123 | - android:textStyle="bold" /> | |
124 | - </LinearLayout> | |
125 | - | |
126 | - <LinearLayout | |
127 | - android:id="@+id/bottom_linear" | |
128 | - android:layout_width="wrap_content" | |
129 | - android:layout_height="wrap_content" | |
130 | - android:layout_alignParentBottom="true" | |
131 | - android:layout_centerHorizontal="true" | |
132 | - android:layout_marginBottom="20dp" | |
133 | - android:orientation="horizontal"> | |
134 | - | |
135 | - <TextView | |
136 | - android:id="@+id/multi_vote_result_yindao" | |
137 | - android:layout_width="wrap_content" | |
138 | - android:layout_height="wrap_content" | |
139 | - android:layout_marginLeft="3dp" | |
140 | - android:layout_marginRight="150dp" | |
141 | - android:textColor="@color/white" | |
142 | - android:textSize="@dimen/big_text_p3" /> | |
143 | - | |
144 | - <TextView | |
145 | - android:id="@+id/multi_vote_result_shidao" | |
146 | - android:layout_width="wrap_content" | |
147 | - android:layout_height="wrap_content" | |
148 | - android:layout_marginLeft="150dp" | |
149 | - android:textColor="@color/white" | |
150 | - android:textSize="@dimen/big_text_p3" /> | |
151 | - </LinearLayout> | |
152 | - | |
153 | - <ListView | |
154 | - android:id="@+id/multi_vote_result_listview" | |
155 | - android:layout_width="fill_parent" | |
156 | - android:layout_height="fill_parent" | |
157 | - android:layout_below="@id/multi_vote_result_title_panel" | |
158 | - android:layout_above="@id/bottom_linear" | |
159 | - android:layout_marginBottom="10dp" | |
160 | - android:layout_marginLeft="20dp" | |
161 | - android:layout_marginRight="20dp" | |
162 | - android:divider="@color/material_grey_600" | |
163 | - android:dividerHeight="2dp"></ListView> | |
164 | - | |
165 | -</RelativeLayout> | |
166 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_result_pingsheng.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="@color/votebakground" > | |
6 | - | |
7 | - <RelativeLayout | |
8 | - android:id="@+id/pingsheng_result_top_panal" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginTop="40px" > | |
12 | - | |
13 | - <ImageButton | |
14 | - android:id="@+id/pingsheng_result_btnback" | |
15 | - android:layout_width="wrap_content" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_marginLeft="36px" | |
18 | - android:background="@drawable/back_selector" | |
19 | - android:visibility="invisible" | |
20 | - /> | |
21 | - | |
22 | - <TextView | |
23 | - android:id="@+id/pingsheng_result_tv_title" | |
24 | - android:layout_width="wrap_content" | |
25 | - android:layout_height="wrap_content" | |
26 | - android:layout_centerHorizontal="true" | |
27 | - android:gravity="center" | |
28 | - android:text="@string/demo_meeting_result" | |
29 | - android:textSize="38sp" | |
30 | - android:textStyle="bold" /> | |
31 | - </RelativeLayout> | |
32 | - | |
33 | - <RelativeLayout | |
34 | - android:id="@+id/pingsheng_result_title_panel" | |
35 | - android:layout_width="fill_parent" | |
36 | - android:layout_height="88dp" | |
37 | - android:layout_below="@id/pingsheng_result_top_panal" | |
38 | - android:layout_marginLeft="36dp" | |
39 | - android:layout_marginRight="36dp" | |
40 | - android:layout_marginTop="36dp" | |
41 | - android:background="#efe0e0" > | |
42 | - | |
43 | - <TextView | |
44 | - android:id="@+id/pingsheng_result_title_num" | |
45 | - android:layout_width="70dp" | |
46 | - android:layout_height="wrap_content" | |
47 | - android:layout_alignParentLeft="true" | |
48 | - android:layout_centerVertical="true" | |
49 | - android:layout_marginLeft="5dp" | |
50 | - android:gravity="center" | |
51 | - android:text="@string/number" | |
52 | - android:textSize="30px" | |
53 | - android:textStyle="bold" /> | |
54 | - | |
55 | - <TextView | |
56 | - android:id="@+id/pingsheng_result_title_name" | |
57 | - android:layout_width="100dp" | |
58 | - android:layout_height="wrap_content" | |
59 | - android:layout_centerVertical="true" | |
60 | - android:layout_marginLeft="5dp" | |
61 | - android:layout_toRightOf="@id/pingsheng_result_title_num" | |
62 | - android:gravity="center" | |
63 | - android:text="@string/name" | |
64 | - android:textSize="30px" | |
65 | - android:textStyle="bold" /> | |
66 | - | |
67 | - <TextView | |
68 | - android:id="@+id/pingsheng_result_title_zhiwei" | |
69 | - android:layout_width="600dp" | |
70 | - android:layout_height="wrap_content" | |
71 | - android:layout_centerVertical="true" | |
72 | - android:layout_marginLeft="10dp" | |
73 | - android:layout_toRightOf="@id/pingsheng_result_title_name" | |
74 | - android:gravity="left" | |
75 | - android:text="@string/memo" | |
76 | - android:textSize="30px" | |
77 | - android:textStyle="bold" /> | |
78 | - | |
79 | - <TextView | |
80 | - android:id="@+id/pingsheng_result_title_agree" | |
81 | - android:layout_width="80dp" | |
82 | - android:layout_height="wrap_content" | |
83 | - android:layout_centerVertical="true" | |
84 | - android:layout_marginLeft="10dp" | |
85 | - android:layout_toRightOf="@id/pingsheng_result_title_zhiwei" | |
86 | - android:gravity="center" | |
87 | - android:text="@string/agree" | |
88 | - android:textSize="30px" | |
89 | - android:textStyle="bold" /> | |
90 | - | |
91 | - <TextView | |
92 | - android:id="@+id/pingsheng_result_title_oppose" | |
93 | - android:layout_width="80dp" | |
94 | - android:layout_height="wrap_content" | |
95 | - android:layout_centerVertical="true" | |
96 | - android:layout_marginLeft="5dp" | |
97 | - android:layout_toRightOf="@id/pingsheng_result_title_agree" | |
98 | - android:gravity="center" | |
99 | - android:text="@string/oppose" | |
100 | - android:textSize="30px" | |
101 | - android:textStyle="bold" /> | |
102 | - | |
103 | - <TextView | |
104 | - android:id="@+id/pingsheng_result_title_abstan" | |
105 | - android:layout_width="80dp" | |
106 | - android:layout_height="wrap_content" | |
107 | - android:layout_centerVertical="true" | |
108 | - android:layout_marginLeft="5dp" | |
109 | - android:layout_toRightOf="@id/pingsheng_result_title_oppose" | |
110 | - android:gravity="center" | |
111 | - android:text="@string/abstant" | |
112 | - android:textSize="30px" | |
113 | - android:textStyle="bold" /> | |
114 | - | |
115 | - <TextView | |
116 | - android:id="@+id/pingsheng_result_title_result" | |
117 | - android:layout_width="100dp" | |
118 | - android:layout_height="wrap_content" | |
119 | - android:layout_centerVertical="true" | |
120 | - android:layout_marginLeft="5dp" | |
121 | - android:layout_toRightOf="@id/pingsheng_result_title_abstan" | |
122 | - android:gravity="center" | |
123 | - android:text="@string/result" | |
124 | - android:textSize="30px" | |
125 | - android:textStyle="bold" /> | |
126 | - </RelativeLayout> | |
127 | - | |
128 | - <ListView | |
129 | - android:id="@+id/pingsheng_result_listview" | |
130 | - android:layout_width="fill_parent" | |
131 | - android:layout_height="fill_parent" | |
132 | - android:layout_below="@id/pingsheng_result_title_panel" | |
133 | - android:layout_marginBottom="36dp" | |
134 | - android:layout_marginLeft="36dp" | |
135 | - android:layout_marginRight="36dp" | |
136 | - android:divider="@color/material_grey_300" | |
137 | - android:dividerHeight="2dp" > | |
138 | - </ListView> | |
139 | - | |
140 | -</RelativeLayout> | |
141 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_result_vote.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:layout_width="match_parent" | |
4 | - android:layout_height="match_parent" | |
5 | - android:background="#ff004586" | |
6 | - android:orientation="vertical" > | |
7 | - <RelativeLayout | |
8 | - android:id="@+id/fragment_result_vote_top_panel" | |
9 | - android:layout_width="match_parent" | |
10 | - android:layout_height="wrap_content" | |
11 | - android:layout_marginTop="10dp" > | |
12 | - | |
13 | - <ImageButton | |
14 | - android:id="@+id/fragment_result_vote_btn_back" | |
15 | - android:layout_width="wrap_content" | |
16 | - android:layout_height="wrap_content" | |
17 | - android:layout_marginLeft="30dp" | |
18 | - android:background="@drawable/back_white_selector" | |
19 | - android:visibility="invisible" /> | |
20 | - | |
21 | - <TextView | |
22 | - android:id="@+id/fragment_result_bill_title" | |
23 | - android:layout_width="fill_parent" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerHorizontal="true" | |
26 | - android:layout_marginLeft="80dp" | |
27 | - android:layout_marginRight="80dp" | |
28 | - android:gravity="center" | |
29 | - android:textColor="@color/white" | |
30 | - android:textStyle="bold" | |
31 | - android:textSize="@dimen/big_text_p2" /> | |
32 | - </RelativeLayout> | |
33 | - <TextView | |
34 | - android:id="@+id/fragment_result_sub_title" | |
35 | - android:layout_width="fill_parent" | |
36 | - android:layout_height="wrap_content" | |
37 | - android:layout_below="@id/fragment_result_vote_top_panel" | |
38 | - android:layout_centerHorizontal="true" | |
39 | - android:layout_marginLeft="20dp" | |
40 | - android:layout_marginRight="20dp" | |
41 | - android:gravity="center" | |
42 | - android:text=" " | |
43 | - android:textColor="@color/white" | |
44 | - android:textStyle="bold" | |
45 | - android:textSize="@dimen/big_text_p2" | |
46 | - android:visibility="gone"/> | |
47 | - <RelativeLayout | |
48 | - android:id="@+id/fragment_result_option_panel1" | |
49 | - android:layout_width="fill_parent" | |
50 | - android:layout_height="wrap_content" | |
51 | - android:layout_below="@id/fragment_result_sub_title" | |
52 | - android:layout_marginTop="10dp" > | |
53 | - <TextView | |
54 | - android:id="@+id/fragment_result_option_vl1" | |
55 | - android:layout_width="180dp" | |
56 | - android:layout_height="30dp" | |
57 | - android:textSize="@dimen/big_text_p3" | |
58 | - android:layout_centerHorizontal="true" /> | |
59 | - | |
60 | - <TextView | |
61 | - android:id="@+id/fragment_result_option1" | |
62 | - android:layout_width="wrap_content" | |
63 | - android:layout_height="wrap_content" | |
64 | - android:layout_toLeftOf="@id/fragment_result_option_vl1" | |
65 | - android:gravity="right" | |
66 | - android:text="" | |
67 | - android:textColor="@color/white" | |
68 | - android:textSize="@dimen/big_text_p3" /> | |
69 | - | |
70 | - <TextView | |
71 | - android:id="@+id/fragment_result_value1" | |
72 | - android:layout_width="350dp" | |
73 | - android:layout_height="wrap_content" | |
74 | - android:gravity="right" | |
75 | - android:layout_alignLeft="@id/fragment_result_option_vl1" | |
76 | - android:text="" | |
77 | - android:textColor="@color/white" | |
78 | - android:textSize="@dimen/big_text_p3" /> | |
79 | - </RelativeLayout> | |
80 | - <RelativeLayout | |
81 | - android:id="@+id/fragment_result_option_panel2" | |
82 | - android:layout_width="fill_parent" | |
83 | - android:layout_height="wrap_content" | |
84 | - android:layout_below="@id/fragment_result_option_panel1" | |
85 | - android:layout_marginTop="10dp" | |
86 | - android:layout_centerHorizontal="true"> | |
87 | - | |
88 | - <TextView | |
89 | - android:id="@+id/fragment_result_option_vl2" | |
90 | - android:layout_width="180dp" | |
91 | - android:layout_height="30dp" | |
92 | - android:textSize="@dimen/big_text_p3" | |
93 | - android:layout_centerHorizontal="true" /> | |
94 | - | |
95 | - <TextView | |
96 | - android:id="@+id/fragment_result_option2" | |
97 | - android:layout_width="wrap_content" | |
98 | - android:layout_height="wrap_content" | |
99 | - android:layout_toLeftOf="@id/fragment_result_option_vl2" | |
100 | - android:gravity="right" | |
101 | - android:text="" | |
102 | - android:textColor="@color/white" | |
103 | - android:textSize="@dimen/big_text_p3" /> | |
104 | - | |
105 | - <TextView | |
106 | - android:id="@+id/fragment_result_value2" | |
107 | - android:layout_width="350dp" | |
108 | - android:layout_height="wrap_content" | |
109 | - android:gravity="right" | |
110 | - android:layout_alignLeft="@id/fragment_result_option_vl2" | |
111 | - android:text="" | |
112 | - android:textColor="@color/white" | |
113 | - android:textSize="@dimen/big_text_p3" /> | |
114 | - </RelativeLayout> | |
115 | - <RelativeLayout | |
116 | - android:id="@+id/fragment_result_option_panel3" | |
117 | - android:layout_width="fill_parent" | |
118 | - android:layout_height="wrap_content" | |
119 | - android:layout_below="@id/fragment_result_option_panel2" | |
120 | - android:layout_marginTop="10dp" | |
121 | - android:layout_centerHorizontal="true"> | |
122 | - | |
123 | - <TextView | |
124 | - android:id="@+id/fragment_result_option_vl3" | |
125 | - android:layout_width="180dp" | |
126 | - android:layout_height="30dp" | |
127 | - android:textSize="@dimen/big_text_p3" | |
128 | - android:layout_centerHorizontal="true" /> | |
129 | - | |
130 | - <TextView | |
131 | - android:id="@+id/fragment_result_option3" | |
132 | - android:layout_width="wrap_content" | |
133 | - android:layout_height="wrap_content" | |
134 | - android:layout_toLeftOf="@id/fragment_result_option_vl3" | |
135 | - android:gravity="right" | |
136 | - android:text="" | |
137 | - android:textColor="@color/white" | |
138 | - android:textSize="@dimen/big_text_p3" /> | |
139 | - | |
140 | - <TextView | |
141 | - android:id="@+id/fragment_result_value3" | |
142 | - android:layout_width="350dp" | |
143 | - android:layout_height="wrap_content" | |
144 | - android:gravity="right" | |
145 | - android:layout_alignLeft="@id/fragment_result_option_vl3" | |
146 | - android:text="" | |
147 | - android:textColor="@color/white" | |
148 | - android:textSize="@dimen/big_text_p3" /> | |
149 | - </RelativeLayout> | |
150 | - <RelativeLayout | |
151 | - android:id="@+id/fragment_result_option_panel4" | |
152 | - android:layout_width="fill_parent" | |
153 | - android:layout_height="wrap_content" | |
154 | - android:layout_below="@id/fragment_result_option_panel3" | |
155 | - android:layout_centerHorizontal="true" | |
156 | - android:layout_marginTop="10dp"> | |
157 | - | |
158 | - <TextView | |
159 | - android:id="@+id/fragment_result_option_vl4" | |
160 | - android:layout_width="180dp" | |
161 | - android:layout_height="30dp" | |
162 | - android:layout_centerHorizontal="true" /> | |
163 | - | |
164 | - <TextView | |
165 | - android:id="@+id/fragment_result_option4" | |
166 | - android:layout_width="wrap_content" | |
167 | - android:layout_height="wrap_content" | |
168 | - android:layout_toLeftOf="@id/fragment_result_option_vl4" | |
169 | - android:gravity="right" | |
170 | - android:text="" | |
171 | - android:textColor="@color/white" | |
172 | - android:textSize="@dimen/big_text_p3" /> | |
173 | - | |
174 | - <TextView | |
175 | - android:id="@+id/fragment_result_value4" | |
176 | - android:layout_width="350dp" | |
177 | - android:layout_height="wrap_content" | |
178 | - android:gravity="right" | |
179 | - android:layout_alignLeft="@id/fragment_result_option_vl4" | |
180 | - android:text="" | |
181 | - android:textColor="@color/white" | |
182 | - android:textSize="@dimen/big_text_p3" /> | |
183 | - </RelativeLayout> | |
184 | - <RelativeLayout | |
185 | - android:id="@+id/fragment_result_option_panel5" | |
186 | - android:layout_width="fill_parent" | |
187 | - android:layout_height="wrap_content" | |
188 | - android:layout_below="@id/fragment_result_option_panel4" | |
189 | - android:layout_marginTop="10dp" | |
190 | - android:layout_centerHorizontal="true"> | |
191 | - <TextView | |
192 | - android:id="@+id/fragment_result_option_vl5" | |
193 | - android:layout_width="180dp" | |
194 | - android:layout_height="30dp" | |
195 | - android:layout_centerHorizontal="true" /> | |
196 | - <TextView | |
197 | - android:id="@+id/fragment_result_option5" | |
198 | - android:layout_width="wrap_content" | |
199 | - android:layout_height="wrap_content" | |
200 | - android:layout_toLeftOf="@id/fragment_result_option_vl5" | |
201 | - android:gravity="right" | |
202 | - android:textColor="@color/white" | |
203 | - android:textSize="@dimen/big_text_p3" /> | |
204 | - <TextView | |
205 | - android:id="@+id/fragment_result_value5" | |
206 | - android:layout_width="350dp" | |
207 | - android:layout_height="wrap_content" | |
208 | - android:gravity="right|center" | |
209 | - android:layout_alignLeft="@id/fragment_result_option_vl5" | |
210 | - android:textColor="@color/white" | |
211 | - android:textSize="@dimen/big_text_p3" /> | |
212 | - </RelativeLayout> | |
213 | - <RelativeLayout | |
214 | - android:id="@+id/fragment_result_option_panel6" | |
215 | - android:layout_width="fill_parent" | |
216 | - android:layout_height="wrap_content" | |
217 | - android:layout_below="@id/fragment_result_option_panel5" | |
218 | - android:layout_marginTop="10dp" | |
219 | - android:layout_centerHorizontal="true"> | |
220 | - <TextView | |
221 | - android:id="@+id/fragment_result_option_vl6" | |
222 | - android:layout_width="180dp" | |
223 | - android:layout_height="30dp" | |
224 | - android:layout_centerHorizontal="true" /> | |
225 | - <TextView | |
226 | - android:id="@+id/fragment_result_option6" | |
227 | - android:layout_width="wrap_content" | |
228 | - android:layout_height="wrap_content" | |
229 | - android:layout_toLeftOf="@id/fragment_result_option_vl6" | |
230 | - android:gravity="right" | |
231 | - android:textColor="@color/white" | |
232 | - android:textSize="@dimen/big_text_p3" /> | |
233 | - <TextView | |
234 | - android:id="@+id/fragment_result_value6" | |
235 | - android:layout_width="350dp" | |
236 | - android:layout_height="wrap_content" | |
237 | - android:gravity="right|center" | |
238 | - android:layout_alignLeft="@id/fragment_result_option_vl6" | |
239 | - android:textColor="@color/white" | |
240 | - android:textSize="@dimen/big_text_p3" /> | |
241 | - </RelativeLayout> | |
242 | - <RelativeLayout | |
243 | - android:id="@+id/fragment_result_option_panel7" | |
244 | - android:layout_width="fill_parent" | |
245 | - android:layout_height="wrap_content" | |
246 | - android:layout_below="@id/fragment_result_option_panel6" | |
247 | - android:layout_marginTop="10dp" | |
248 | - android:layout_centerHorizontal="true"> | |
249 | - <TextView | |
250 | - android:id="@+id/fragment_result_option_vl7" | |
251 | - android:layout_width="180dp" | |
252 | - android:layout_height="30dp" | |
253 | - android:layout_centerHorizontal="true" /> | |
254 | - <TextView | |
255 | - android:id="@+id/fragment_result_option7" | |
256 | - android:layout_width="wrap_content" | |
257 | - android:layout_height="wrap_content" | |
258 | - android:layout_toLeftOf="@id/fragment_result_option_vl7" | |
259 | - android:gravity="right" | |
260 | - android:textColor="@color/white" | |
261 | - android:textSize="@dimen/big_text_p3" /> | |
262 | - <TextView | |
263 | - android:id="@+id/fragment_result_value7" | |
264 | - android:layout_width="350dp" | |
265 | - android:layout_height="wrap_content" | |
266 | - android:gravity="right|center" | |
267 | - android:layout_alignLeft="@id/fragment_result_option_vl7" | |
268 | - android:textColor="@color/white" | |
269 | - android:textSize="@dimen/big_text_p3" /> | |
270 | - </RelativeLayout> | |
271 | - <TextView | |
272 | - android:id="@+id/fragment_result_memo" | |
273 | - android:layout_width="fill_parent" | |
274 | - android:layout_height="wrap_content" | |
275 | - android:layout_below="@id/fragment_result_option_panel7" | |
276 | - android:layout_alignParentBottom="true" | |
277 | - android:layout_centerHorizontal="true" | |
278 | - android:layout_marginTop="10dp" | |
279 | - android:layout_marginLeft="20dp" | |
280 | - android:layout_marginRight="20dp" | |
281 | - android:gravity="center" | |
282 | - android:textColor="@color/white" | |
283 | - android:textStyle="bold" | |
284 | - android:textSize="@dimen/big_text_p3" /> | |
285 | - <RelativeLayout | |
286 | - android:id="@+id/fragment_result_page_panel" | |
287 | - android:layout_width="fill_parent" | |
288 | - android:layout_height="wrap_content" | |
289 | - android:layout_below="@id/fragment_result_memo" | |
290 | - android:layout_centerHorizontal="true" | |
291 | - android:layout_marginTop="10dp"> | |
292 | - <TextView | |
293 | - android:id="@+id/fragment_result_page" | |
294 | - android:layout_width="wrap_content" | |
295 | - android:layout_height="wrap_content" | |
296 | - android:layout_centerInParent="true" | |
297 | - android:text="1/1" | |
298 | - android:textColor="@color/white" | |
299 | - android:textSize="@dimen/big_text_p4" /> | |
300 | - | |
301 | - <Button | |
302 | - android:id="@+id/fragment_result_pageup" | |
303 | - android:layout_width="wrap_content" | |
304 | - android:layout_height="wrap_content" | |
305 | - android:layout_centerVertical="true" | |
306 | - android:layout_marginRight="30dp" | |
307 | - android:layout_toLeftOf="@id/fragment_result_page" | |
308 | - android:background="@drawable/page_selector" | |
309 | - android:textSize="@dimen/big_text_p4" | |
310 | - android:text="@string/page_up" /> | |
311 | - | |
312 | - <Button | |
313 | - android:id="@+id/fragment_result_pagedown" | |
314 | - android:layout_width="wrap_content" | |
315 | - android:layout_height="wrap_content" | |
316 | - android:layout_centerVertical="true" | |
317 | - android:layout_marginLeft="30dp" | |
318 | - android:layout_toRightOf="@id/fragment_result_page" | |
319 | - android:background="@drawable/page_selector" | |
320 | - android:textSize="@dimen/big_text_p4" | |
321 | - android:text="@string/page_down" /> | |
322 | - </RelativeLayout> | |
323 | -</RelativeLayout> | |
324 | 0 | \ No newline at end of file |
C5/app/src/main/res/layout-land-280dpi-1920x1116/fragment_show_id.xml deleted
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | - android:background="@color/bluebackground" | |
4 | - android:layout_width="match_parent" | |
5 | - android:layout_height="match_parent" > | |
6 | - | |
7 | - <TextView | |
8 | - | |
9 | - android:text="@string/keypad_id" | |
10 | - android:layout_width="wrap_content" | |
11 | - android:layout_height="wrap_content" | |
12 | - android:layout_centerHorizontal="true" | |
13 | - android:textColor="@color/white" | |
14 | - android:textSize="36dp" | |
15 | - android:layout_marginTop="50dp" | |
16 | - /> | |
17 | - | |
18 | - <TextView | |
19 | - android:id="@+id/fragment_show_id_title" | |
20 | - android:text="00" | |
21 | - android:textSize="400dp" | |
22 | - android:textStyle="bold" | |
23 | - android:layout_width="wrap_content" | |
24 | - android:layout_height="wrap_content" | |
25 | - android:layout_centerInParent="true" | |
26 | - android:textColor="@color/white" | |
27 | - /> | |
28 | -</RelativeLayout> |