alertDialog自定义内容

View view = LayoutInflater.from(context).inflate(R.layout.coustom_view, null);
//findview
view.findViewById··· AlertDialogalertDialog = new AlertDialog.Builder(LoginActivity.this).create(); alertDialog.setCancelable(false); alertDialog.show(); alertDialog.getWindow().setContentView(view);

  

posted @ 2020-05-29 09:34  码弄  阅读(212)  评论(0编辑  收藏  举报