title: Picasso - how to resize placeholder
body: <p>I'm using a 128x128 circular image, animated by a drawable as a placeholder in Picasso.</p>
  
  <p><a href="https://i.stack.imgur.com/LJFjO.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/LJFjO.gif" alt="enter image description here"></a></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
      android:drawable="@drawable/loading_circle"
      android:pivotX="50%"
      android:pivotY="50%" /&gt;
  </code></pre>
  
  <p>And this is how my Java code implements it:</p>
  
  <pre><code>Picasso.with(context)
                          .load(message.getMediaUrl())
                          .config(Bitmap.Config.ARGB_4444)
                          .resize(w, h)
                          .onlyScaleDown()
                          .centerCrop()
                          .placeholder(R.drawable.progresscircle)
                          .into(messageImage);
  </code></pre>
  
  <p>Note that the image sizing parameters above are required by the final image that is loaded into my chat adapter's imageview.</p>
  
  <p>The problem is, Picasso is blowing up and cropping the placeholder like this:</p>
  
  <p><a href="https://i.stack.imgur.com/tNSMH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tNSMH.png" alt="enter image description here"></a></p>
  
  <p>How can I set separate parameters for the placeholder to be suitably sized? Also, what exact parameters would be helpful?</p>