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);
最简单的教养,就是适当地回避别人的难堪。