blob: abd7b733efb1e0c89c39e513e77c0e8f4d8f7a8b [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
Panos Thomas42459d72014-12-02 08:24:06 -080027 android:defaultValue="@string/default_search_engine_value"
Pankaj Gargb3b57462014-11-18 17:28:30 -080028 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
Site Maoabb7bd32015-03-20 15:34:02 -070040 android:defaultValue="false"
41 android:key="powersave_enabled"
42 android:summary="@string/pref_powersave_enabled_summary"
43 android:title="@string/pref_powersave_enabled" />
44
45 <CheckBoxPreference
Pankaj Gargb3b57462014-11-18 17:28:30 -080046 android:key="autofill_enabled"
John Reck035a5642010-12-21 18:51:27 -080047 android:title="@string/pref_autofill_enabled"
48 android:summary="@string/pref_autofill_enabled_summary"
Pankaj Gargb3b57462014-11-18 17:28:30 -080049 android:defaultValue="true" />
John Reck035a5642010-12-21 18:51:27 -080050
Kulanthaivel Palanichamyf36e1db2015-04-08 16:11:06 -070051 <CheckBoxPreference
52 android:key="web_refiner_enabled"
53 android:title="@string/pref_web_refiner_enabled"
54 android:summary="@string/pref_web_refiner_enabled_summary"
55 android:defaultValue="true" />
56
John Reck035a5642010-12-21 18:51:27 -080057 <PreferenceScreen
John Reck035a5642010-12-21 18:51:27 -080058 android:key="autofill_profile"
59 android:title="@string/pref_autofill_profile_editor"
60 android:summary="@string/pref_autofill_profile_editor_summary" />
61 </PreferenceCategory>
62
Pankaj Gargb3b57462014-11-18 17:28:30 -080063 <PreferenceCategory android:title="@string/pref_extras_title"
64 android:key="advanced">
65
Pankaj Garge2305022015-03-20 14:11:01 -070066 <PreferenceScreen android:title="@string/pref_privacy_security_title"
67 android:key="privacy_security">
68 <PreferenceScreen android:title="@string/webstorage_clear_data_title"
69 android:key="clear_data">
Pankaj Gargb3b57462014-11-18 17:28:30 -080070 <com.android.browser.BrowserYesNoPreference
71 android:dialogIcon="@android:drawable/ic_dialog_alert"
72 android:dialogMessage="@string/pref_privacy_clear_selected_dlg"
73 android:key="privacy_clear_selected"
74 android:summary="@string/pref_privacy_clear_selected_summary"
75 android:title="@string/pref_privacy_clear_selected" />
76
77 <CheckBoxPreference
78 android:defaultValue="true"
79 android:key="privacy_clear_history"
80 android:summary="@string/pref_privacy_clear_history_summary"
81 android:title="@string/pref_privacy_clear_history" />
82
83 <CheckBoxPreference
84 android:defaultValue="true"
85 android:key="privacy_clear_cache"
86 android:summary="@string/pref_privacy_clear_cache_summary"
87 android:title="@string/pref_privacy_clear_cache" />
88
89 <CheckBoxPreference
90 android:defaultValue="true"
91 android:key="privacy_clear_cookies"
92 android:summary="@string/pref_privacy_clear_cookies_summary"
93 android:title="@string/pref_privacy_clear_cookies" />
94
95 <CheckBoxPreference
96 android:defaultValue="true"
97 android:key="privacy_clear_form_data"
98 android:summary="@string/pref_privacy_clear_form_data_summary"
99 android:title="@string/pref_privacy_clear_form_data" />
100
101 <CheckBoxPreference
102 android:defaultValue="true"
103 android:key="privacy_clear_passwords"
104 android:summary="@string/pref_privacy_clear_passwords_summary"
105 android:title="@string/pref_privacy_clear_passwords" />
106
107 <CheckBoxPreference
108 android:defaultValue="true"
109 android:dependency="enable_geolocation"
110 android:key="privacy_clear_geolocation_access"
111 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
112 android:title="@string/pref_privacy_clear_geolocation_access" />
113
114 </PreferenceScreen>
115
116 <CheckBoxPreference
117 android:defaultValue="true"
118 android:key="show_security_warnings"
119 android:summary="@string/pref_security_show_security_warning_summary"
120 android:title="@string/pref_security_show_security_warning" />
121
Dave Tharpb487d5d2015-05-15 15:54:08 -0700122 <com.android.browser.mdm.MdmCheckBoxPreference
Pankaj Gargb3b57462014-11-18 17:28:30 -0800123 android:defaultValue="true"
124 android:key="do_not_track"
125 android:summary="@string/pref_do_not_track_summary"
126 android:title="@string/pref_do_not_track" />
127
128 <CheckBoxPreference
129 android:defaultValue="true"
130 android:key="accept_cookies"
131 android:summary="@string/pref_security_accept_cookies_summary"
132 android:title="@string/pref_security_accept_cookies" />
133
134 <CheckBoxPreference
135 android:defaultValue="true"
136 android:key="save_formdata"
137 android:summary="@string/pref_security_save_form_data_summary"
138 android:title="@string/pref_security_save_form_data" />
139
140 <CheckBoxPreference
141 android:defaultValue="true"
142 android:key="enable_geolocation"
143 android:summary="@string/pref_privacy_enable_geolocation_summary"
144 android:title="@string/pref_privacy_enable_geolocation" />
145
146 <CheckBoxPreference
147 android:defaultValue="true"
148 android:key="remember_passwords"
149 android:summary="@string/pref_security_remember_passwords_summary"
150 android:title="@string/pref_security_remember_passwords" />
151
152 </PreferenceScreen>
153
Pankaj Garg4cad0782014-12-03 10:00:08 -0800154 <PreferenceScreen
155 android:key="accessibility_menu"
156 android:title="@string/pref_accessibility_title" />
Pankaj Gargb3b57462014-11-18 17:28:30 -0800157
158
Panos Thomas4bdb5252014-11-13 16:20:11 -0800159 <PreferenceScreen android:title="@string/pref_content_title"
160 android:key="content_settings">
Pankaj Gargb3b57462014-11-18 17:28:30 -0800161 <CheckBoxPreference
162 android:defaultValue="true"
163 android:key="block_popup_windows"
164 android:title="@string/pref_content_block_popups" />
165
166 <CheckBoxPreference
167 android:defaultValue="false"
168 android:key="open_in_background"
169 android:summary="@string/pref_content_open_in_background_summary"
170 android:title="@string/pref_content_open_in_background" />
171
172 <CheckBoxPreference
173 android:defaultValue="true"
174 android:key="enable_javascript"
175 android:title="@string/pref_content_javascript" />
176
Pankaj Gargb3b57462014-11-18 17:28:30 -0800177 <PreferenceScreen
178 android:key="download_path_setting_screen"
179 android:title="@string/pref_download_path_setting_screen_title"/>
Tarun Nainani95b79682014-12-09 09:38:04 -0800180
181 <ListPreference
182 android:defaultValue="@string/pref_default_text_encoding_default"
183 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle"
184 android:entries="@array/pref_default_text_encoding_choices"
185 android:entryValues="@array/pref_default_text_encoding_values"
186 android:key="default_text_encoding"
187 android:title="@string/pref_default_text_encoding" />
188
Pankaj Garg361ac5c2015-01-27 15:15:13 -0800189 <CheckBoxPreference
190 android:key="load_images"
191 android:defaultValue="true"
192 android:title="@string/pref_content_load_images"
193 android:summary="@string/pref_content_load_images_summary" />
194
Pankaj Gargb3b57462014-11-18 17:28:30 -0800195 </PreferenceScreen>
196
197
198 <PreferenceScreen
199 android:key="website_settings"
200 android:summary="@string/pref_extras_website_settings_summary"
201 android:title="@string/pref_extras_website_settings" />
202
Pankaj Garg1c13cab2015-05-12 11:52:17 -0700203 <ListPreference
204 android:dialogTitle="@string/pref_edge_swipe_option_msg"
205 android:entries="@array/pref_edge_swiping_choices"
206 android:entryValues="@array/pref_edge_swiping_values"
207 android:key="edge_swiping_action"
208 android:title="@string/pref_edge_swipe_title" />
209
Pankaj Gargb3b57462014-11-18 17:28:30 -0800210 <com.android.browser.BrowserYesNoPreference
211 android:key="reset_default_preferences"
212 android:title="@string/pref_extras_reset_default"
213 android:summary="@string/pref_extras_reset_default_summary"
214 android:dialogMessage="@string/pref_extras_reset_default_dlg"
215 android:dialogIcon="@android:drawable/ic_dialog_alert" />
216
217 <PreferenceScreen
218 android:key="debug_menu"
219 android:title="@string/pref_development_title" />
220 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800221</PreferenceScreen>