blob: 361afde7cefc5402954844fe93f6daeb4957514a [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
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
Pankaj Garg4cad0782014-12-03 10:00:08 -0800140 <PreferenceScreen
141 android:key="accessibility_menu"
142 android:title="@string/pref_accessibility_title" />
Pankaj Gargb3b57462014-11-18 17:28:30 -0800143
144
Panos Thomas4bdb5252014-11-13 16:20:11 -0800145 <PreferenceScreen android:title="@string/pref_content_title"
146 android:key="content_settings">
Pankaj Gargb3b57462014-11-18 17:28:30 -0800147 <CheckBoxPreference
148 android:defaultValue="true"
149 android:key="block_popup_windows"
150 android:title="@string/pref_content_block_popups" />
151
152 <CheckBoxPreference
153 android:defaultValue="false"
154 android:key="open_in_background"
155 android:summary="@string/pref_content_open_in_background_summary"
156 android:title="@string/pref_content_open_in_background" />
157
158 <CheckBoxPreference
159 android:defaultValue="true"
160 android:key="enable_javascript"
161 android:title="@string/pref_content_javascript" />
162
163 <CheckBoxPreference
164 android:key="allow_media_downloads"
165 android:title="@string/pref_allow_media_downloads" />
166
167 <PreferenceScreen
168 android:key="download_path_setting_screen"
169 android:title="@string/pref_download_path_setting_screen_title"/>
170 </PreferenceScreen>
171
172
173 <PreferenceScreen
174 android:key="website_settings"
175 android:summary="@string/pref_extras_website_settings_summary"
176 android:title="@string/pref_extras_website_settings" />
177
178 <com.android.browser.BrowserYesNoPreference
179 android:key="reset_default_preferences"
180 android:title="@string/pref_extras_reset_default"
181 android:summary="@string/pref_extras_reset_default_summary"
182 android:dialogMessage="@string/pref_extras_reset_default_dlg"
183 android:dialogIcon="@android:drawable/ic_dialog_alert" />
184
185 <PreferenceScreen
186 android:key="debug_menu"
187 android:title="@string/pref_development_title" />
188 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800189</PreferenceScreen>