6464 android : title =" @string/home_tab_content"
6565 app : defaultValue =" @array/homeTabItemsValues" />
6666
67- <SwitchPreferenceCompat
68- app : defaultValue =" false"
69- app : icon =" @drawable/ic_list"
70- app : key =" legacy_subscriptions"
71- app : title =" @string/legacy_subscriptions" />
72-
73- <ListPreference
74- android : entries =" @array/grid"
75- android : entryValues =" @array/grid"
76- app : defaultValue =" 3"
77- app : icon =" @drawable/ic_grid"
78- app : isPreferenceVisible =" false"
79- app : key =" legacy_subscriptions_columns"
80- app : title =" @string/grid" />
81-
82- <SwitchPreferenceCompat
83- android : icon =" @drawable/ic_trending"
84- app : defaultValue =" false"
85- app : key =" alternative_videos_layout"
86- app : title =" @string/alternative_videos_layout" />
87-
8867 <ListPreference
8968 android : icon =" @drawable/ic_grid"
9069 app : defaultValue =" @integer/grid_items"
10584
10685 </PreferenceCategory >
10786
87+ <PreferenceCategory
88+ app : title =" @string/legacy_subscriptions" >
89+
90+ <SwitchPreferenceCompat
91+ app : defaultValue =" false"
92+ app : icon =" @drawable/ic_list"
93+ app : key =" legacy_subscriptions"
94+ app : title =" @string/legacy_subscriptions" />
95+
96+ <ListPreference
97+ android : entries =" @array/grid"
98+ android : entryValues =" @array/grid"
99+ app : defaultValue =" 3"
100+ app : icon =" @drawable/ic_grid"
101+ app : dependency =" legacy_subscriptions"
102+ app : key =" legacy_subscriptions_columns"
103+ app : title =" @string/grid" />
104+
105+ </PreferenceCategory >
106+
108107</PreferenceScreen >
0 commit comments