John Reck | 035a564 | 2010-12-21 18:51:27 -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 xmlns:android="http://schemas.android.com/apk/res/android"> |
| 18 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 19 | <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 Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 25 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 26 | <com.android.browser.search.SearchEnginePreference |
Panos Thomas | 42459d7 | 2014-12-02 08:24:06 -0800 | [diff] [blame] | 27 | android:defaultValue="@string/default_search_engine_value" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 28 | 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 Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 41 | android:title="@string/pref_autofill_enabled" |
| 42 | android:summary="@string/pref_autofill_enabled_summary" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 43 | android:defaultValue="true" /> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 44 | |
| 45 | <PreferenceScreen |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 46 | 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 Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 51 | <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 Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame] | 140 | <PreferenceScreen |
| 141 | android:key="accessibility_menu" |
| 142 | android:title="@string/pref_accessibility_title" /> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 143 | |
| 144 | |
Panos Thomas | 4bdb525 | 2014-11-13 16:20:11 -0800 | [diff] [blame] | 145 | <PreferenceScreen android:title="@string/pref_content_title" |
| 146 | android:key="content_settings"> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 147 | <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"/> |
Tarun Nainani | 95b7968 | 2014-12-09 09:38:04 -0800 | [diff] [blame^] | 170 | |
| 171 | <ListPreference |
| 172 | android:defaultValue="@string/pref_default_text_encoding_default" |
| 173 | android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" |
| 174 | android:entries="@array/pref_default_text_encoding_choices" |
| 175 | android:entryValues="@array/pref_default_text_encoding_values" |
| 176 | android:key="default_text_encoding" |
| 177 | android:title="@string/pref_default_text_encoding" /> |
| 178 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 179 | </PreferenceScreen> |
| 180 | |
| 181 | |
| 182 | <PreferenceScreen |
| 183 | android:key="website_settings" |
| 184 | android:summary="@string/pref_extras_website_settings_summary" |
| 185 | android:title="@string/pref_extras_website_settings" /> |
| 186 | |
| 187 | <com.android.browser.BrowserYesNoPreference |
| 188 | android:key="reset_default_preferences" |
| 189 | android:title="@string/pref_extras_reset_default" |
| 190 | android:summary="@string/pref_extras_reset_default_summary" |
| 191 | android:dialogMessage="@string/pref_extras_reset_default_dlg" |
| 192 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 193 | |
| 194 | <PreferenceScreen |
| 195 | android:key="debug_menu" |
| 196 | android:title="@string/pref_development_title" /> |
| 197 | </PreferenceCategory> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 198 | </PreferenceScreen> |