i have several checkboxes added programmatically in a LinearLayout. is it possible to find and check all CheckBoxes in a LinearLayout?
my xml structure is as follows:

```
<LinearLayout>
<ScrollView>
<TableLayout>
<TableRow>
<CheckBox>
</TableRow>
<TableRow>
<CheckBox>
</TableRow>
</TableLayout>
</ScrollView>
</LinearLayout>

```

Java Code:

```
CheckBox selectAll = (CheckBox)findViewById(R.id.checkboxSelectAll);
selectAll.setOnCheckedChangeListener(new OnCheckedChangeListener() {

@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
    if(buttonView.isChecked()){
        //loop in linear layout
            //find each checkbox
            //setChecked(true);

    }

}
});

```