blob: 1845e200734b407a46a5a8ea4ee3dd276814a9ec [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -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
18 xmlns:android="http://schemas.android.com/apk/res/android">
19
20 <PreferenceCategory
21 android:title="@string/pref_content_title">
22
23 <ListPreference
24 android:key="text_size"
25 android:title="@string/pref_text_size"
26 android:defaultValue="NORMAL"
27 android:entries="@array/pref_text_size_choices"
28 android:entryValues="@array/pref_text_size_values"
29 android:dialogTitle="@string/pref_text_size_dialogtitle" />
30
31 <ListPreference
Grace Kloba2f830682009-06-25 11:08:53 -070032 android:key="default_zoom"
33 android:title="@string/pref_default_zoom"
34 android:defaultValue="MEDIUM"
35 android:entries="@array/pref_default_zoom_choices"
36 android:entryValues="@array/pref_default_zoom_values"
37 android:dialogTitle="@string/pref_default_zoom_dialogtitle" />
38
Grace Kloba5b4b8f12009-08-05 17:19:17 -070039 <CheckBoxPreference
40 android:key="load_page"
41 android:defaultValue="true"
42 android:title="@string/pref_content_load_page"
43 android:summary="@string/pref_content_load_page_summary" />
44
Grace Kloba2f830682009-06-25 11:08:53 -070045 <ListPreference
The Android Open Source Project0c908882009-03-03 19:32:16 -080046 android:key="default_text_encoding"
47 android:title="@string/pref_default_text_encoding"
48 android:defaultValue="@string/pref_default_text_encoding_default"
49 android:entries="@array/pref_default_text_encoding_choices"
50 android:entryValues="@array/pref_default_text_encoding_values"
51 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
52
53 <CheckBoxPreference
54 android:key="block_popup_windows"
55 android:defaultValue="true"
56 android:title="@string/pref_content_block_popups" />
57
58 <CheckBoxPreference
59 android:key="load_images"
60 android:defaultValue="true"
61 android:title="@string/pref_content_load_images"
62 android:summary="@string/pref_content_load_images_summary" />
63
64 <CheckBoxPreference
65 android:key="autofit_pages"
66 android:defaultValue="true"
67 android:title="@string/pref_content_autofit"
68 android:summary="@string/pref_content_autofit_summary" />
69
70 <CheckBoxPreference
Leon Scrogginsb0cd0722009-03-31 14:31:22 -070071 android:key="landscape_only"
72 android:defaultValue="false"
73 android:title="@string/pref_content_landscape_only"
74 android:summary="@string/pref_content_landscape_only_summary" />
75
76 <CheckBoxPreference
The Android Open Source Project0c908882009-03-03 19:32:16 -080077 android:key="enable_javascript"
78 android:defaultValue="true"
79 android:title="@string/pref_content_javascript" />
Grace Kloba674f39a2009-09-23 13:33:10 -070080
81 <CheckBoxPreference
82 android:key="enable_plugins"
83 android:defaultValue="true"
84 android:title="@string/pref_content_plugins" />
85
The Android Open Source Project0c908882009-03-03 19:32:16 -080086 <CheckBoxPreference
87 android:key="open_in_background"
88 android:defaultValue="false"
89 android:title="@string/pref_content_open_in_background"
90 android:summary="@string/pref_content_open_in_background_summary" />
91
92 <com.android.browser.BrowserHomepagePreference
93 android:key="homepage"
94 android:title="@string/pref_content_homepage"
The Android Open Source Project25a828a2009-03-05 14:34:37 -080095 android:hint="@string/http"
96 android:inputType="textUri"
The Android Open Source Project0c908882009-03-03 19:32:16 -080097 android:singleLine="true" />
98
99 </PreferenceCategory>
100
101 <PreferenceCategory
102 android:title="@string/pref_privacy_title">
103
104 <com.android.browser.BrowserYesNoPreference
105 android:key="privacy_clear_cache"
106 android:title="@string/pref_privacy_clear_cache"
107 android:summary="@string/pref_privacy_clear_cache_summary"
108 android:dialogMessage="@string/pref_privacy_clear_cache_dlg"
109 android:dialogTitle="@string/clear"
110 android:dialogIcon="@android:drawable/ic_dialog_alert" />
111
112 <com.android.browser.BrowserYesNoPreference
113 android:key="privacy_clear_history"
114 android:title="@string/pref_privacy_clear_history"
115 android:summary="@string/pref_privacy_clear_history_summary"
116 android:dialogMessage="@string/pref_privacy_clear_history_dlg"
117 android:dialogTitle="@string/clear"
118 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
119
120 <CheckBoxPreference
121 android:key="accept_cookies"
122 android:defaultValue="true"
123 android:title="@string/pref_security_accept_cookies"
124 android:summary="@string/pref_security_accept_cookies_summary" />
125
126 <com.android.browser.BrowserYesNoPreference
127 android:key="privacy_clear_cookies"
128 android:title="@string/pref_privacy_clear_cookies"
129 android:summary="@string/pref_privacy_clear_cookies_summary"
130 android:dialogMessage="@string/pref_privacy_clear_cookies_dlg"
131 android:dialogTitle="@string/clear"
132 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
133
134 <CheckBoxPreference
135 android:key="save_formdata"
136 android:defaultValue="true"
137 android:title="@string/pref_security_save_form_data"
138 android:summary="@string/pref_security_save_form_data_summary" />
139
140 <com.android.browser.BrowserYesNoPreference
141 android:key="privacy_clear_form_data"
142 android:title="@string/pref_privacy_clear_form_data"
143 android:summary="@string/pref_privacy_clear_form_data_summary"
144 android:dialogMessage="@string/pref_privacy_clear_form_data_dlg"
145 android:dialogTitle="@string/clear"
146 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
147
Nicolas Roarde46990e2009-06-19 16:27:49 +0100148 <CheckBoxPreference
Steve Blockf344d032009-07-30 10:50:45 +0100149 android:key="enable_geolocation"
Nicolas Roarde46990e2009-06-19 16:27:49 +0100150 android:defaultValue="true"
Steve Blockf344d032009-07-30 10:50:45 +0100151 android:title="@string/pref_privacy_enable_geolocation"
152 android:summary="@string/pref_privacy_enable_geolocation_summary" />
Nicolas Roarde46990e2009-06-19 16:27:49 +0100153
154 <com.android.browser.BrowserYesNoPreference
Steve Blockf344d032009-07-30 10:50:45 +0100155 android:key="privacy_clear_geolocation_access"
156 android:dependency="enable_geolocation"
157 android:title="@string/pref_privacy_clear_geolocation_access"
158 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
159 android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg"
Nicolas Roarde46990e2009-06-19 16:27:49 +0100160 android:dialogTitle="@string/clear"
161 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
Nicolas Roarde46990e2009-06-19 16:27:49 +0100162
The Android Open Source Project0c908882009-03-03 19:32:16 -0800163 </PreferenceCategory>
164
165 <PreferenceCategory
166 android:title="@string/pref_security_title">
167
168 <CheckBoxPreference
169 android:key="remember_passwords"
170 android:defaultValue="true"
171 android:title="@string/pref_security_remember_passwords"
172 android:summary="@string/pref_security_remember_passwords_summary" />
173
174 <com.android.browser.BrowserYesNoPreference
175 android:key="privacy_clear_passwords"
176 android:title="@string/pref_privacy_clear_passwords"
177 android:summary="@string/pref_privacy_clear_passwords_summary"
178 android:dialogMessage="@string/pref_privacy_clear_passwords_dlg"
179 android:dialogTitle="@string/clear"
180 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
181
182 <CheckBoxPreference
183 android:key="show_security_warnings"
184 android:defaultValue="true"
185 android:title="@string/pref_security_show_security_warning"
186 android:summary="@string/pref_security_show_security_warning_summary" />
187
188
189 </PreferenceCategory>
190 <PreferenceCategory
191 android:title="@string/pref_extras_title">
The Android Open Source Project0c908882009-03-03 19:32:16 -0800192
Nicolas Roard78a98e42009-05-11 13:34:17 +0100193 <PreferenceScreen
Nicolas Roarde46990e2009-06-19 16:27:49 +0100194 android:key="website_settings"
195 android:title="@string/pref_extras_website_settings"
196 android:summary="@string/pref_extras_website_settings_summary" />
Nicolas Roard78a98e42009-05-11 13:34:17 +0100197
The Android Open Source Project0c908882009-03-03 19:32:16 -0800198 <com.android.browser.BrowserYesNoPreference
199 android:key="reset_default_preferences"
200 android:title="@string/pref_extras_reset_default"
201 android:summary="@string/pref_extras_reset_default_summary"
202 android:dialogMessage="@string/pref_extras_reset_default_dlg"
203 android:dialogTitle="@string/pref_extras_reset_default_dlg_title"
204 android:dialogIcon="@android:drawable/ic_dialog_alert" />
205 </PreferenceCategory>
206</PreferenceScreen>