blob: b965ae6b3e3bc0628dc1965c2a0862c739781840 [file] [log] [blame]
John Reck035a5642010-12-21 18:51:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
Pankaj Gargb3b57462014-11-18 17:28:30 -080019 <PreferenceCategory android:title="@string/pref_general_title">
20 <com.android.browser.preferences.NonformattingListPreference
21 android:key="homepage_picker"
22 android:entries="@array/pref_homepage_choices"
23 android:entryValues="@array/pref_homepage_values"
24 android:title="@string/pref_content_homepage" />
John Reck035a5642010-12-21 18:51:27 -080025
Pankaj Gargb3b57462014-11-18 17:28:30 -080026 <com.android.browser.search.SearchEnginePreference
27 android:defaultValue="google"
28 android:dialogTitle="@string/pref_content_search_engine"
29 android:key="search_engine"
30 android:summary="@string/pref_content_search_engine_summary"
31 android:title="@string/pref_content_search_engine" />
32
33 <CheckBoxPreference
34 android:defaultValue="false"
35 android:key="fullscreen"
36 android:summary="@string/pref_lab_fullscreen_summary"
37 android:title="@string/pref_lab_fullscreen" />
38
39 <CheckBoxPreference
40 android:key="autofill_enabled"
John Reck035a5642010-12-21 18:51:27 -080041 android:title="@string/pref_autofill_enabled"
42 android:summary="@string/pref_autofill_enabled_summary"
Pankaj Gargb3b57462014-11-18 17:28:30 -080043 android:defaultValue="true" />
John Reck035a5642010-12-21 18:51:27 -080044
45 <PreferenceScreen
John Reck035a5642010-12-21 18:51:27 -080046 android:key="autofill_profile"
47 android:title="@string/pref_autofill_profile_editor"
48 android:summary="@string/pref_autofill_profile_editor_summary" />
49 </PreferenceCategory>
50
Pankaj Gargb3b57462014-11-18 17:28:30 -080051 <PreferenceCategory android:title="@string/pref_extras_title"
52 android:key="advanced">
53
54 <PreferenceScreen android:title="@string/pref_privacy_security_title">
55 <PreferenceScreen android:title="@string/webstorage_clear_data_title">
56 <com.android.browser.BrowserYesNoPreference
57 android:dialogIcon="@android:drawable/ic_dialog_alert"
58 android:dialogMessage="@string/pref_privacy_clear_selected_dlg"
59 android:key="privacy_clear_selected"
60 android:summary="@string/pref_privacy_clear_selected_summary"
61 android:title="@string/pref_privacy_clear_selected" />
62
63 <CheckBoxPreference
64 android:defaultValue="true"
65 android:key="privacy_clear_history"
66 android:summary="@string/pref_privacy_clear_history_summary"
67 android:title="@string/pref_privacy_clear_history" />
68
69 <CheckBoxPreference
70 android:defaultValue="true"
71 android:key="privacy_clear_cache"
72 android:summary="@string/pref_privacy_clear_cache_summary"
73 android:title="@string/pref_privacy_clear_cache" />
74
75 <CheckBoxPreference
76 android:defaultValue="true"
77 android:key="privacy_clear_cookies"
78 android:summary="@string/pref_privacy_clear_cookies_summary"
79 android:title="@string/pref_privacy_clear_cookies" />
80
81 <CheckBoxPreference
82 android:defaultValue="true"
83 android:key="privacy_clear_form_data"
84 android:summary="@string/pref_privacy_clear_form_data_summary"
85 android:title="@string/pref_privacy_clear_form_data" />
86
87 <CheckBoxPreference
88 android:defaultValue="true"
89 android:key="privacy_clear_passwords"
90 android:summary="@string/pref_privacy_clear_passwords_summary"
91 android:title="@string/pref_privacy_clear_passwords" />
92
93 <CheckBoxPreference
94 android:defaultValue="true"
95 android:dependency="enable_geolocation"
96 android:key="privacy_clear_geolocation_access"
97 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
98 android:title="@string/pref_privacy_clear_geolocation_access" />
99
100 </PreferenceScreen>
101
102 <CheckBoxPreference
103 android:defaultValue="true"
104 android:key="show_security_warnings"
105 android:summary="@string/pref_security_show_security_warning_summary"
106 android:title="@string/pref_security_show_security_warning" />
107
108 <CheckBoxPreference
109 android:defaultValue="true"
110 android:key="do_not_track"
111 android:summary="@string/pref_do_not_track_summary"
112 android:title="@string/pref_do_not_track" />
113
114 <CheckBoxPreference
115 android:defaultValue="true"
116 android:key="accept_cookies"
117 android:summary="@string/pref_security_accept_cookies_summary"
118 android:title="@string/pref_security_accept_cookies" />
119
120 <CheckBoxPreference
121 android:defaultValue="true"
122 android:key="save_formdata"
123 android:summary="@string/pref_security_save_form_data_summary"
124 android:title="@string/pref_security_save_form_data" />
125
126 <CheckBoxPreference
127 android:defaultValue="true"
128 android:key="enable_geolocation"
129 android:summary="@string/pref_privacy_enable_geolocation_summary"
130 android:title="@string/pref_privacy_enable_geolocation" />
131
132 <CheckBoxPreference
133 android:defaultValue="true"
134 android:key="remember_passwords"
135 android:summary="@string/pref_security_remember_passwords_summary"
136 android:title="@string/pref_security_remember_passwords" />
137
138 </PreferenceScreen>
139
140 <PreferenceScreen android:title="@string/pref_accessibility_title">
141
142 <PreferenceCategory android:title="@string/pref_font_size_category">
143 <com.android.browser.preferences.FontSizePreview android:title="@string/preview" />
144 <com.android.browser.preferences.SeekBarSummaryPreference
145 android:defaultValue="10"
146 android:key="text_zoom"
147 android:max="30"
148 android:title="@string/pref_text_zoom" />
149
150 <com.android.browser.preferences.SeekBarSummaryPreference
151 android:defaultValue="0"
152 android:key="min_font_size"
153 android:max="20"
154 android:title="@string/pref_min_font_size" />
155
156 <CheckBoxPreference
157 android:defaultValue="false"
158 android:key="force_userscalable"
159 android:summary="@string/pref_force_userscalable_summary"
160 android:title="@string/pref_force_userscalable" />
161
162 <ListPreference
163 android:defaultValue="MEDIUM"
164 android:dialogTitle="@string/pref_default_zoom_dialogtitle"
165 android:entries="@array/pref_default_zoom_choices"
166 android:entryValues="@array/pref_default_zoom_values"
167 android:key="default_zoom"
168 android:title="@string/pref_default_zoom" />
169
170 </PreferenceCategory>
171
172 <!-- // SWE_TODO: Commenting out inverted rendering settings
173 <PreferenceCategory android:title="@string/pref_inverted_category">
174
175 <com.android.browser.preferences.InvertedContrastPreview
176 android:title="@string/preview" />
177
178 <CheckBoxPreference
179 android:key="inverted"
180 android:defaultValue="false"
181 android:title="@string/pref_inverted"
182 android:summary="@string/pref_inverted_summary" />
183
184 <com.android.browser.preferences.SeekBarSummaryPreference
185 android:key="inverted_contrast"
186 android:title="@string/pref_inverted_contrast"
187 android:dependency="inverted"
188 android:defaultValue="0"
189 android:max="20" />
190 </PreferenceCategory>
191 -->
192
193 </PreferenceScreen>
194
195
196 <PreferenceScreen android:title="@string/pref_content_title">
197 <CheckBoxPreference
198 android:defaultValue="true"
199 android:key="block_popup_windows"
200 android:title="@string/pref_content_block_popups" />
201
202 <CheckBoxPreference
203 android:defaultValue="false"
204 android:key="open_in_background"
205 android:summary="@string/pref_content_open_in_background_summary"
206 android:title="@string/pref_content_open_in_background" />
207
208 <CheckBoxPreference
209 android:defaultValue="true"
210 android:key="enable_javascript"
211 android:title="@string/pref_content_javascript" />
212
213 <CheckBoxPreference
214 android:key="allow_media_downloads"
215 android:title="@string/pref_allow_media_downloads" />
216
217 <PreferenceScreen
218 android:key="download_path_setting_screen"
219 android:title="@string/pref_download_path_setting_screen_title"/>
220 </PreferenceScreen>
221
222
223 <PreferenceScreen
224 android:key="website_settings"
225 android:summary="@string/pref_extras_website_settings_summary"
226 android:title="@string/pref_extras_website_settings" />
227
228 <com.android.browser.BrowserYesNoPreference
229 android:key="reset_default_preferences"
230 android:title="@string/pref_extras_reset_default"
231 android:summary="@string/pref_extras_reset_default_summary"
232 android:dialogMessage="@string/pref_extras_reset_default_dlg"
233 android:dialogIcon="@android:drawable/ic_dialog_alert" />
234
235 <PreferenceScreen
236 android:key="debug_menu"
237 android:title="@string/pref_development_title" />
238 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800239</PreferenceScreen>