title: how to load xml in imageview using glide
body: <p>I have created an gradient <code>xml</code> in drawable folder of my project. I want to load that <code>xml</code> in an <code>ImageView</code> using <code>Glide</code>. How can I do that ?</p>
  
  <p>Simple loading of image in ImageView using Glide:</p>
  
  <pre><code>Glide.with(LoginActivity.this).load(R.drawable.a270).asBitmap().diskCacheStrategy(DiskCacheStrategy.RESULT).into(backgroundImage);
  </code></pre>
  
  <p>But if I use the same code above replacing <code>R.drawable.a270</code> with <code>R.drawable.gradient_background</code> with a drawable xml its not working.</p>