title: Android: How to Create a Modal Progress "Wheel" Overlay?
body: <p>I would like to show a modal progress "wheel" overlay on my view.</p>
  
  <p>The ProgressDialog comes close, but I do not want the dialog background or border.</p>
  
  <p>I tried setting the background drawable of the dialog window:</p>
  
  <pre><code>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();
  </code></pre>
  
  <p>but to no avail (i.e. still looks the same as without the ...setBackgroundDrawable code).</p>