private void relayout() {
        final List<Button> children = new ArrayList<>();
        for (int idx = 0; idx < this.getChildCount(); idx++) {
            children.add((Button) this.getChildAt(idx));
        }
        int totalWidth = 0;
        if (minWidths != null) {
            for (int w : minWidths) {
                totalWidth += w;
            }
        }
        this.removeAllViews();
        int pos = 0;
        for (Button child : children) {
            addToView(child, minWidths != null && pos < minWidths.size() ? minWidths.get(pos) : 0, totalWidth);
            pos++;
        }
    }
Aligns the widths of the buttons of given ButtonToggleGroups so they match
main/src/main/java/cgeo/geocaching/ui/ButtonToggleGroup.java