blob: 7571a6a13299d897f927c1b6afac4ea67a611956 [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
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
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
Pankaj Garg32e1b942015-06-03 18:13:24 -070039 <SwitchPreference
40 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -080041 android:defaultValue="false"
42 android:key="fullscreen"
43 android:summary="@string/pref_lab_fullscreen_summary"
44 android:title="@string/pref_lab_fullscreen" />
45
Pankaj Garg32e1b942015-06-03 18:13:24 -070046 <SwitchPreference
47 android:layout="@layout/swe_preference"
Site Maoabb7bd32015-03-20 15:34:02 -070048 android:defaultValue="false"
49 android:key="powersave_enabled"
50 android:summary="@string/pref_powersave_enabled_summary"
51 android:title="@string/pref_powersave_enabled" />
52
Pankaj Garg32e1b942015-06-03 18:13:24 -070053 <SwitchPreference
54 android:layout="@layout/swe_preference"
Yida Wang078425c2015-06-02 14:14:06 -040055 android:defaultValue="false"
56 android:key="nightmode_enabled"
57 android:summary="@string/pref_nightmode_enabled_summary"
58 android:title="@string/pref_nightmode_enabled" />
59
Pankaj Garg32e1b942015-06-03 18:13:24 -070060 <SwitchPreference
61 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -080062 android:key="autofill_enabled"
John Reck035a5642010-12-21 18:51:27 -080063 android:title="@string/pref_autofill_enabled"
64 android:summary="@string/pref_autofill_enabled_summary"
Pankaj Gargb3b57462014-11-18 17:28:30 -080065 android:defaultValue="true" />
John Reck035a5642010-12-21 18:51:27 -080066
67 <PreferenceScreen
Pankaj Garg32e1b942015-06-03 18:13:24 -070068 android:layout="@layout/swe_preference"
John Reck035a5642010-12-21 18:51:27 -080069 android:key="autofill_profile"
70 android:title="@string/pref_autofill_profile_editor"
71 android:summary="@string/pref_autofill_profile_editor_summary" />
72 </PreferenceCategory>
73
Pankaj Gargb3b57462014-11-18 17:28:30 -080074 <PreferenceCategory android:title="@string/pref_extras_title"
Pankaj Garg32e1b942015-06-03 18:13:24 -070075 android:layout="@layout/swe_preference_category"
Pankaj Gargb3b57462014-11-18 17:28:30 -080076 android:key="advanced">
77
Pankaj Garge2305022015-03-20 14:11:01 -070078 <PreferenceScreen android:title="@string/pref_privacy_security_title"
Pankaj Garg32e1b942015-06-03 18:13:24 -070079 android:summary="@string/pref_privacy_security_title_summary"
80 android:layout="@layout/swe_preference"
81 android:key="privacy_security" />
Pankaj Gargb3b57462014-11-18 17:28:30 -080082
Pankaj Garg4cad0782014-12-03 10:00:08 -080083 <PreferenceScreen
Pankaj Garg32e1b942015-06-03 18:13:24 -070084 android:layout="@layout/swe_preference"
Pankaj Garg4cad0782014-12-03 10:00:08 -080085 android:key="accessibility_menu"
Pankaj Garg32e1b942015-06-03 18:13:24 -070086 android:summary="@string/pref_accessibility_title_summary"
87 android:title="@string/pref_accessibility_title"/>
Pankaj Gargb3b57462014-11-18 17:28:30 -080088
89
Panos Thomas4bdb5252014-11-13 16:20:11 -080090 <PreferenceScreen android:title="@string/pref_content_title"
Pankaj Garg32e1b942015-06-03 18:13:24 -070091 android:summary="@string/pref_content_title_summary"
92 android:layout="@layout/swe_preference"
93 android:key="content_settings" />
Pankaj Gargb3b57462014-11-18 17:28:30 -080094
Pankaj Garg1c13cab2015-05-12 11:52:17 -070095 <ListPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -070096 android:layout="@layout/swe_preference"
97 android:widgetLayout="@layout/swe_preference_list_widget"
Pankaj Garg1c13cab2015-05-12 11:52:17 -070098 android:dialogTitle="@string/pref_edge_swipe_option_msg"
99 android:entries="@array/pref_edge_swiping_choices"
100 android:entryValues="@array/pref_edge_swiping_values"
Pankaj Garg32e1b942015-06-03 18:13:24 -0700101 android:summary="%s"
Pankaj Garg1c13cab2015-05-12 11:52:17 -0700102 android:key="edge_swiping_action"
103 android:title="@string/pref_edge_swipe_title" />
104
Pankaj Gargb3b57462014-11-18 17:28:30 -0800105 <com.android.browser.BrowserYesNoPreference
Pankaj Garg32e1b942015-06-03 18:13:24 -0700106 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -0800107 android:key="reset_default_preferences"
108 android:title="@string/pref_extras_reset_default"
109 android:summary="@string/pref_extras_reset_default_summary"
110 android:dialogMessage="@string/pref_extras_reset_default_dlg"
111 android:dialogIcon="@android:drawable/ic_dialog_alert" />
112
113 <PreferenceScreen
Pankaj Garg32e1b942015-06-03 18:13:24 -0700114 android:layout="@layout/swe_preference"
Pankaj Gargb3b57462014-11-18 17:28:30 -0800115 android:key="debug_menu"
116 android:title="@string/pref_development_title" />
117 </PreferenceCategory>
John Reck035a5642010-12-21 18:51:27 -0800118</PreferenceScreen>