i m trying to set the attribute of one check box to selected after i click the first check box
CheckBox check = (CheckBox) findViewById(R.id.checkBox);
assume there is three check boxes,
[] 1
[] 2
[] 3
if i tick check box 1 the second check box will also be marked as checked.
[✔] 1
[✔] 2
[] 3
the thing is they have the same name and i was wondering if it is possible. i would gladly appreciate any comments and answers.
Aucun commentaire:
Enregistrer un commentaire