Code example for CheckBoxPreference

Methods: setEnabled, isChecked, setChecked