summaryrefslogtreecommitdiffstats
path: root/res/xml/advanced_preferences.xml
blob: b89c20a289d115a3009340d89e9d1b1b059f53b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<PreferenceScreen
        xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Entries and values in this list are set dynamically. -->
    <com.android.browser.search.SearchEnginePreference
            android:key="search_engine"
            android:title="@string/pref_content_search_engine"
            android:defaultValue="google"
            android:summary="@string/pref_content_search_engine_summary"
            android:dialogTitle="@string/pref_content_search_engine" />

    <ListPreference
            android:key="user_agent"
            android:title="@string/pref_development_uastring"
            android:entries="@array/pref_development_ua_choices"
            android:entryValues="@array/pref_development_ua_values"
            android:defaultValue="0"/>

    <CheckBoxPreference
            android:key="open_in_background"
            android:defaultValue="false"
            android:title="@string/pref_content_open_in_background"
            android:summary="@string/pref_content_open_in_background_summary" />

    <CheckBoxPreference
            android:key="enable_javascript"
            android:defaultValue="true"
            android:title="@string/pref_content_javascript" />

    <CheckBoxPreference
            android:key="allow_apptabs"
            android:defaultValue="false"
            android:title="@string/pref_allow_apptabs" />

    <ListPreference
            android:key="plugin_state"
            android:title="@string/pref_content_plugins"
            android:defaultValue="ON"
            android:entries="@array/pref_content_plugins_choices"
            android:entryValues="@array/pref_content_plugins_values"
            android:dialogTitle="@string/pref_content_plugins" />

    <PreferenceScreen
            android:key="website_settings"
            android:title="@string/pref_extras_website_settings"
            android:summary="@string/pref_extras_website_settings_summary" />

    <PreferenceCategory android:title="@string/pref_content_title">

        <ListPreference
                android:key="default_zoom"
                android:title="@string/pref_default_zoom"
                android:defaultValue="MEDIUM"
                android:entries="@array/pref_default_zoom_choices"
                android:entryValues="@array/pref_default_zoom_values"
                android:dialogTitle="@string/pref_default_zoom_dialogtitle" />

        <CheckBoxPreference
                android:key="load_page"
                android:defaultValue="true"
                android:title="@string/pref_content_load_page"
                android:summary="@string/pref_content_load_page_summary" />

        <CheckBoxPreference
                android:key="autofit_pages"
                android:defaultValue="true"
                android:title="@string/pref_content_autofit"
                android:summary="@string/pref_content_autofit_summary" />

        <CheckBoxPreference
                android:key="block_popup_windows"
                android:defaultValue="true"
                android:title="@string/pref_content_block_popups" />

        <ListPreference
                android:key="default_text_encoding"
                android:title="@string/pref_default_text_encoding"
                android:defaultValue="@string/pref_default_text_encoding_default"
                android:entries="@array/pref_default_text_encoding_choices"
                android:entryValues="@array/pref_default_text_encoding_values"
                android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />

    </PreferenceCategory>

    <PreferenceCategory android:title="@string/pref_extras_reset_default_title">
        <com.android.browser.BrowserYesNoPreference
                android:key="reset_default_preferences"
                android:title="@string/pref_extras_reset_default"
                android:summary="@string/pref_extras_reset_default_summary"
                android:dialogMessage="@string/pref_extras_reset_default_dlg"
                android:dialogIcon="@android:drawable/ic_dialog_alert" />
    </PreferenceCategory>

</PreferenceScreen>