I have an activity that extends PreferenceActivity. I have in settings.xml 3 checkboxpreferences. If I uncheck the first checkbox, the other 2 to uncheck. What is the code for that?
I have an activity that extends PreferenceActivity. I have in settings.xml 3 checkboxpreferences. If I uncheck the first checkbox, the other 2 to uncheck. What is the code for that?
I think you want to use checkbox.toggle()
First make a onClickListener:
Then change the other checkboxes:
and: