title: Animated transparent GIF Image
body: <p>I have animated transparent gif image and need to display it in android. I tried Component GifImageView, everything is ok but background is black not transparent. </p>
  
  <p>Thanks</p>
  
  <pre><code> Stream input = Assets.Open("oie_2103618iUK1c2Pr.gif");
   byte[] bytes;
   using (MemoryStream ms = new MemoryStream())
   {
         input.CopyTo(ms);
         bytes = ms.ToArray();
   }
  
  _gifImageView = new GifImageView(this);
  _gifImageView.SetBytes(bytes);
  _gifImageView.Background = new ColorDrawable(Color.Transparent);
  
  LinearLayout giflayout = FindViewById&lt;LinearLayout&gt;(Resource.Id.gif);              
  giflayout.AddView(_gifImageView);
  </code></pre>