blob: 136e89f610f6c18d0ef34aaeedd92df3b4db16e0 [file] [log] [blame]
John Reck035a5642010-12-21 18:51:27 -08001<?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
Pankaj Garg8a9eba62015-07-28 09:37:48 -070017<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:app="http://schemas.android.com/apk/res-auto" >
Pankaj Garg32e1b942015-06-03 18:13:24 -070019 <PreferenceCategory
20 android:layout="@layout/swe_preference_category_first"
21 android:title="@string/pref_general_title">
Pankaj Gargb3b57462014-11-18 17:28:30 -080022 <com.android.browser.preferences.NonformattingListPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -070023 android:layout="@layout/swe_preference"
24 android:widgetLayout="@layout/swe_preference_list_widget"
Pankaj Gargb3b57462014-11-18 17:28:30 -080025 android:key="homepage_picker"
26 android:entries="@array/pref_homepage_choices"
27 android:entryValues="@array/pref_homepage_values"
28 android:title="@string/pref_content_homepage" />
John Reck035a5642010-12-21 18:51:27 -080029
Pankaj Gargb3b57462014-11-18 17:28:30 -080030 <com.android.browser.search.SearchEnginePreference
Pankaj Garg32e1b942015-06-03 18:13:24 -070031 android:layout="@layout/swe_preference"
32 android:widgetLayout="@layout/swe_preference_list_widget"
Panos Thomas42459d72014-12-02 08:24:06 -080033 android:defaultValue="@string/default_search_engine_value"
Pankaj Gargb3b57462014-11-18 17:28:30 -080034 android:dialogTitle="@string/pref_content_search_engine"
35 android:key="search_engine"
36 android:summary="@string/pref_content_search_engine_summary"
37 android:title="@string/pref_content_search_engine" />
38
Dave Tharpc7ecda82015-06-24 13:32:46 -070039 <com.android.browser.mdm.MdmCheckBoxPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -070040 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -080041 android:key="autofill_enabled"
John Reck035a5642010-12-21 18:51:27 -080042 android:title="@string/pref_autofill_enabled"
43 android:summary="@string/pref_autofill_enabled_summary"
Pankaj Gargb3b57462014-11-18 17:28:30 -080044 android:defaultValue="true" />
John Reck035a5642010-12-21 18:51:27 -080045
46 <PreferenceScreen
Pankaj Garg32e1b942015-06-03 18:13:24 -070047 android:layout="@layout/swe_preference"
John Reck035a5642010-12-21 18:51:27 -080048 android:key="autofill_profile"
49 android:title="@string/pref_autofill_profile_editor"
50 android:summary="@string/pref_autofill_profile_editor_summary" />
51 </PreferenceCategory>
52
jrizzoli5bba72a2015-08-28 22:03:53 +020053 <PreferenceCategory android:title="@string/pref_interface_title"
Pankaj Garg32e1b942015-06-03 18:13:24 -070054 android:layout="@layout/swe_preference_category"
jrizzoli5bba72a2015-08-28 22:03:53 +020055 android:key="interface">
Pankaj Gargb3b57462014-11-18 17:28:30 -080056
Pankaj Garg1c13cab2015-05-12 11:52:17 -070057 <ListPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -070058 android:layout="@layout/swe_preference"
59 android:widgetLayout="@layout/swe_preference_list_widget"
Pankaj Garg1c13cab2015-05-12 11:52:17 -070060 android:dialogTitle="@string/pref_edge_swipe_option_msg"
61 android:entries="@array/pref_edge_swiping_choices"
62 android:entryValues="@array/pref_edge_swiping_values"
Pankaj Garg32e1b942015-06-03 18:13:24 -070063 android:summary="%s"
Pankaj Garg1c13cab2015-05-12 11:52:17 -070064 android:key="edge_swiping_action"
65 android:title="@string/pref_edge_swipe_title" />
66
jrizzoli5bba72a2015-08-28 22:03:53 +020067 <SwitchPreference
68 android:layout="@layout/swe_preference"
69 android:defaultValue="false"
70 android:key="fullscreen"
71 android:summary="@string/pref_lab_fullscreen_summary"
72 android:title="@string/pref_lab_fullscreen" />
73
74 <SwitchPreference
75 android:layout="@layout/swe_preference"
76 android:defaultValue="false"
jrizzolibe2afc52015-10-28 18:43:00 +010077 android:key="coloredsb_enabled"
78 android:summary="@string/pref_coloredsb_summary"
79 android:title="@string/pref_coloredsb_title" />
80
81 <SwitchPreference
82 android:layout="@layout/swe_preference"
83 android:defaultValue="false"
jrizzoli5bba72a2015-08-28 22:03:53 +020084 android:key="nightmode_enabled"
85 android:summary="@string/pref_nightmode_enabled_summary"
86 android:title="@string/pref_nightmode_enabled" />
87
88 </PreferenceCategory>
89
90 <PreferenceCategory android:title="@string/pref_security_title"
91 android:layout="@layout/swe_preference_category"
92 android:key="security">
93
94 <PreferenceScreen android:title="@string/pref_privacy_security_title"
95 android:summary="@string/pref_privacy_security_title_summary"
96 android:layout="@layout/swe_preference"
97 android:key="privacy_security" />
98
99 <PreferenceScreen android:title="@string/pref_content_title"
100 android:summary="@string/pref_content_title_summary"
101 android:layout="@layout/swe_preference"
102 android:key="content_settings" />
103
jrizzoli7924a0c2016-02-05 14:30:14 +0100104 <SwitchPreference
105 android:layout="@layout/swe_preference"
106 android:defaultValue="false"
107 android:key="looklock_key"
108 android:summary="@string/pref_looklock_summary"
109 android:title="@string/pref_looklock_title" />
110
jrizzoli5bba72a2015-08-28 22:03:53 +0200111 </PreferenceCategory>
112
113 <PreferenceCategory android:title="@string/pref_extras_title"
114 android:layout="@layout/swe_preference_category"
115 android:key="advanced">
116
117 <SwitchPreference
118 android:layout="@layout/swe_preference"
119 android:defaultValue="false"
120 android:key="powersave_enabled"
121 android:summary="@string/pref_powersave_enabled_summary"
122 android:title="@string/pref_powersave_enabled" />
123
124 <PreferenceScreen
125 android:layout="@layout/swe_preference"
126 android:key="accessibility_menu"
127 android:summary="@string/pref_accessibility_title_summary"
128 android:title="@string/pref_accessibility_title"/>
129
Pankaj Gargb3b57462014-11-18 17:28:30 -0800130 <com.android.browser.BrowserYesNoPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -0700131 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -0800132 android:key="reset_default_preferences"
133 android:title="@string/pref_extras_reset_default"
134 android:summary="@string/pref_extras_reset_default_summary"
Pankaj Garg8a9eba62015-07-28 09:37:48 -0700135 app:neutralButtonText="@string/website_settings_clear_all"
Pankaj Gargb3b57462014-11-18 17:28:30 -0800136 android:dialogMessage="@string/pref_extras_reset_default_dlg"
137 android:dialogIcon="@android:drawable/ic_dialog_alert" />
138
139 <PreferenceScreen
Pankaj Garg32e1b942015-06-03 18:13:24 -0700140 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -0800141 android:key="debug_menu"
142 android:title="@string/pref_development_title" />
143 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800144</PreferenceScreen>