Code example for ListPreference

Methods: setEnabled, setTitle