AlertDialog regAlertDialog= new AlertDialog.Builder(NewLoginActivity.this).create();
regAlertDialog.setCanceledOnTouchOutside(false);
regAlertDialog.show();
regAlertDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
Window window = regAlertDialog.getWindow();
window.setContentView(R.layout.dialog_register_teacher_new);
final TextView textViewHint= (TextView) window.findViewById(R.id.textView_hint);
TextView phone= (TextView) window.findViewById(R.id.show_phone_number);
phone.setText(phoneNumber);
Android 自定义布局对话框
最新推荐文章于 2024-05-19 12:29:06 发布