blob: d0bf5334905973c95198da399324adae5a26af0b [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
51 <PreferenceScreen
John Reck035a5642010-12-21 18:51:27 -080052 android:key="autofill_profile"
53 android:title="@string/pref_autofill_profile_editor"
54 android:summary="@string/pref_autofill_profile_editor_summary" />
55 </PreferenceCategory>
56
Pankaj Gargb3b57462014-11-18 17:28:30 -080057 <PreferenceCategory android:title="@string/pref_extras_title"
58 android:key="advanced">
59
Pankaj Garge2305022015-03-20 14:11:01 -070060 <PreferenceScreen android:title="@string/pref_privacy_security_title"
61 android:key="privacy_security">
62 <PreferenceScreen android:title="@string/webstorage_clear_data_title"
63 android:key="clear_data">
Pankaj Gargb3b57462014-11-18 17:28:30 -080064 <com.android.browser.BrowserYesNoPreference
65 android:dialogIcon="@android:drawable/ic_dialog_alert"
66 android:dialogMessage="@string/pref_privacy_clear_selected_dlg"
67 android:key="privacy_clear_selected"
68 android:summary="@string/pref_privacy_clear_selected_summary"
69 android:title="@string/pref_privacy_clear_selected" />
70
71 <CheckBoxPreference
72 android:defaultValue="true"
73 android:key="privacy_clear_history"
74 android:summary="@string/pref_privacy_clear_history_summary"
75 android:title="@string/pref_privacy_clear_history" />
76
77 <CheckBoxPreference
78 android:defaultValue="true"
79 android:key="privacy_clear_cache"
80 android:summary="@string/pref_privacy_clear_cache_summary"
81 android:title="@string/pref_privacy_clear_cache" />
82
83 <CheckBoxPreference
84 android:defaultValue="true"
85 android:key="privacy_clear_cookies"
86 android:summary="@string/pref_privacy_clear_cookies_summary"
87 android:title="@string/pref_privacy_clear_cookies" />
88
89 <CheckBoxPreference
90 android:defaultValue="true"
91 android:key="privacy_clear_form_data"
92 android:summary="@string/pref_privacy_clear_form_data_summary"
93 android:title="@string/pref_privacy_clear_form_data" />
94
95 <CheckBoxPreference
96 android:defaultValue="true"
97 android:key="privacy_clear_passwords"
98 android:summary="@string/pref_privacy_clear_passwords_summary"
99 android:title="@string/pref_privacy_clear_passwords" />
100
101 <CheckBoxPreference
102 android:defaultValue="true"
103 android:dependency="enable_geolocation"
104 android:key="privacy_clear_geolocation_access"
105 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
106 android:title="@string/pref_privacy_clear_geolocation_access" />
107
108 </PreferenceScreen>
109
110 <CheckBoxPreference
111 android:defaultValue="true"
112 android:key="show_security_warnings"
113 android:summary="@string/pref_security_show_security_warning_summary"
114 android:title="@string/pref_security_show_security_warning" />
115
116 <CheckBoxPreference
117 android:defaultValue="true"
118 android:key="do_not_track"
119 android:summary="@string/pref_do_not_track_summary"
120 android:title="@string/pref_do_not_track" />
121
122 <CheckBoxPreference
123 android:defaultValue="true"
124 android:key="accept_cookies"
125 android:summary="@string/pref_security_accept_cookies_summary"
126 android:title="@string/pref_security_accept_cookies" />
127
128 <CheckBoxPreference
129 android:defaultValue="true"
130 android:key="save_formdata"
131 android:summary="@string/pref_security_save_form_data_summary"
132 android:title="@string/pref_security_save_form_data" />
133
134 <CheckBoxPreference
135 android:defaultValue="true"
136 android:key="enable_geolocation"
137 android:summary="@string/pref_privacy_enable_geolocation_summary"
138 android:title="@string/pref_privacy_enable_geolocation" />
139
140 <CheckBoxPreference
141 android:defaultValue="true"
142 android:key="remember_passwords"
143 android:summary="@string/pref_security_remember_passwords_summary"
144 android:title="@string/pref_security_remember_passwords" />
145
146 </PreferenceScreen>
147
Pankaj Garg4cad0782014-12-03 10:00:08 -0800148 <PreferenceScreen
149 android:key="accessibility_menu"
150 android:title="@string/pref_accessibility_title" />
Pankaj Gargb3b57462014-11-18 17:28:30 -0800151
152
Panos Thomas4bdb5252014-11-13 16:20:11 -0800153 <PreferenceScreen android:title="@string/pref_content_title"
154 android:key="content_settings">
Pankaj Gargb3b57462014-11-18 17:28:30 -0800155 <CheckBoxPreference
156 android:defaultValue="true"
157 android:key="block_popup_windows"
158 android:title="@string/pref_content_block_popups" />
159
160 <CheckBoxPreference
161 android:defaultValue="false"
162 android:key="open_in_background"
163 android:summary="@string/pref_content_open_in_background_summary"
164 android:title="@string/pref_content_open_in_background" />
165
166 <CheckBoxPreference
167 android:defaultValue="true"
168 android:key="enable_javascript"
169 android:title="@string/pref_content_javascript" />
170
Pankaj Gargb3b57462014-11-18 17:28:30 -0800171 <PreferenceScreen
172 android:key="download_path_setting_screen"
173 android:title="@string/pref_download_path_setting_screen_title"/>
Tarun Nainani95b79682014-12-09 09:38:04 -0800174
175 <ListPreference
176 android:defaultValue="@string/pref_default_text_encoding_default"
177 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle"
178 android:entries="@array/pref_default_text_encoding_choices"
179 android:entryValues="@array/pref_default_text_encoding_values"
180 android:key="default_text_encoding"
181 android:title="@string/pref_default_text_encoding" />
182
Pankaj Garg361ac5c2015-01-27 15:15:13 -0800183 <CheckBoxPreference
184 android:key="load_images"
185 android:defaultValue="true"
186 android:title="@string/pref_content_load_images"
187 android:summary="@string/pref_content_load_images_summary" />
188
Pankaj Gargb3b57462014-11-18 17:28:30 -0800189 </PreferenceScreen>
190
191
192 <PreferenceScreen
193 android:key="website_settings"
194 android:summary="@string/pref_extras_website_settings_summary"
195 android:title="@string/pref_extras_website_settings" />
196
197 <com.android.browser.BrowserYesNoPreference
198 android:key="reset_default_preferences"
199 android:title="@string/pref_extras_reset_default"
200 android:summary="@string/pref_extras_reset_default_summary"
201 android:dialogMessage="@string/pref_extras_reset_default_dlg"
202 android:dialogIcon="@android:drawable/ic_dialog_alert" />
203
204 <PreferenceScreen
205 android:key="debug_menu"
206 android:title="@string/pref_development_title" />
207 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800208</PreferenceScreen>