blob: a941f6d45306a5fc66b0e318495fd474b846b3b0 [file] [log] [blame]
Jeff Hamilton462b8e82010-09-23 14:33:43 -05001<?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
John Reck035a5642010-12-21 18:51:27 -080020 <!-- Entries and values in this list are set dynamically. -->
Bijan Amirzada41242f22014-03-21 12:12:18 -070021 <com.android.browser.search.SearchEnginePreference
John Reck035a5642010-12-21 18:51:27 -080022 android:key="search_engine"
23 android:title="@string/pref_content_search_engine"
24 android:defaultValue="google"
25 android:summary="@string/pref_content_search_engine_summary"
26 android:dialogTitle="@string/pref_content_search_engine" />
Jeff Hamilton462b8e82010-09-23 14:33:43 -050027
John Reck035a5642010-12-21 18:51:27 -080028 <CheckBoxPreference
29 android:key="open_in_background"
30 android:defaultValue="false"
31 android:title="@string/pref_content_open_in_background"
32 android:summary="@string/pref_content_open_in_background_summary" />
Jeff Hamilton462b8e82010-09-23 14:33:43 -050033
John Reck035a5642010-12-21 18:51:27 -080034 <CheckBoxPreference
35 android:key="enable_javascript"
36 android:defaultValue="true"
37 android:title="@string/pref_content_javascript" />
38
Michael Kolb8d772b02012-01-19 13:56:00 -080039 <CheckBoxPreference
Bijan Amirzada9b1e9882014-02-26 17:15:46 -080040 android:key="enable_memory_monitor"
41 android:defaultValue="true"
42 android:title="@string/pref_memory_monitor" />
43
44 <CheckBoxPreference
Michael Kolb8d772b02012-01-19 13:56:00 -080045 android:key="allow_apptabs"
46 android:defaultValue="false"
47 android:title="@string/pref_allow_apptabs" />
48
John Reck035a5642010-12-21 18:51:27 -080049 <ListPreference
50 android:key="plugin_state"
51 android:title="@string/pref_content_plugins"
52 android:defaultValue="ON"
53 android:entries="@array/pref_content_plugins_choices"
54 android:entryValues="@array/pref_content_plugins_values"
55 android:dialogTitle="@string/pref_content_plugins" />
56
57 <PreferenceScreen
58 android:key="website_settings"
59 android:title="@string/pref_extras_website_settings"
60 android:summary="@string/pref_extras_website_settings_summary" />
61
62 <PreferenceCategory android:title="@string/pref_content_title">
John Reck035a5642010-12-21 18:51:27 -080063
Tarun Nainani91e61fd2014-04-16 10:32:29 -070064 <!-- Disable Default Zoom
John Reck035a5642010-12-21 18:51:27 -080065 <ListPreference
66 android:key="default_zoom"
67 android:title="@string/pref_default_zoom"
68 android:defaultValue="MEDIUM"
69 android:entries="@array/pref_default_zoom_choices"
70 android:entryValues="@array/pref_default_zoom_values"
71 android:dialogTitle="@string/pref_default_zoom_dialogtitle" />
Tarun Nainani91e61fd2014-04-16 10:32:29 -070072 -->
John Reck035a5642010-12-21 18:51:27 -080073
74 <CheckBoxPreference
75 android:key="load_page"
76 android:defaultValue="true"
77 android:title="@string/pref_content_load_page"
78 android:summary="@string/pref_content_load_page_summary" />
79
80 <CheckBoxPreference
81 android:key="autofit_pages"
82 android:defaultValue="true"
83 android:title="@string/pref_content_autofit"
84 android:summary="@string/pref_content_autofit_summary" />
85
86 <CheckBoxPreference
87 android:key="block_popup_windows"
88 android:defaultValue="true"
89 android:title="@string/pref_content_block_popups" />
90
John Reck035a5642010-12-21 18:51:27 -080091 <ListPreference
92 android:key="default_text_encoding"
93 android:title="@string/pref_default_text_encoding"
94 android:defaultValue="@string/pref_default_text_encoding_default"
95 android:entries="@array/pref_default_text_encoding_choices"
96 android:entryValues="@array/pref_default_text_encoding_values"
97 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
98
99 </PreferenceCategory>
100
101 <PreferenceCategory android:title="@string/pref_extras_reset_default_title">
Bijan Amirzada41242f22014-03-21 12:12:18 -0700102 <com.android.browser.BrowserYesNoPreference
Jeff Hamilton462b8e82010-09-23 14:33:43 -0500103 android:key="reset_default_preferences"
104 android:title="@string/pref_extras_reset_default"
105 android:summary="@string/pref_extras_reset_default_summary"
Michael Kolb8d772b02012-01-19 13:56:00 -0800106 android:dialogMessage="@string/pref_extras_reset_default_dlg"
Jeff Hamilton462b8e82010-09-23 14:33:43 -0500107 android:dialogIcon="@android:drawable/ic_dialog_alert" />
John Reck035a5642010-12-21 18:51:27 -0800108 </PreferenceCategory>
Jeff Hamilton462b8e82010-09-23 14:33:43 -0500109
110</PreferenceScreen>