private void computeBitmapSize() {
        // bitmaps have the size of the largest bitmap in this group
        final Bitmap[] bitmaps = {bitmapBtnDefault, bitmapCircleSelected, bitmapCircleRed};
        if (isInEditMode()) {
            bitmapWidth = Math.max(bitmapWidth, 150);
            bitmapHeight = Math.max(bitmapHeight, 150);
            return;
        }

        for (final Bitmap bitmap : bitmaps) {
            bitmapWidth = Math.max(bitmapWidth, bitmap.getWidth());
            bitmapHeight = Math.max(bitmapHeight, bitmap.getHeight());
        }
    }
Sets the bitmap for active pattern sections (the circle)

@param resId
android-patternview/src/main/java/com/eftimoff/patternview/PatternView.java