blob: 3264d22181f50d0e376d512f08bf13a9ef571762 [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. -->
21 <com.android.browser.search.SearchEnginePreference
22 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
39 <ListPreference
40 android:key="plugin_state"
41 android:title="@string/pref_content_plugins"
42 android:defaultValue="ON"
43 android:entries="@array/pref_content_plugins_choices"
44 android:entryValues="@array/pref_content_plugins_values"
45 android:dialogTitle="@string/pref_content_plugins" />
46
47 <PreferenceScreen
48 android:key="website_settings"
49 android:title="@string/pref_extras_website_settings"
50 android:summary="@string/pref_extras_website_settings_summary" />
51
52 <PreferenceCategory android:title="@string/pref_content_title">
53 <ListPreference
54 android:key="text_size"
55 android:title="@string/pref_text_size"
56 android:defaultValue="NORMAL"
57 android:entries="@array/pref_text_size_choices"
58 android:entryValues="@array/pref_text_size_values"
59 android:dialogTitle="@string/pref_text_size_dialogtitle" />
60
61 <ListPreference
62 android:key="default_zoom"
63 android:title="@string/pref_default_zoom"
64 android:defaultValue="MEDIUM"
65 android:entries="@array/pref_default_zoom_choices"
66 android:entryValues="@array/pref_default_zoom_values"
67 android:dialogTitle="@string/pref_default_zoom_dialogtitle" />
68
69 <CheckBoxPreference
70 android:key="load_page"
71 android:defaultValue="true"
72 android:title="@string/pref_content_load_page"
73 android:summary="@string/pref_content_load_page_summary" />
74
75 <CheckBoxPreference
76 android:key="autofit_pages"
77 android:defaultValue="true"
78 android:title="@string/pref_content_autofit"
79 android:summary="@string/pref_content_autofit_summary" />
80
81 <CheckBoxPreference
82 android:key="block_popup_windows"
83 android:defaultValue="true"
84 android:title="@string/pref_content_block_popups" />
85
86 <CheckBoxPreference
87 android:key="load_images"
88 android:defaultValue="true"
89 android:title="@string/pref_content_load_images"
90 android:summary="@string/pref_content_load_images_summary" />
91
92 <ListPreference
93 android:key="default_text_encoding"
94 android:title="@string/pref_default_text_encoding"
95 android:defaultValue="@string/pref_default_text_encoding_default"
96 android:entries="@array/pref_default_text_encoding_choices"
97 android:entryValues="@array/pref_default_text_encoding_values"
98 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
99
100 </PreferenceCategory>
101
102 <PreferenceCategory android:title="@string/pref_extras_reset_default_title">
Jeff Hamilton462b8e82010-09-23 14:33:43 -0500103 <com.android.browser.BrowserYesNoPreference
104 android:key="reset_default_preferences"
105 android:title="@string/pref_extras_reset_default"
106 android:summary="@string/pref_extras_reset_default_summary"
107 android:dialogMessage="@string/pref_extras_reset_default_dlg"
108 android:dialogTitle="@string/pref_extras_reset_default_dlg_title"
109 android:dialogIcon="@android:drawable/ic_dialog_alert" />
John Reck035a5642010-12-21 18:51:27 -0800110 </PreferenceCategory>
Jeff Hamilton462b8e82010-09-23 14:33:43 -0500111
112</PreferenceScreen>