title: How to make a progress bar use an image to show progress instead of using a color in Android
body: <p>I have a logo image that I would like to use in my progress bar.  Each time an image is downloaded, my progress bar creeps up using a blue bar.  However,  I would prefer that it slowly display my logo image, one bit at a time.  I tried:</p>
  
  <pre><code>android:progressDrawable="@drawable/logo"
  </code></pre>
  
  <p>but that just set the entire progress bar immediately to my image.  I also tried setting it dynamically with:</p>
  
  <pre><code>progressBar.setProgressDrawable(getResources()...etc)
  </code></pre>
  
  <p>but this just left me with no view and a black empty space.</p>
  
  <p>Can be done?</p>