AlertDialog.Builder builder = new Builder(SettingsActivity.this); builder.setTitle("标题"); builder.setPositiveButton("确定",null); builder.setMessage("简单消息框"); builder.show();