public Drawable getPlayOverlayDrawable() {
    return new ScaleTypeDrawable(
        getResources().getDrawable(android.R.drawable.ic_media_play),
        ScalingUtils.ScaleType.CENTER);
  }
GIF example that illustrates how to display a simple GIF file
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/gif/ImageFormatGifFragment.java