1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:app="http://schemas.android.com/apk/res-auto">
9 <androidx.preference.Preference
10 android:key="@string/pref_key_sign_in"
11 android:layout="@layout/sign_in_preference"
12 android:summary="@string/preferences_sign_in_description"
13 android:title="@string/preferences_sync"
14 app:allowDividerBelow="false" />
16 <androidx.preference.PreferenceCategory
17 android:key="@string/pref_key_account_category"
18 android:title="@string/preferences_category_account"
19 app:iconSpaceReserved="false"
20 app:isPreferenceVisible="false"
21 android:layout="@layout/preference_cat_style">
23 <org.mozilla.fenix.settings.account.AccountPreference
24 android:icon="@drawable/ic_account"
25 android:key="@string/pref_key_account" />
27 <org.mozilla.fenix.settings.account.AccountAuthErrorPreference
28 android:icon="@drawable/ic_account_warning"
29 android:key="@string/pref_key_account_auth_error" />
30 </androidx.preference.PreferenceCategory>
32 <androidx.preference.EditTextPreference
33 android:key="@string/pref_key_override_fxa_server"
34 android:title="@string/preferences_override_fxa_server"
35 android:inputType="textUri"
36 app:iconSpaceReserved="false"
37 app:isPreferenceVisible="false" />
39 <androidx.preference.EditTextPreference
40 android:key="@string/pref_key_override_sync_tokenserver"
41 android:title="@string/preferences_override_sync_tokenserver"
42 android:inputType="textUri"
43 app:iconSpaceReserved="false"
44 app:isPreferenceVisible="false" />
46 <androidx.preference.PreferenceCategory
47 android:title="@string/preferences_category_general"
48 app:iconSpaceReserved="false"
49 android:layout="@layout/preference_cat_style">
50 <androidx.preference.Preference
51 android:icon="@drawable/ic_search"
52 android:key="@string/pref_key_search_settings"
53 android:title="@string/preferences_search" />
55 <androidx.preference.Preference
56 android:icon="@drawable/ic_multiple_tabs"
57 android:key="@string/pref_key_tabs"
58 android:title="@string/preferences_tabs" />
60 <androidx.preference.Preference
61 android:icon="@drawable/ic_customize"
62 android:key="@string/pref_key_customize"
63 android:title="@string/preferences_customize" />
65 <androidx.preference.Preference
66 android:icon="@drawable/ic_login"
67 android:key="@string/pref_key_passwords"
68 android:title="@string/preferences_passwords_logins_and_passwords" />
70 <androidx.preference.Preference
71 android:icon="@drawable/ic_formfill"
72 android:key="@string/pref_key_credit_cards"
73 android:title="@string/preferences_credit_cards"
74 app:isPreferenceVisible="false" />
76 <androidx.preference.Preference
77 android:icon="@drawable/ic_accessibility"
78 android:key="@string/pref_key_accessibility"
79 android:title="@string/preferences_accessibility" />
81 <androidx.preference.Preference
82 android:icon="@drawable/ic_language"
83 android:key="@string/pref_key_language"
84 android:title="@string/preferences_language" />
86 <org.mozilla.fenix.settings.DefaultBrowserPreference
87 android:icon="@drawable/ic_internet"
88 android:key="@string/pref_key_make_default_browser"
89 android:title="@string/preferences_set_as_default_browser" />
90 </androidx.preference.PreferenceCategory>
92 <androidx.preference.PreferenceCategory
93 android:title="@string/preferences_category_privacy_security"
94 app:iconSpaceReserved="false"
95 android:layout="@layout/preference_cat_style">
97 <androidx.preference.Preference
98 android:icon="@drawable/ic_private_browsing"
99 android:key="@string/pref_key_private_browsing"
100 android:title="@string/preferences_private_browsing_options" />
102 <androidx.preference.Preference
103 android:icon="@drawable/ic_tracking_protection_enabled"
104 android:key="@string/pref_key_tracking_protection_settings"
105 android:title="@string/preference_enhanced_tracking_protection" />
107 <androidx.preference.Preference
108 android:icon="@drawable/ic_permission"
109 android:key="@string/pref_key_site_permissions"
110 android:title="@string/preferences_site_permissions" />
112 <androidx.preference.Preference
113 android:icon="@drawable/ic_delete"
114 android:key="@string/pref_key_delete_browsing_data"
115 android:title="@string/preferences_delete_browsing_data" />
117 <androidx.preference.Preference
118 android:icon="@drawable/ic_exit"
119 android:key="@string/pref_key_delete_browsing_data_on_quit_preference"
120 android:title="@string/preferences_delete_browsing_data_on_quit" />
122 <androidx.preference.Preference
123 android:icon="@drawable/ic_notifications"
124 android:key="@string/pref_key_notifications"
125 android:title="@string/preferences_notifications" />
127 <androidx.preference.Preference
128 android:icon="@drawable/ic_data_collection"
129 android:key="@string/pref_key_data_choices"
130 android:title="@string/preferences_data_collection" />
132 </androidx.preference.PreferenceCategory>
135 android:title="@string/preferences_category_advanced"
136 app:iconSpaceReserved="false"
137 android:key="@string/pref_key_advanced"
138 android:layout="@layout/preference_cat_style">
139 <androidx.preference.Preference
140 android:icon="@drawable/ic_addons_extensions"
141 android:key="@string/pref_key_addons"
142 android:title="@string/preferences_addons" />
144 <androidx.preference.Preference
145 android:icon="@drawable/ic_addons_extensions"
146 android:key="@string/pref_key_override_amo_collection"
147 android:title="@string/preferences_customize_amo_collection" />
149 <androidx.preference.SwitchPreference
150 android:defaultValue="false"
151 android:icon="@drawable/ic_open_in_app"
152 android:key="@string/pref_key_open_links_in_external_app"
153 android:title="@string/preferences_open_links_in_apps" />
155 <androidx.preference.SwitchPreference
156 android:defaultValue="false"
157 android:icon="@drawable/ic_download"
158 android:key="@string/pref_key_external_download_manager"
159 android:title="@string/preferences_external_download_manager" />
161 <androidx.preference.SwitchPreference
162 android:defaultValue="true"
163 android:icon="@drawable/ic_info"
164 android:key="@string/pref_key_leakcanary"
165 android:title="@string/preference_leakcanary"
166 app:isPreferenceVisible="@bool/IS_DEBUG" />
168 <androidx.preference.SwitchPreference
169 android:icon="@drawable/ic_energy"
170 android:key="@string/pref_key_remote_debugging"
171 android:title="@string/preferences_remote_debugging"
172 android:defaultValue="false" />
173 </PreferenceCategory>
175 <androidx.preference.PreferenceCategory
176 android:title="@string/preferences_category_about"
177 app:iconSpaceReserved="false"
178 android:layout="@layout/preference_cat_style">
179 <androidx.preference.Preference
180 android:icon="@drawable/ic_bookmark_outline"
181 android:key="@string/pref_key_rate"
182 android:title="@string/preferences_rate" />
184 <androidx.preference.Preference
185 android:icon="@drawable/ic_info"
186 android:key="@string/pref_key_about"
187 android:title="@string/preferences_about" />
189 <androidx.preference.Preference
190 android:icon="@drawable/ic_info"
191 android:key="@string/pref_key_debug_settings"
192 android:title="@string/preferences_debug_settings"
193 app:isPreferenceVisible="false" />
194 <androidx.preference.Preference
195 android:icon="@drawable/ic_info"
196 android:key="@string/pref_key_secret_debug_info"
197 android:title="@string/preferences_debug_info"
198 app:isPreferenceVisible="false" />
199 <androidx.preference.Preference
200 android:icon="@drawable/ic_info"
201 android:key="@string/pref_key_nimbus_experiments"
202 android:title="@string/preferences_nimbus_experiments"
203 app:isPreferenceVisible="false" />
204 </androidx.preference.PreferenceCategory>
205 </androidx.preference.PreferenceScreen>