@Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        setMeasuredDimension(getMeasuredWidth() + mShadowRadius * 2, getMeasuredHeight()
                + mShadowRadius * 2);
    }
Update the background color of the circle image view.

@param colorRes Id of a color resource.
caprice/ui/src/main/java/net/qiujuer/genius/ui/widget/FloatActionButton.java