This commit is contained in:
M66B
2021-09-17 21:34:57 +02:00
parent 847c06e44d
commit 522cd30e7c
2 changed files with 15 additions and 0 deletions

View File

@@ -4332,11 +4332,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
LayoutInflater inflater = LayoutInflater.from(context);
View dview = inflater.inflate(R.layout.dialog_ask_again, null, false);
final TextView tvMessage = dview.findViewById(R.id.tvMessage);
final ImageButton ibInfo = dview.findViewById(R.id.ibInfo);
final TextView tvRemark = dview.findViewById(R.id.tvRemark);
final CheckBox cbConfirm = dview.findViewById(R.id.cbConfirm);
final CheckBox cbNotAgain = dview.findViewById(R.id.cbNotAgain);
final TextView tvAccept = dview.findViewById(R.id.tvAccept);
tvMessage.setText(R.string.title_ask_show_html);
ibInfo.setVisibility(View.GONE);
tvRemark.setText(R.string.title_ask_show_image_hint);
cbConfirm.setVisibility(View.GONE);
tvAccept.setVisibility(View.GONE);
new AlertDialog.Builder(context)
.setView(dview)