やり方が全くわからない単純な問題。これができるかどうか/方法を知っている人はいますか?
理由:私のアプリケーションでは見た目が少し良くなるので、パーティションのない 1 つのソリッドなダイアログ ボックスが必要です。
編集
public void showCustomDialog() {
Dialog dialog = new Dialog(this);
dialog.setContentView(R.layout.customdialog);
TextView thisText = (TextView) dialog.findViewById(R.id.customDialogThisText);
thisText.setText("This");
TextView thatText = (TextView) dialog.findViewById(R.id.customDialogThatText);
thatText.setText("That");
ImageView image = (ImageView) dialog.findViewById(R.id.customDialogImageView);
image.setImageResource(R.drawable.icon);
//Crashes the program with an AndroidRuntimeError
//dialog.requestWindowFeature(dialog.getWindow().FEATURE_NO_TITLE);
dialog.show();
}