I am creating a Dialog like this:
dialog = new Dialog(Start.this);
dialog.setContentView(R.layout.wait);
dialog.setTitle(null);
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
getWindow().setLayout( metrics.widthPixels, metrics.heightPixels);
dialog.show();
But it is not really full-screen, it has that dialog edge around it. Is there a way to completly set it to full screen?