You will need to call AlertDialog.show() to show alert on screen do it as: AlertDialog alertDialog = dialog.create(); // show it ...
確定! 回上一頁