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 |
Site Mao | abb7bd3 | 2015-03-20 15:34:02 -0700 | [diff] [blame] | 40 | android:defaultValue="false" |
| 41 | android:key="powersave_enabled" |
| 42 | android:summary="@string/pref_powersave_enabled_summary" |
| 43 | android:title="@string/pref_powersave_enabled" /> |
| 44 | |
| 45 | <CheckBoxPreference |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 46 | android:key="autofill_enabled" |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 47 | android:title="@string/pref_autofill_enabled" |
| 48 | android:summary="@string/pref_autofill_enabled_summary" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 49 | android:defaultValue="true" /> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 50 | |
Kulanthaivel Palanichamy | f36e1db | 2015-04-08 16:11:06 -0700 | [diff] [blame] | 51 | <CheckBoxPreference |
| 52 | android:key="web_refiner_enabled" |
| 53 | android:title="@string/pref_web_refiner_enabled" |
| 54 | android:summary="@string/pref_web_refiner_enabled_summary" |
| 55 | android:defaultValue="true" /> |
| 56 | |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 57 | <PreferenceScreen |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 58 | android:key="autofill_profile" |
| 59 | android:title="@string/pref_autofill_profile_editor" |
| 60 | android:summary="@string/pref_autofill_profile_editor_summary" /> |
| 61 | </PreferenceCategory> |
| 62 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 63 | <PreferenceCategory android:title="@string/pref_extras_title" |
| 64 | android:key="advanced"> |
| 65 | |
Pankaj Garg | e230502 | 2015-03-20 14:11:01 -0700 | [diff] [blame] | 66 | <PreferenceScreen android:title="@string/pref_privacy_security_title" |
| 67 | android:key="privacy_security"> |
| 68 | <PreferenceScreen android:title="@string/webstorage_clear_data_title" |
| 69 | android:key="clear_data"> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 70 | <com.android.browser.BrowserYesNoPreference |
| 71 | android:dialogIcon="@android:drawable/ic_dialog_alert" |
| 72 | android:dialogMessage="@string/pref_privacy_clear_selected_dlg" |
| 73 | android:key="privacy_clear_selected" |
| 74 | android:summary="@string/pref_privacy_clear_selected_summary" |
| 75 | android:title="@string/pref_privacy_clear_selected" /> |
| 76 | |
| 77 | <CheckBoxPreference |
| 78 | android:defaultValue="true" |
| 79 | android:key="privacy_clear_history" |
| 80 | android:summary="@string/pref_privacy_clear_history_summary" |
| 81 | android:title="@string/pref_privacy_clear_history" /> |
| 82 | |
| 83 | <CheckBoxPreference |
| 84 | android:defaultValue="true" |
| 85 | android:key="privacy_clear_cache" |
| 86 | android:summary="@string/pref_privacy_clear_cache_summary" |
| 87 | android:title="@string/pref_privacy_clear_cache" /> |
| 88 | |
| 89 | <CheckBoxPreference |
| 90 | android:defaultValue="true" |
| 91 | android:key="privacy_clear_cookies" |
| 92 | android:summary="@string/pref_privacy_clear_cookies_summary" |
| 93 | android:title="@string/pref_privacy_clear_cookies" /> |
| 94 | |
| 95 | <CheckBoxPreference |
| 96 | android:defaultValue="true" |
| 97 | android:key="privacy_clear_form_data" |
| 98 | android:summary="@string/pref_privacy_clear_form_data_summary" |
| 99 | android:title="@string/pref_privacy_clear_form_data" /> |
| 100 | |
| 101 | <CheckBoxPreference |
| 102 | android:defaultValue="true" |
| 103 | android:key="privacy_clear_passwords" |
| 104 | android:summary="@string/pref_privacy_clear_passwords_summary" |
| 105 | android:title="@string/pref_privacy_clear_passwords" /> |
| 106 | |
| 107 | <CheckBoxPreference |
| 108 | android:defaultValue="true" |
| 109 | android:dependency="enable_geolocation" |
| 110 | android:key="privacy_clear_geolocation_access" |
| 111 | android:summary="@string/pref_privacy_clear_geolocation_access_summary" |
| 112 | android:title="@string/pref_privacy_clear_geolocation_access" /> |
| 113 | |
| 114 | </PreferenceScreen> |
| 115 | |
| 116 | <CheckBoxPreference |
| 117 | android:defaultValue="true" |
| 118 | android:key="show_security_warnings" |
| 119 | android:summary="@string/pref_security_show_security_warning_summary" |
| 120 | android:title="@string/pref_security_show_security_warning" /> |
| 121 | |
Dave Tharp | b487d5d | 2015-05-15 15:54:08 -0700 | [diff] [blame] | 122 | <com.android.browser.mdm.MdmCheckBoxPreference |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 123 | android:defaultValue="true" |
| 124 | android:key="do_not_track" |
| 125 | android:summary="@string/pref_do_not_track_summary" |
| 126 | android:title="@string/pref_do_not_track" /> |
| 127 | |
| 128 | <CheckBoxPreference |
| 129 | android:defaultValue="true" |
| 130 | android:key="accept_cookies" |
| 131 | android:summary="@string/pref_security_accept_cookies_summary" |
| 132 | android:title="@string/pref_security_accept_cookies" /> |
| 133 | |
| 134 | <CheckBoxPreference |
| 135 | android:defaultValue="true" |
| 136 | android:key="save_formdata" |
| 137 | android:summary="@string/pref_security_save_form_data_summary" |
| 138 | android:title="@string/pref_security_save_form_data" /> |
| 139 | |
| 140 | <CheckBoxPreference |
| 141 | android:defaultValue="true" |
| 142 | android:key="enable_geolocation" |
| 143 | android:summary="@string/pref_privacy_enable_geolocation_summary" |
| 144 | android:title="@string/pref_privacy_enable_geolocation" /> |
| 145 | |
| 146 | <CheckBoxPreference |
| 147 | android:defaultValue="true" |
| 148 | android:key="remember_passwords" |
| 149 | android:summary="@string/pref_security_remember_passwords_summary" |
| 150 | android:title="@string/pref_security_remember_passwords" /> |
| 151 | |
| 152 | </PreferenceScreen> |
| 153 | |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame] | 154 | <PreferenceScreen |
| 155 | android:key="accessibility_menu" |
| 156 | android:title="@string/pref_accessibility_title" /> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 157 | |
| 158 | |
Panos Thomas | 4bdb525 | 2014-11-13 16:20:11 -0800 | [diff] [blame] | 159 | <PreferenceScreen android:title="@string/pref_content_title" |
| 160 | android:key="content_settings"> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 161 | <CheckBoxPreference |
| 162 | android:defaultValue="true" |
| 163 | android:key="block_popup_windows" |
| 164 | android:title="@string/pref_content_block_popups" /> |
| 165 | |
| 166 | <CheckBoxPreference |
| 167 | android:defaultValue="false" |
| 168 | android:key="open_in_background" |
| 169 | android:summary="@string/pref_content_open_in_background_summary" |
| 170 | android:title="@string/pref_content_open_in_background" /> |
| 171 | |
| 172 | <CheckBoxPreference |
| 173 | android:defaultValue="true" |
| 174 | android:key="enable_javascript" |
| 175 | android:title="@string/pref_content_javascript" /> |
| 176 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 177 | <PreferenceScreen |
| 178 | android:key="download_path_setting_screen" |
| 179 | android:title="@string/pref_download_path_setting_screen_title"/> |
Tarun Nainani | 95b7968 | 2014-12-09 09:38:04 -0800 | [diff] [blame] | 180 | |
| 181 | <ListPreference |
| 182 | android:defaultValue="@string/pref_default_text_encoding_default" |
| 183 | android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" |
| 184 | android:entries="@array/pref_default_text_encoding_choices" |
| 185 | android:entryValues="@array/pref_default_text_encoding_values" |
| 186 | android:key="default_text_encoding" |
| 187 | android:title="@string/pref_default_text_encoding" /> |
| 188 | |
Pankaj Garg | 361ac5c | 2015-01-27 15:15:13 -0800 | [diff] [blame] | 189 | <CheckBoxPreference |
| 190 | android:key="load_images" |
| 191 | android:defaultValue="true" |
| 192 | android:title="@string/pref_content_load_images" |
| 193 | android:summary="@string/pref_content_load_images_summary" /> |
| 194 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 195 | </PreferenceScreen> |
| 196 | |
| 197 | |
| 198 | <PreferenceScreen |
| 199 | android:key="website_settings" |
| 200 | android:summary="@string/pref_extras_website_settings_summary" |
| 201 | android:title="@string/pref_extras_website_settings" /> |
| 202 | |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame^] | 203 | <ListPreference |
| 204 | android:dialogTitle="@string/pref_edge_swipe_option_msg" |
| 205 | android:entries="@array/pref_edge_swiping_choices" |
| 206 | android:entryValues="@array/pref_edge_swiping_values" |
| 207 | android:key="edge_swiping_action" |
| 208 | android:title="@string/pref_edge_swipe_title" /> |
| 209 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 210 | <com.android.browser.BrowserYesNoPreference |
| 211 | android:key="reset_default_preferences" |
| 212 | android:title="@string/pref_extras_reset_default" |
| 213 | android:summary="@string/pref_extras_reset_default_summary" |
| 214 | android:dialogMessage="@string/pref_extras_reset_default_dlg" |
| 215 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 216 | |
| 217 | <PreferenceScreen |
| 218 | android:key="debug_menu" |
| 219 | android:title="@string/pref_development_title" /> |
| 220 | </PreferenceCategory> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 221 | </PreferenceScreen> |