John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 1 | <?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 Garg | 8a9eba6 | 2015-07-28 09:37:48 -0700 | [diff] [blame] | 17 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | xmlns:app="http://schemas.android.com/apk/res-auto" > |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 19 | <PreferenceCategory |
| 20 | android:layout="@layout/swe_preference_category_first" |
| 21 | android:title="@string/pref_general_title"> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 22 | <com.android.browser.preferences.NonformattingListPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 23 | android:layout="@layout/swe_preference" |
| 24 | android:widgetLayout="@layout/swe_preference_list_widget" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 25 | 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 Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 29 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 30 | <com.android.browser.search.SearchEnginePreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 31 | android:layout="@layout/swe_preference" |
| 32 | android:widgetLayout="@layout/swe_preference_list_widget" |
Panos Thomas | 42459d7 | 2014-12-02 08:24:06 -0800 | [diff] [blame] | 33 | android:defaultValue="@string/default_search_engine_value" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 34 | 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 Tharp | c7ecda8 | 2015-06-24 13:32:46 -0700 | [diff] [blame] | 39 | <com.android.browser.mdm.MdmCheckBoxPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 40 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 41 | android:key="autofill_enabled" |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 42 | android:title="@string/pref_autofill_enabled" |
| 43 | android:summary="@string/pref_autofill_enabled_summary" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 44 | android:defaultValue="true" /> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 45 | |
| 46 | <PreferenceScreen |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 47 | android:layout="@layout/swe_preference" |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 48 | android:key="autofill_profile" |
| 49 | android:title="@string/pref_autofill_profile_editor" |
| 50 | android:summary="@string/pref_autofill_profile_editor_summary" /> |
| 51 | </PreferenceCategory> |
| 52 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame^] | 53 | <PreferenceCategory android:title="@string/pref_interface_title" |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 54 | android:layout="@layout/swe_preference_category" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame^] | 55 | android:key="interface"> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 56 | |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 57 | <ListPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 58 | android:layout="@layout/swe_preference" |
| 59 | android:widgetLayout="@layout/swe_preference_list_widget" |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 60 | 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 Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 63 | android:summary="%s" |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 64 | android:key="edge_swiping_action" |
| 65 | android:title="@string/pref_edge_swipe_title" /> |
| 66 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame^] | 67 | <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" |
| 77 | android:key="nightmode_enabled" |
| 78 | android:summary="@string/pref_nightmode_enabled_summary" |
| 79 | android:title="@string/pref_nightmode_enabled" /> |
| 80 | |
| 81 | </PreferenceCategory> |
| 82 | |
| 83 | <PreferenceCategory android:title="@string/pref_security_title" |
| 84 | android:layout="@layout/swe_preference_category" |
| 85 | android:key="security"> |
| 86 | |
| 87 | <PreferenceScreen android:title="@string/pref_privacy_security_title" |
| 88 | android:summary="@string/pref_privacy_security_title_summary" |
| 89 | android:layout="@layout/swe_preference" |
| 90 | android:key="privacy_security" /> |
| 91 | |
| 92 | <PreferenceScreen android:title="@string/pref_content_title" |
| 93 | android:summary="@string/pref_content_title_summary" |
| 94 | android:layout="@layout/swe_preference" |
| 95 | android:key="content_settings" /> |
| 96 | |
| 97 | </PreferenceCategory> |
| 98 | |
| 99 | <PreferenceCategory android:title="@string/pref_extras_title" |
| 100 | android:layout="@layout/swe_preference_category" |
| 101 | android:key="advanced"> |
| 102 | |
| 103 | <SwitchPreference |
| 104 | android:layout="@layout/swe_preference" |
| 105 | android:defaultValue="false" |
| 106 | android:key="powersave_enabled" |
| 107 | android:summary="@string/pref_powersave_enabled_summary" |
| 108 | android:title="@string/pref_powersave_enabled" /> |
| 109 | |
| 110 | <PreferenceScreen |
| 111 | android:layout="@layout/swe_preference" |
| 112 | android:key="accessibility_menu" |
| 113 | android:summary="@string/pref_accessibility_title_summary" |
| 114 | android:title="@string/pref_accessibility_title"/> |
| 115 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 116 | <com.android.browser.BrowserYesNoPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 117 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 118 | android:key="reset_default_preferences" |
| 119 | android:title="@string/pref_extras_reset_default" |
| 120 | android:summary="@string/pref_extras_reset_default_summary" |
Pankaj Garg | 8a9eba6 | 2015-07-28 09:37:48 -0700 | [diff] [blame] | 121 | app:neutralButtonText="@string/website_settings_clear_all" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 122 | android:dialogMessage="@string/pref_extras_reset_default_dlg" |
| 123 | android:dialogIcon="@android:drawable/ic_dialog_alert" /> |
| 124 | |
| 125 | <PreferenceScreen |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 126 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 127 | android:key="debug_menu" |
| 128 | android:title="@string/pref_development_title" /> |
| 129 | </PreferenceCategory> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 130 | </PreferenceScreen> |