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).