private void addToView(final Button b, final int minWidth, final int totalMinWidth) {
        final LinearLayout.LayoutParams lp;
        if (this.useRelativeWidth) {
            lp = new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, totalMinWidth == 0 ? 1 : ((float) minWidth) / totalMinWidth);
        } else {
            lp = new LinearLayout.LayoutParams(totalMinWidth == 0 ? ViewGroup.LayoutParams.WRAP_CONTENT : minWidth,
                    ViewGroup.LayoutParams.WRAP_CONTENT);
        }
        addView(b, lp);
    }
Aligns the widths of the buttons of given ButtonToggleGroups so they match
main/src/main/java/cgeo/geocaching/ui/ButtonToggleGroup.java