blob: f553e2b7d3ae7428654a75c7dcdad8e828b7ed6c [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
32 android:key="default_text_encoding"
33 android:title="@string/pref_default_text_encoding"
34 android:defaultValue="@string/pref_default_text_encoding_default"
35 android:entries="@array/pref_default_text_encoding_choices"
36 android:entryValues="@array/pref_default_text_encoding_values"
37 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
38
39 <CheckBoxPreference
40 android:key="block_popup_windows"
41 android:defaultValue="true"
42 android:title="@string/pref_content_block_popups" />
43
44 <CheckBoxPreference
45 android:key="load_images"
46 android:defaultValue="true"
47 android:title="@string/pref_content_load_images"
48 android:summary="@string/pref_content_load_images_summary" />
49
50 <CheckBoxPreference
51 android:key="autofit_pages"
52 android:defaultValue="true"
53 android:title="@string/pref_content_autofit"
54 android:summary="@string/pref_content_autofit_summary" />
55
56 <CheckBoxPreference
Leon Scrogginsb0cd0722009-03-31 14:31:22 -070057 android:key="landscape_only"
58 android:defaultValue="false"
59 android:title="@string/pref_content_landscape_only"
60 android:summary="@string/pref_content_landscape_only_summary" />
61
62 <CheckBoxPreference
The Android Open Source Project0c908882009-03-03 19:32:16 -080063 android:key="enable_javascript"
64 android:defaultValue="true"
65 android:title="@string/pref_content_javascript" />
66
67 <CheckBoxPreference
68 android:key="open_in_background"
69 android:defaultValue="false"
70 android:title="@string/pref_content_open_in_background"
71 android:summary="@string/pref_content_open_in_background_summary" />
72
73 <com.android.browser.BrowserHomepagePreference
74 android:key="homepage"
75 android:title="@string/pref_content_homepage"
The Android Open Source Project25a828a2009-03-05 14:34:37 -080076 android:hint="@string/http"
77 android:inputType="textUri"
The Android Open Source Project0c908882009-03-03 19:32:16 -080078 android:singleLine="true" />
79
80 </PreferenceCategory>
81
82 <PreferenceCategory
83 android:title="@string/pref_privacy_title">
84
85 <com.android.browser.BrowserYesNoPreference
86 android:key="privacy_clear_cache"
87 android:title="@string/pref_privacy_clear_cache"
88 android:summary="@string/pref_privacy_clear_cache_summary"
89 android:dialogMessage="@string/pref_privacy_clear_cache_dlg"
90 android:dialogTitle="@string/clear"
91 android:dialogIcon="@android:drawable/ic_dialog_alert" />
92
93 <com.android.browser.BrowserYesNoPreference
94 android:key="privacy_clear_history"
95 android:title="@string/pref_privacy_clear_history"
96 android:summary="@string/pref_privacy_clear_history_summary"
97 android:dialogMessage="@string/pref_privacy_clear_history_dlg"
98 android:dialogTitle="@string/clear"
99 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
100
101 <CheckBoxPreference
102 android:key="accept_cookies"
103 android:defaultValue="true"
104 android:title="@string/pref_security_accept_cookies"
105 android:summary="@string/pref_security_accept_cookies_summary" />
106
107 <com.android.browser.BrowserYesNoPreference
108 android:key="privacy_clear_cookies"
109 android:title="@string/pref_privacy_clear_cookies"
110 android:summary="@string/pref_privacy_clear_cookies_summary"
111 android:dialogMessage="@string/pref_privacy_clear_cookies_dlg"
112 android:dialogTitle="@string/clear"
113 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
114
115 <CheckBoxPreference
116 android:key="save_formdata"
117 android:defaultValue="true"
118 android:title="@string/pref_security_save_form_data"
119 android:summary="@string/pref_security_save_form_data_summary" />
120
121 <com.android.browser.BrowserYesNoPreference
122 android:key="privacy_clear_form_data"
123 android:title="@string/pref_privacy_clear_form_data"
124 android:summary="@string/pref_privacy_clear_form_data_summary"
125 android:dialogMessage="@string/pref_privacy_clear_form_data_dlg"
126 android:dialogTitle="@string/clear"
127 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
128
Nicolas Roarde46990e2009-06-19 16:27:49 +0100129 <!-- below preferences will be shown when html5 location is implemented -->
130 <!--
131
132 <CheckBoxPreference
133 android:key="request_location"
134 android:defaultValue="true"
135 android:title="@string/pref_privacy_request_location"
136 android:summary="@string/pref_privacy_request_location_summary" />
137
138 <com.android.browser.BrowserYesNoPreference
139 android:key="privacy_clear_location_requests"
140 android:title="@string/pref_privacy_clear_location_requests"
141 android:summary="@string/pref_privacy_clear_location_requests_summary"
142 android:dialogMessage="@string/pref_privacy_clear_location_requests_dlg"
143 android:dialogTitle="@string/clear"
144 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
145 -->
146
The Android Open Source Project0c908882009-03-03 19:32:16 -0800147 </PreferenceCategory>
148
149 <PreferenceCategory
150 android:title="@string/pref_security_title">
151
152 <CheckBoxPreference
153 android:key="remember_passwords"
154 android:defaultValue="true"
155 android:title="@string/pref_security_remember_passwords"
156 android:summary="@string/pref_security_remember_passwords_summary" />
157
158 <com.android.browser.BrowserYesNoPreference
159 android:key="privacy_clear_passwords"
160 android:title="@string/pref_privacy_clear_passwords"
161 android:summary="@string/pref_privacy_clear_passwords_summary"
162 android:dialogMessage="@string/pref_privacy_clear_passwords_dlg"
163 android:dialogTitle="@string/clear"
164 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
165
166 <CheckBoxPreference
167 android:key="show_security_warnings"
168 android:defaultValue="true"
169 android:title="@string/pref_security_show_security_warning"
170 android:summary="@string/pref_security_show_security_warning_summary" />
171
172
173 </PreferenceCategory>
174 <PreferenceCategory
175 android:title="@string/pref_extras_title">
176
177 <!-- This setting is named "Enable Gears" but is actually
178 tied to enabling all plugins. -->
179 <CheckBoxPreference
180 android:key="enable_plugins"
181 android:defaultValue="true"
182 android:title="@string/pref_extras_gears_enable"
183 android:summary="@string/pref_extras_gears_enable_summary" />
184
185 <Preference
186 android:key="gears_settings"
187 android:persistent="false"
188 android:dependency="enable_plugins"
189 android:title="@string/pref_extras_gears_settings"
190 android:summary="@string/pref_extras_gears_settings_summary" />
191
Nicolas Roard78a98e42009-05-11 13:34:17 +0100192 <PreferenceScreen
Nicolas Roarde46990e2009-06-19 16:27:49 +0100193 android:key="website_settings"
194 android:title="@string/pref_extras_website_settings"
195 android:summary="@string/pref_extras_website_settings_summary" />
Nicolas Roard78a98e42009-05-11 13:34:17 +0100196
The Android Open Source Project0c908882009-03-03 19:32:16 -0800197 <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:dialogTitle="@string/pref_extras_reset_default_dlg_title"
203 android:dialogIcon="@android:drawable/ic_dialog_alert" />
204 </PreferenceCategory>
205</PreferenceScreen>