@Override
            public void onAnimationUpdate(ValueAnimator animation) {
                maskOffsetX = animationFromX + (int) animation.getAnimatedValue();

                if (maskOffsetX + shimmerBitmapWidth >= 0) {
                    invalidate();
                }
            }
Sets the width of the center gradient color to a value higher than 0 to less than 1.
0.99 means that the whole shimmer line will have this color with a little transparent edges.
The default value is 0.1.

@param gradientCenterColorWidth The width of the center gradient color.
imitate/src/main/java/com/engineer/imitate/ui/widget/ShimmerLayout.java