How to load GIF image from drawable folder into ImageView using glide?
<p>I have to show load GIF image from drawable to ImageView using <code>glide</code>.I have tried with following.</p>

<pre><code>Glide.with(LoginActivity.this)
                .load(getResources().getDrawable(R.drawable.bg_gif)).asGif()
                .crossFade()
                .into(relativeLayout);
</code></pre>

<p>But isn't seem working and it's working when I'm place image in <code>raw</code> folder.but the problem is I have to use different dimension images.</p>

<p>Any help would be greatly appreciated.</p>