The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <?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 Kloba | 2f83068 | 2009-06-25 11:08:53 -0700 | [diff] [blame] | 32 | 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 Kloba | 5b4b8f1 | 2009-08-05 17:19:17 -0700 | [diff] [blame] | 39 | <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 Kloba | 2f83068 | 2009-06-25 11:08:53 -0700 | [diff] [blame] | 45 | <ListPreference |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 46 | 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 |
| 71 | android:key="enable_javascript" |
| 72 | android:defaultValue="true" |
| 73 | android:title="@string/pref_content_javascript" /> |
Grace Kloba | 674f39a | 2009-09-23 13:33:10 -0700 | [diff] [blame] | 74 | |
Patrick Scott | e536b33 | 2010-03-22 10:19:32 -0400 | [diff] [blame] | 75 | <ListPreference |
| 76 | android:key="plugin_state" |
| 77 | android:title="@string/pref_content_plugins" |
| 78 | android:defaultValue="ON" |
| 79 | android:entries="@array/pref_content_plugins_choices" |
| 80 | android:entryValues="@array/pref_content_plugins_values" |
| 81 | android:dialogTitle="@string/pref_content_plugins" /> |
Grace Kloba | 674f39a | 2009-09-23 13:33:10 -0700 | [diff] [blame] | 82 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 83 | <CheckBoxPreference |
| 84 | android:key="open_in_background" |
| 85 | android:defaultValue="false" |
| 86 | android:title="@string/pref_content_open_in_background" |
| 87 | android:summary="@string/pref_content_open_in_background_summary" /> |
| 88 | |
| 89 | <com.android.browser.BrowserHomepagePreference |
| 90 | android:key="homepage" |
| 91 | android:title="@string/pref_content_homepage" |
The Android Open Source Project | 25a828a | 2009-03-05 14:34:37 -0800 | [diff] [blame] | 92 | android:hint="@string/http" |
Leon Scroggins | d530494 | 2009-12-10 16:11:39 -0500 | [diff] [blame] | 93 | android:inputType="textUri|textMultiLine" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 94 | |
| 95 | </PreferenceCategory> |
| 96 | |
| 97 | <PreferenceCategory |
| 98 | android:title="@string/pref_privacy_title"> |
| 99 | |
| 100 | <com.android.browser.BrowserYesNoPreference |
| 101 | android:key="privacy_clear_cache" |
| 102 | android:title="@string/pref_privacy_clear_cache" |
| 103 | android:summary="@string/pref_privacy_clear_cache_summary" |
| 104 | android:dialogMessage="@string/pref_privacy_clear_cache_dlg" |
| 105 | android:dialogTitle="@string/clear" |
| 106 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 107 | |
| 108 | <com.android.browser.BrowserYesNoPreference |
| 109 | android:key="privacy_clear_history" |
| 110 | android:title="@string/pref_privacy_clear_history" |
| 111 | android:summary="@string/pref_privacy_clear_history_summary" |
| 112 | android:dialogMessage="@string/pref_privacy_clear_history_dlg" |
| 113 | android:dialogTitle="@string/clear" |
| 114 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
| 115 | |
| 116 | <CheckBoxPreference |
| 117 | android:key="accept_cookies" |
| 118 | android:defaultValue="true" |
| 119 | android:title="@string/pref_security_accept_cookies" |
| 120 | android:summary="@string/pref_security_accept_cookies_summary" /> |
| 121 | |
| 122 | <com.android.browser.BrowserYesNoPreference |
| 123 | android:key="privacy_clear_cookies" |
| 124 | android:title="@string/pref_privacy_clear_cookies" |
| 125 | android:summary="@string/pref_privacy_clear_cookies_summary" |
| 126 | android:dialogMessage="@string/pref_privacy_clear_cookies_dlg" |
| 127 | android:dialogTitle="@string/clear" |
| 128 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
| 129 | |
| 130 | <CheckBoxPreference |
| 131 | android:key="save_formdata" |
| 132 | android:defaultValue="true" |
| 133 | android:title="@string/pref_security_save_form_data" |
| 134 | android:summary="@string/pref_security_save_form_data_summary" /> |
| 135 | |
Ben Murdoch | ce549fc | 2010-09-09 10:28:08 +0100 | [diff] [blame] | 136 | <CheckBoxPreference |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 137 | android:key="autofill_enabled" |
Ben Murdoch | dc62cb9 | 2010-11-23 15:11:29 +0000 | [diff] [blame] | 138 | android:defaultValue="true" |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 139 | android:title="@string/pref_autofill_enabled" |
| 140 | android:summary="@string/pref_autofill_enabled_summary" /> |
Ben Murdoch | ce549fc | 2010-09-09 10:28:08 +0100 | [diff] [blame] | 141 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 142 | <com.android.browser.BrowserYesNoPreference |
| 143 | android:key="privacy_clear_form_data" |
| 144 | android:title="@string/pref_privacy_clear_form_data" |
| 145 | android:summary="@string/pref_privacy_clear_form_data_summary" |
| 146 | android:dialogMessage="@string/pref_privacy_clear_form_data_dlg" |
| 147 | android:dialogTitle="@string/clear" |
| 148 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
| 149 | |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 150 | <CheckBoxPreference |
Steve Block | f344d03 | 2009-07-30 10:50:45 +0100 | [diff] [blame] | 151 | android:key="enable_geolocation" |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 152 | android:defaultValue="true" |
Steve Block | f344d03 | 2009-07-30 10:50:45 +0100 | [diff] [blame] | 153 | android:title="@string/pref_privacy_enable_geolocation" |
| 154 | android:summary="@string/pref_privacy_enable_geolocation_summary" /> |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 155 | |
| 156 | <com.android.browser.BrowserYesNoPreference |
Steve Block | f344d03 | 2009-07-30 10:50:45 +0100 | [diff] [blame] | 157 | android:key="privacy_clear_geolocation_access" |
| 158 | android:dependency="enable_geolocation" |
| 159 | android:title="@string/pref_privacy_clear_geolocation_access" |
| 160 | android:summary="@string/pref_privacy_clear_geolocation_access_summary" |
| 161 | android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg" |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 162 | android:dialogTitle="@string/clear" |
| 163 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 164 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 165 | </PreferenceCategory> |
| 166 | |
| 167 | <PreferenceCategory |
| 168 | android:title="@string/pref_security_title"> |
| 169 | |
| 170 | <CheckBoxPreference |
| 171 | android:key="remember_passwords" |
| 172 | android:defaultValue="true" |
| 173 | android:title="@string/pref_security_remember_passwords" |
| 174 | android:summary="@string/pref_security_remember_passwords_summary" /> |
| 175 | |
| 176 | <com.android.browser.BrowserYesNoPreference |
| 177 | android:key="privacy_clear_passwords" |
| 178 | android:title="@string/pref_privacy_clear_passwords" |
| 179 | android:summary="@string/pref_privacy_clear_passwords_summary" |
| 180 | android:dialogMessage="@string/pref_privacy_clear_passwords_dlg" |
| 181 | android:dialogTitle="@string/clear" |
| 182 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
| 183 | |
| 184 | <CheckBoxPreference |
| 185 | android:key="show_security_warnings" |
| 186 | android:defaultValue="true" |
| 187 | android:title="@string/pref_security_show_security_warning" |
| 188 | android:summary="@string/pref_security_show_security_warning_summary" /> |
| 189 | |
| 190 | |
| 191 | </PreferenceCategory> |
| 192 | <PreferenceCategory |
| 193 | android:title="@string/pref_extras_title"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 194 | |
Leon Scroggins III | 430057d | 2010-09-14 10:57:37 -0400 | [diff] [blame] | 195 | <!-- Entries and values in this list are set dynamically. --> |
| 196 | <com.android.browser.search.SearchEnginePreference |
| 197 | android:key="search_engine" |
| 198 | android:title="@string/pref_content_search_engine" |
| 199 | android:defaultValue="google" |
| 200 | android:summary="@string/pref_content_search_engine_summary" |
| 201 | android:dialogTitle="@string/pref_content_search_engine" /> |
| 202 | |
Nicolas Roard | 78a98e4 | 2009-05-11 13:34:17 +0100 | [diff] [blame] | 203 | <PreferenceScreen |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 204 | android:key="website_settings" |
| 205 | android:title="@string/pref_extras_website_settings" |
| 206 | android:summary="@string/pref_extras_website_settings_summary" /> |
Nicolas Roard | 78a98e4 | 2009-05-11 13:34:17 +0100 | [diff] [blame] | 207 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 208 | <com.android.browser.BrowserYesNoPreference |
| 209 | android:key="reset_default_preferences" |
| 210 | android:title="@string/pref_extras_reset_default" |
| 211 | android:summary="@string/pref_extras_reset_default_summary" |
| 212 | android:dialogMessage="@string/pref_extras_reset_default_dlg" |
| 213 | android:dialogTitle="@string/pref_extras_reset_default_dlg_title" |
| 214 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 215 | </PreferenceCategory> |
| 216 | </PreferenceScreen> |