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 |
| 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 Scroggins | b0cd072 | 2009-03-31 14:31:22 -0700 | [diff] [blame^] | 57 | 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 Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 63 | 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 Project | 25a828a | 2009-03-05 14:34:37 -0800 | [diff] [blame] | 76 | android:hint="@string/http" |
| 77 | android:inputType="textUri" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 78 | 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 | |
| 129 | </PreferenceCategory> |
| 130 | |
| 131 | <PreferenceCategory |
| 132 | android:title="@string/pref_security_title"> |
| 133 | |
| 134 | <CheckBoxPreference |
| 135 | android:key="remember_passwords" |
| 136 | android:defaultValue="true" |
| 137 | android:title="@string/pref_security_remember_passwords" |
| 138 | android:summary="@string/pref_security_remember_passwords_summary" /> |
| 139 | |
| 140 | <com.android.browser.BrowserYesNoPreference |
| 141 | android:key="privacy_clear_passwords" |
| 142 | android:title="@string/pref_privacy_clear_passwords" |
| 143 | android:summary="@string/pref_privacy_clear_passwords_summary" |
| 144 | android:dialogMessage="@string/pref_privacy_clear_passwords_dlg" |
| 145 | android:dialogTitle="@string/clear" |
| 146 | android:dialogIcon="@android:drawable/ic_dialog_alert"/> |
| 147 | |
| 148 | <CheckBoxPreference |
| 149 | android:key="show_security_warnings" |
| 150 | android:defaultValue="true" |
| 151 | android:title="@string/pref_security_show_security_warning" |
| 152 | android:summary="@string/pref_security_show_security_warning_summary" /> |
| 153 | |
| 154 | |
| 155 | </PreferenceCategory> |
| 156 | <PreferenceCategory |
| 157 | android:title="@string/pref_extras_title"> |
| 158 | |
| 159 | <!-- This setting is named "Enable Gears" but is actually |
| 160 | tied to enabling all plugins. --> |
| 161 | <CheckBoxPreference |
| 162 | android:key="enable_plugins" |
| 163 | android:defaultValue="true" |
| 164 | android:title="@string/pref_extras_gears_enable" |
| 165 | android:summary="@string/pref_extras_gears_enable_summary" /> |
| 166 | |
| 167 | <Preference |
| 168 | android:key="gears_settings" |
| 169 | android:persistent="false" |
| 170 | android:dependency="enable_plugins" |
| 171 | android:title="@string/pref_extras_gears_settings" |
| 172 | android:summary="@string/pref_extras_gears_settings_summary" /> |
| 173 | |
| 174 | <com.android.browser.BrowserYesNoPreference |
| 175 | android:key="reset_default_preferences" |
| 176 | android:title="@string/pref_extras_reset_default" |
| 177 | android:summary="@string/pref_extras_reset_default_summary" |
| 178 | android:dialogMessage="@string/pref_extras_reset_default_dlg" |
| 179 | android:dialogTitle="@string/pref_extras_reset_default_dlg_title" |
| 180 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 181 | </PreferenceCategory> |
| 182 | </PreferenceScreen> |