android.R.id.custom为我返回null。如果有人遇到相同的问题,我设法使它起作用 AlertDialog.Builder builder = new AlertDialog.Builder(context) .
確定! 回上一頁