カスタム DialogFragment (サポート ライブラリ) があります。レイアウトを @color/GhostWhite に設定しましたが、問題は、正/負のボタンを同じ色に設定する方法が見つからないことです。
これは私がボタンを設定する方法です:
builder.setView(view)
// Add action buttons
.setPositiveButton("Shout!", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int id) {
//publishStory(/*shoutText.getText().toString()"woww");
mListener.onDialogPositiveClick(WagDialogFragment.this);
}
})
.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
}
});
return builder.create();