private void measureChildViews() {
        mRadius = Math.max(getMeasuredHeight(), getMeasuredWidth());

        final int count = getChildCount();

        int childSize = (int) (mRadius * RADIO_DEFAULT_CHILD_DIMENSION);

        int childMode = MeasureSpec.EXACTLY;

        for (int i = 0; i < count; i++) {
            final View child = getChildAt(i);
            if (child.getVisibility() == GONE) {
                continue;
            }

            int makeMeasureSpaec = -1;
            makeMeasureSpaec = MeasureSpec.makeMeasureSpec(childSize, childMode);
            child.measure(makeMeasureSpaec, makeMeasureSpaec);
        }

        mPadding = RADIO_PADDING_LAYOUT * mPadding;
    }
author : engineer
e-mail : yingkongshi11@gmail.com
time   : 2018/2/4
desc   :
version: 1.0
app/src/main/java/home/smart/fly/animations/customview/CircleMenu.java