blob: 816503b20df5bf3f89ec087fd6a819cfa011d98a [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
Yida Wang078425c2015-06-02 14:14:06 -040046 android:defaultValue="false"
47 android:key="nightmode_enabled"
48 android:summary="@string/pref_nightmode_enabled_summary"
49 android:title="@string/pref_nightmode_enabled" />
50
51 <CheckBoxPreference
Pankaj Gargb3b57462014-11-18 17:28:30 -080052 android:key="autofill_enabled"
John Reck035a5642010-12-21 18:51:27 -080053 android:title="@string/pref_autofill_enabled"
54 android:summary="@string/pref_autofill_enabled_summary"
Pankaj Gargb3b57462014-11-18 17:28:30 -080055 android:defaultValue="true" />
John Reck035a5642010-12-21 18:51:27 -080056
Kulanthaivel Palanichamyf36e1db2015-04-08 16:11:06 -070057 <CheckBoxPreference
58 android:key="web_refiner_enabled"
59 android:title="@string/pref_web_refiner_enabled"
60 android:summary="@string/pref_web_refiner_enabled_summary"
61 android:defaultValue="true" />
62
John Reck035a5642010-12-21 18:51:27 -080063 <PreferenceScreen
John Reck035a5642010-12-21 18:51:27 -080064 android:key="autofill_profile"
65 android:title="@string/pref_autofill_profile_editor"
66 android:summary="@string/pref_autofill_profile_editor_summary" />
67 </PreferenceCategory>
68
Pankaj Gargb3b57462014-11-18 17:28:30 -080069 <PreferenceCategory android:title="@string/pref_extras_title"
70 android:key="advanced">
71
Pankaj Garge2305022015-03-20 14:11:01 -070072 <PreferenceScreen android:title="@string/pref_privacy_security_title"
73 android:key="privacy_security">
74 <PreferenceScreen android:title="@string/webstorage_clear_data_title"
75 android:key="clear_data">
Pankaj Gargb3b57462014-11-18 17:28:30 -080076 <com.android.browser.BrowserYesNoPreference
77 android:dialogIcon="@android:drawable/ic_dialog_alert"
78 android:dialogMessage="@string/pref_privacy_clear_selected_dlg"
79 android:key="privacy_clear_selected"
80 android:summary="@string/pref_privacy_clear_selected_summary"
81 android:title="@string/pref_privacy_clear_selected" />
82
83 <CheckBoxPreference
84 android:defaultValue="true"
85 android:key="privacy_clear_history"
86 android:summary="@string/pref_privacy_clear_history_summary"
87 android:title="@string/pref_privacy_clear_history" />
88
89 <CheckBoxPreference
90 android:defaultValue="true"
91 android:key="privacy_clear_cache"
92 android:summary="@string/pref_privacy_clear_cache_summary"
93 android:title="@string/pref_privacy_clear_cache" />
94
95 <CheckBoxPreference
96 android:defaultValue="true"
97 android:key="privacy_clear_cookies"
98 android:summary="@string/pref_privacy_clear_cookies_summary"
99 android:title="@string/pref_privacy_clear_cookies" />
100
101 <CheckBoxPreference
102 android:defaultValue="true"
103 android:key="privacy_clear_form_data"
104 android:summary="@string/pref_privacy_clear_form_data_summary"
105 android:title="@string/pref_privacy_clear_form_data" />
106
107 <CheckBoxPreference
108 android:defaultValue="true"
109 android:key="privacy_clear_passwords"
110 android:summary="@string/pref_privacy_clear_passwords_summary"
111 android:title="@string/pref_privacy_clear_passwords" />
112
113 <CheckBoxPreference
114 android:defaultValue="true"
115 android:dependency="enable_geolocation"
116 android:key="privacy_clear_geolocation_access"
117 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
118 android:title="@string/pref_privacy_clear_geolocation_access" />
119
120 </PreferenceScreen>
121
122 <CheckBoxPreference
123 android:defaultValue="true"
124 android:key="show_security_warnings"
125 android:summary="@string/pref_security_show_security_warning_summary"
126 android:title="@string/pref_security_show_security_warning" />
127
Dave Tharpb487d5d2015-05-15 15:54:08 -0700128 <com.android.browser.mdm.MdmCheckBoxPreference
Pankaj Gargb3b57462014-11-18 17:28:30 -0800129 android:defaultValue="true"
130 android:key="do_not_track"
131 android:summary="@string/pref_do_not_track_summary"
132 android:title="@string/pref_do_not_track" />
133
134 <CheckBoxPreference
135 android:defaultValue="true"
136 android:key="accept_cookies"
137 android:summary="@string/pref_security_accept_cookies_summary"
138 android:title="@string/pref_security_accept_cookies" />
139
140 <CheckBoxPreference
141 android:defaultValue="true"
142 android:key="save_formdata"
143 android:summary="@string/pref_security_save_form_data_summary"
144 android:title="@string/pref_security_save_form_data" />
145
146 <CheckBoxPreference
147 android:defaultValue="true"
148 android:key="enable_geolocation"
149 android:summary="@string/pref_privacy_enable_geolocation_summary"
150 android:title="@string/pref_privacy_enable_geolocation" />
151
152 <CheckBoxPreference
153 android:defaultValue="true"
154 android:key="remember_passwords"
155 android:summary="@string/pref_security_remember_passwords_summary"
156 android:title="@string/pref_security_remember_passwords" />
157
158 </PreferenceScreen>
159
Pankaj Garg4cad0782014-12-03 10:00:08 -0800160 <PreferenceScreen
161 android:key="accessibility_menu"
162 android:title="@string/pref_accessibility_title" />
Pankaj Gargb3b57462014-11-18 17:28:30 -0800163
164
Panos Thomas4bdb5252014-11-13 16:20:11 -0800165 <PreferenceScreen android:title="@string/pref_content_title"
166 android:key="content_settings">
Pankaj Gargb3b57462014-11-18 17:28:30 -0800167 <CheckBoxPreference
168 android:defaultValue="true"
169 android:key="block_popup_windows"
170 android:title="@string/pref_content_block_popups" />
171
172 <CheckBoxPreference
173 android:defaultValue="false"
174 android:key="open_in_background"
175 android:summary="@string/pref_content_open_in_background_summary"
176 android:title="@string/pref_content_open_in_background" />
177
178 <CheckBoxPreference
179 android:defaultValue="true"
180 android:key="enable_javascript"
181 android:title="@string/pref_content_javascript" />
182
Pankaj Gargb3b57462014-11-18 17:28:30 -0800183 <PreferenceScreen
184 android:key="download_path_setting_screen"
185 android:title="@string/pref_download_path_setting_screen_title"/>
Tarun Nainani95b79682014-12-09 09:38:04 -0800186
187 <ListPreference
188 android:defaultValue="@string/pref_default_text_encoding_default"
189 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle"
190 android:entries="@array/pref_default_text_encoding_choices"
191 android:entryValues="@array/pref_default_text_encoding_values"
192 android:key="default_text_encoding"
193 android:title="@string/pref_default_text_encoding" />
194
Pankaj Garg361ac5c2015-01-27 15:15:13 -0800195 <CheckBoxPreference
196 android:key="load_images"
197 android:defaultValue="true"
198 android:title="@string/pref_content_load_images"
199 android:summary="@string/pref_content_load_images_summary" />
200
Pankaj Gargb3b57462014-11-18 17:28:30 -0800201 </PreferenceScreen>
202
203
204 <PreferenceScreen
205 android:key="website_settings"
206 android:summary="@string/pref_extras_website_settings_summary"
207 android:title="@string/pref_extras_website_settings" />
208
Pankaj Garg1c13cab2015-05-12 11:52:17 -0700209 <ListPreference
210 android:dialogTitle="@string/pref_edge_swipe_option_msg"
211 android:entries="@array/pref_edge_swiping_choices"
212 android:entryValues="@array/pref_edge_swiping_values"
213 android:key="edge_swiping_action"
214 android:title="@string/pref_edge_swipe_title" />
215
Pankaj Gargb3b57462014-11-18 17:28:30 -0800216 <com.android.browser.BrowserYesNoPreference
217 android:key="reset_default_preferences"
218 android:title="@string/pref_extras_reset_default"
219 android:summary="@string/pref_extras_reset_default_summary"
220 android:dialogMessage="@string/pref_extras_reset_default_dlg"
221 android:dialogIcon="@android:drawable/ic_dialog_alert" />
222
223 <PreferenceScreen
224 android:key="debug_menu"
225 android:title="@string/pref_development_title" />
226 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800227</PreferenceScreen>