Dialog クラスのインスタンスを生成して、ダイアログを作った場合 ImageView imageView = new ImageView(this); imageView.setImageResource(R.drawable.bg); Dialog dialog = new Dialog(this); dialog.setContentView(imageView); dialog.show(); setTitle() でタイトルを設定しなくてもタイトル部分が表示されてしまいます。 ちなみに、ProgressDialog の場合は、setTitle() を呼ばなければタイトル部分は表示されません。 Dialog でタイトル部分を消すには、requestWindowFeature() で Window.FEATURE_NO_TITLE を指定します。 ImageView imageVi
![Android Dialog のタイトル部分をなくす](https://cdn-ak-scissors.b.st-hatena.com/image/square/c7f31f7e301758ee3f0e55b003ed237e9aeeeca3/height=288;version=1;width=512/http%3A%2F%2F4.bp.blogspot.com%2F-R1hxclpe-Vs%2FTWfON0MLRHI%2FAAAAAAAACLk%2Fr65Hg3utGH8%2Fw1200-h630-p-k-no-nu%2FNoTitleBarDialog1.png)