blob: 688c70edd4ac2b35f51c6aaa403779719afb6b21 [file] [log] [blame]
Michael Kolb8d772b02012-01-19 13:56:00 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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 <!-- Entries and values in this list are set dynamically. -->
Bijan Amirzada41242f22014-03-21 12:12:18 -070021 <com.android.browser.search.SearchEnginePreference
Michael Kolb8d772b02012-01-19 13:56:00 -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" />
27
28 <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" />
33
34 <CheckBoxPreference
35 android:key="enable_javascript"
36 android:defaultValue="true"
37 android:title="@string/pref_content_javascript" />
38
Bijan Amirzada9b1e9882014-02-26 17:15:46 -080039 <CheckBoxPreference
40 android:key="enable_memory_monitor"
41 android:defaultValue="true"
42 android:title="@string/pref_memory_monitor" />
43
Michael Kolb8d772b02012-01-19 13:56:00 -080044 <PreferenceScreen
45 android:key="website_settings"
46 android:title="@string/pref_extras_website_settings"
47 android:summary="@string/pref_extras_website_settings_summary" />
48
49 <PreferenceCategory android:title="@string/pref_content_title">
50
51 <ListPreference
52 android:key="default_zoom"
53 android:title="@string/pref_default_zoom"
54 android:defaultValue="MEDIUM"
55 android:entries="@array/pref_default_zoom_choices"
56 android:entryValues="@array/pref_default_zoom_values"
57 android:dialogTitle="@string/pref_default_zoom_dialogtitle" />
58
59 <CheckBoxPreference
60 android:key="load_page"
61 android:defaultValue="true"
62 android:title="@string/pref_content_load_page"
63 android:summary="@string/pref_content_load_page_summary" />
64
65 <CheckBoxPreference
66 android:key="autofit_pages"
67 android:defaultValue="true"
68 android:title="@string/pref_content_autofit"
69 android:summary="@string/pref_content_autofit_summary" />
70
71 <CheckBoxPreference
72 android:key="block_popup_windows"
73 android:defaultValue="true"
74 android:title="@string/pref_content_block_popups" />
75
76 <ListPreference
77 android:key="default_text_encoding"
78 android:title="@string/pref_default_text_encoding"
79 android:defaultValue="@string/pref_default_text_encoding_default"
80 android:entries="@array/pref_default_text_encoding_choices"
81 android:entryValues="@array/pref_default_text_encoding_values"
82 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
83
84 </PreferenceCategory>
85
86 <PreferenceCategory android:title="@string/pref_extras_reset_default_title">
Bijan Amirzada41242f22014-03-21 12:12:18 -070087 <com.android.browser.BrowserYesNoPreference
Michael Kolb8d772b02012-01-19 13:56:00 -080088 android:key="reset_default_preferences"
89 android:title="@string/pref_extras_reset_default"
90 android:summary="@string/pref_extras_reset_default_summary"
91 android:dialogMessage="@string/pref_extras_reset_default_dlg"
92 android:dialogIcon="@android:drawable/ic_dialog_alert" />
93 </PreferenceCategory>
94
95</PreferenceScreen>