Commit 956a8f0ae52e1aa0eca3b0a2bb75972eb8a8ade0
1 parent
31cd9deb
修改提示方式
Showing
1 changed file
with
2 additions
and
1 deletions
C5/app/src/main/java/com/sunvote/xpadapp/fragments/ElectionFragment.java
| ... | ... | @@ -41,6 +41,7 @@ import com.sunvote.xpadapp.base.SoftKeyBoardListener; |
| 41 | 41 | import com.sunvote.xpadapp.base.ZanyEditText; |
| 42 | 42 | import com.sunvote.xpadapp.db.modal.BillInfo; |
| 43 | 43 | import com.sunvote.xpadapp.db.modal.MultiTitleItem; |
| 44 | +import com.sunvote.xpadapp.dialog.ToastAlertDialog; | |
| 44 | 45 | import com.sunvote.xpadapp.utils.SharedPreferencesUtil; |
| 45 | 46 | import com.sunvote.xpadcomm.XPadApi; |
| 46 | 47 | import com.sunvote.xpadcomm.XPadApiInterface; |
| ... | ... | @@ -738,7 +739,7 @@ public class ElectionFragment extends BaseFragment { |
| 738 | 739 | } |
| 739 | 740 | |
| 740 | 741 | if(votedCount>= voteInfo.select ){ |
| 741 | - Toast.makeText(getActivity(), getString(R.string.max_select)+voteInfo.select+getString(R.string.person), Toast.LENGTH_SHORT).show(); | |
| 742 | + ToastAlertDialog.makeText(getActivity(), getString(R.string.max_select)+voteInfo.select+getString(R.string.person)).show(); | |
| 742 | 743 | checkVoted(); |
| 743 | 744 | return; |
| 744 | 745 | } | ... | ... |