@Override
    protected void onBoundsChange(Rect bounds) {
        super.onBoundsChange(bounds);
        applyGravity = true;
    }
A static {@link GlideDrawable} for displaying a single image.
core/src/main/java/com/bumptech/glide/load/resource/bitmap/GlideBitmapDrawable.java