title: How to resize placeholder drawable image with glide?
body: <p>I tried many answer from git and stackoverflow but i didn't find right solution.</p>
  <p>I used glide in gridview.
  In xml</p>
  
  <pre><code>&lt;SquareRelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:id=&quot;@+id/people_raw_relative_layout&quot;&gt;
      &lt;ImageView
          android:id=&quot;@+id/people_raw_thumbnail&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          android:layout_alignParentStart=&quot;true&quot;
          android:layout_alignParentTop=&quot;true&quot;
          android:layout_marginStart=&quot;1dp&quot;
          android:layout_marginEnd=&quot;1dp&quot;
          android:layout_marginBottom=&quot;2dp&quot;
          android:background=&quot;?attr/appBackground&quot;
          android:scaleType=&quot;centerCrop&quot;/&gt;
  
  &lt;/SquareRelativeLayout&gt;
  </code></pre>
  <p>in <code>onBindViewHolder</code></p>
  <pre><code>GlideApp.with(mContext).load(currentThumb).placeholder(R.drawable.people_image_loading_ppa).transition(DrawableTransitionOptions.withCrossFade(1000))
                  .apply(new RequestOptions()
                          .diskCacheStrategy(DiskCacheStrategy.AUTOMATIC)
                          .skipMemoryCache(true)
                          .dontTransform()
                          .fitCenter()
                          .priority(Priority.IMMEDIATE)
                          .encodeFormat(Bitmap.CompressFormat.PNG)
                          .format(DecodeFormat.DEFAULT)).into(peopleViewHolder.imageView);
  </code></pre>
  <p>and my drawable is</p>
  
  <pre><code>&lt;animated-rotate
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:drawable=&quot;@drawable/people_image_loading_spinner&quot;
      android:pivotX=&quot;50%&quot;
      android:pivotY=&quot;50%&quot;
      /&gt;
  </code></pre>
  <p>i want to resize my placeholder size without changes of original image scaletype(centerCrop).
  problem is placehoder(loading bar image) is also in centercrop
  currently its look like below image. i want to this loading bar 30x30 dp in center of imageview</p>
  <p><a href="https://i.stack.imgur.com/2Q2PV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Q2PV.jpg" alt="enter image description here" /></a></p>