То, что я пытаюсь реализовать, - это в основном и точная копия изображения ниже (предпочтения, которые я построил в квадрате). При нажатии клавиши слева от предпочтения следует открыть диалог. Нажатие кнопки toggle отключит/включит все, что я установлю в этом предпочтении.
Я пробовал уже несколько часов, и я пришел с пустыми руками. Как реализовать это в PreferenceActivity?
EDIT: Кажется, люди не понимают мой вопрос. Очень важно выяснить, как решить мою проблему с помощью PreferenceActivity. НЕ РАБОТАЕТ. Мне все равно, нужно ли мне это делать в XML или программно. Просто воздержитесь от предоставления мне ответов, которые я не могу использовать в чем-то подобном.
EDIT 2: Добавлена щедрость - мне действительно нужен ответ на этот