调整投票ui

This commit is contained in:
zlzw 2023-06-05 13:24:13 +08:00
parent ea0a3375e4
commit e6d92ffc86

View File

@ -161,7 +161,7 @@ public class LiveRoomVoteManager {
cancel(); cancel();
return; return;
} }
mTitle.setText(Html.fromHtml(String.format(mContext.getString(R.string.live_room_vote_over_tip), msg, time + ""))); mTitle.setText(Html.fromHtml(String.format(mContext.getString(R.string.live_room_vote_over_tip), msg+"<br/>", time + "")));
}); });
} }
}, 0, 1000); }, 0, 1000);
@ -184,6 +184,7 @@ public class LiveRoomVoteManager {
mCancel.setText(getAnswerText(createVoteModel.getAnswer2())); mCancel.setText(getAnswerText(createVoteModel.getAnswer2()));
mCancel.setOnClickListener(null); mCancel.setOnClickListener(null);
mSubmit.setOnClickListener(null); mSubmit.setOnClickListener(null);
mClose.setTag(null);
if (mSubmit.getTag() == null || !mSubmit.getTag().equals(createVoteModel.getLiveUid())) { if (mSubmit.getTag() == null || !mSubmit.getTag().equals(createVoteModel.getLiveUid())) {
mSubmit.setTextColor(Color.WHITE); mSubmit.setTextColor(Color.WHITE);
mCancel.setTextColor(Color.WHITE); mCancel.setTextColor(Color.WHITE);