browser_preferences.xml revision 5b6a8eb74fa151139e39ecea196439432b43a4e1
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 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 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 45 <ListPreference 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="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 77 android:key="enable_javascript" 78 android:defaultValue="true" 79 android:title="@string/pref_content_javascript" /> 80 81 <ListPreference 82 android:key="plugin_state" 83 android:title="@string/pref_content_plugins" 84 android:defaultValue="ON" 85 android:entries="@array/pref_content_plugins_choices" 86 android:entryValues="@array/pref_content_plugins_values" 87 android:dialogTitle="@string/pref_content_plugins" /> 88 89 <CheckBoxPreference 90 android:key="open_in_background" 91 android:defaultValue="false" 92 android:title="@string/pref_content_open_in_background" 93 android:summary="@string/pref_content_open_in_background_summary" /> 94 95 <com.android.browser.BrowserHomepagePreference 96 android:key="homepage" 97 android:title="@string/pref_content_homepage" 98 android:hint="@string/http" 99 android:inputType="textUri|textMultiLine" /> 100 101 </PreferenceCategory> 102 103 <PreferenceCategory 104 android:title="@string/pref_privacy_title"> 105 106 <com.android.browser.BrowserYesNoPreference 107 android:key="privacy_clear_cache" 108 android:title="@string/pref_privacy_clear_cache" 109 android:summary="@string/pref_privacy_clear_cache_summary" 110 android:dialogMessage="@string/pref_privacy_clear_cache_dlg" 111 android:dialogTitle="@string/clear" 112 android:dialogIcon="@android:drawable/ic_dialog_alert" /> 113 114 <com.android.browser.BrowserYesNoPreference 115 android:key="privacy_clear_history" 116 android:title="@string/pref_privacy_clear_history" 117 android:summary="@string/pref_privacy_clear_history_summary" 118 android:dialogMessage="@string/pref_privacy_clear_history_dlg" 119 android:dialogTitle="@string/clear" 120 android:dialogIcon="@android:drawable/ic_dialog_alert"/> 121 122 <CheckBoxPreference 123 android:key="accept_cookies" 124 android:defaultValue="true" 125 android:title="@string/pref_security_accept_cookies" 126 android:summary="@string/pref_security_accept_cookies_summary" /> 127 128 <com.android.browser.BrowserYesNoPreference 129 android:key="privacy_clear_cookies" 130 android:title="@string/pref_privacy_clear_cookies" 131 android:summary="@string/pref_privacy_clear_cookies_summary" 132 android:dialogMessage="@string/pref_privacy_clear_cookies_dlg" 133 android:dialogTitle="@string/clear" 134 android:dialogIcon="@android:drawable/ic_dialog_alert"/> 135 136 <CheckBoxPreference 137 android:key="save_formdata" 138 android:defaultValue="true" 139 android:title="@string/pref_security_save_form_data" 140 android:summary="@string/pref_security_save_form_data_summary" /> 141 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 150 <CheckBoxPreference 151 android:key="enable_geolocation" 152 android:defaultValue="true" 153 android:title="@string/pref_privacy_enable_geolocation" 154 android:summary="@string/pref_privacy_enable_geolocation_summary" /> 155 156 <com.android.browser.BrowserYesNoPreference 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" 162 android:dialogTitle="@string/clear" 163 android:dialogIcon="@android:drawable/ic_dialog_alert"/> 164 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"> 194 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 203 <PreferenceScreen 204 android:key="website_settings" 205 android:title="@string/pref_extras_website_settings" 206 android:summary="@string/pref_extras_website_settings_summary" /> 207 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> 217