I would like to show a modal progress "wheel" overlay on my view.
The ProgressDialog comes close, but I do not want the dialog background or border.
I tried setting the background drawable of the dialog window:
this.progressDialog = new ProgressDialog(Main.this);
this.progressDialog.getWindow().setBackgroundDrawable(new ColorDrawable(0));
this.progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
this.progressDialog.setCancelable(false);
this.progressDialog.setIndeterminate(true);
this.progressDialog.show();
but to no avail (i.e. still looks the same as without the ...setBackgroundDrawable code).
Have you checked out this tutorial? At the end of the page it talks about how to create a custom dialog, and that might help you put a spinner progress dialog box with your own backgrounds.