compprogjava
compprogjava

Reputation: 169

Enable CheckBoxes after Radio Button is selected

Im working with SharedPreferences/Settings where I want to have two radiobuttons. When one of the radiobuttons is selected, it should enable a list of checkboxes and disable the checkboxes under the other radiobutton. Any idea how to approach this? thanks! (:

Upvotes: 0

Views: 85

Answers (1)

TN888
TN888

Reputation: 7739

Use OnCheckedChangeListener, get value and enable checkbox using yourchestbox.setEnabled(true);

Upvotes: 1

Related Questions