private void relayout() {

        this.removeAllViews();
        if (this.withSelectAllChip && this.valueButtons.size() > 1) {
            addChipToView(this.selectAllNoneButton);
        }
        for (CompoundButton chip : this.valueButtons) {
            addChipToView(chip);
        }
        checkAndSetAllNone();
    }
adds chips to this group programatically
main/src/main/java/cgeo/geocaching/ui/ChipChoiceGroup.java