1
私はアンドロイドAlertDialogを作成するが、その後appearenceがあることを示しています:のAndroid AlertDialogスタイル
が、私は、スタイルはこのようになりたい:
マイコード:
private void showAlertDialog(String message) {
Log.i("LOG", getText(R.string.class_main) + "showAlertDialog()");
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(message)
.setTitle(getText(R.string.retorno_comando))
.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
})
.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
//something here
}
});
AlertDialog dialog = builder.create();
dialog.show();
}
私が欲しかったのは、ありがとう –