title: How to center progress indicator in ProgressDialog easily (when no title/text passed along)
body: <p>When calling <code>progressDialog = ProgressDialog.show(this, null, null, true);</code> usually the developers wants to only show the progress indication image, and usually would it expect to be centered within the window (at least from regular UI design point of view).
  But the image is too far left, it seems that some padding/margin on the right hand side is still being calculated in for (optional) text on the right, although we're not passing any text as parameter.
  It would just make life little easier for a developer :) So we don't need to create a custom dialog only in order to have the progress indicator being centered by default.</p>
  
  <p>(I filed this as a feature request at <a href="http://code.google.com/p/android/issues/detail?id=9697" rel="nofollow noreferrer">http://code.google.com/p/android/issues/detail?id=9697</a>; please star it if you would also like to see this improved).</p>
  
  <p>Now my questions:</p>
  
  <ol>
  <li><p>How can I easily center the progress image without having to entirely create my own custom alert dialog class? Any parameter I might have overlooked?</p></li>
  <li><p>Furthermore, how to set the background to transparent? </p></li>
  </ol>
  
  <p>I'm also wondering about this: 
  <a href="https://stackoverflow.com/questions/2866141/how-to-put-custom-animation-into-a-progressdialog">https://stackoverflow.com/questions/2866141/how-to-put-custom-animation-into-a-progressdialog</a>
  I haven't actually tried it myself yet but if you cannot create custom animations, it means if you want a kind of animated progress indicator, you always need to extend the ProgressDialog class?
  Looking at the ProgressDialog class though, I don't find anything other than regular drawables though (<a href="http://www.netmite.com/android/mydroid/frameworks/base/core/java/android/app/ProgressDialog.java" rel="nofollow noreferrer">ProgressDialog.java</a>), they're not using AnimatedDrawable there.</p>