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 | |
| 17 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> |
| 18 | |
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 | |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 39 | <SwitchPreference |
| 40 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 41 | android:defaultValue="false" |
| 42 | android:key="fullscreen" |
| 43 | android:summary="@string/pref_lab_fullscreen_summary" |
| 44 | android:title="@string/pref_lab_fullscreen" /> |
| 45 | |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 46 | <SwitchPreference |
| 47 | android:layout="@layout/swe_preference" |
Site Mao | abb7bd3 | 2015-03-20 15:34:02 -0700 | [diff] [blame] | 48 | 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 Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 53 | <SwitchPreference |
| 54 | android:layout="@layout/swe_preference" |
Yida Wang | 078425c | 2015-06-02 14:14:06 -0400 | [diff] [blame] | 55 | 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 Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 60 | <SwitchPreference |
| 61 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 62 | android:key="autofill_enabled" |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 63 | android:title="@string/pref_autofill_enabled" |
| 64 | android:summary="@string/pref_autofill_enabled_summary" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 65 | android:defaultValue="true" /> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 66 | |
| 67 | <PreferenceScreen |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 68 | android:layout="@layout/swe_preference" |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 69 | 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 Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 74 | <PreferenceCategory android:title="@string/pref_extras_title" |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 75 | android:layout="@layout/swe_preference_category" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 76 | android:key="advanced"> |
| 77 | |
Pankaj Garg | e230502 | 2015-03-20 14:11:01 -0700 | [diff] [blame] | 78 | <PreferenceScreen android:title="@string/pref_privacy_security_title" |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 79 | android:summary="@string/pref_privacy_security_title_summary" |
| 80 | android:layout="@layout/swe_preference" |
| 81 | android:key="privacy_security" /> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 82 | |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame] | 83 | <PreferenceScreen |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 84 | android:layout="@layout/swe_preference" |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame] | 85 | android:key="accessibility_menu" |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 86 | android:summary="@string/pref_accessibility_title_summary" |
| 87 | android:title="@string/pref_accessibility_title"/> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 88 | |
| 89 | |
Panos Thomas | 4bdb525 | 2014-11-13 16:20:11 -0800 | [diff] [blame] | 90 | <PreferenceScreen android:title="@string/pref_content_title" |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 91 | android:summary="@string/pref_content_title_summary" |
| 92 | android:layout="@layout/swe_preference" |
| 93 | android:key="content_settings" /> |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 94 | |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 95 | <ListPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 96 | android:layout="@layout/swe_preference" |
| 97 | android:widgetLayout="@layout/swe_preference_list_widget" |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 98 | 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 Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 101 | android:summary="%s" |
Pankaj Garg | 1c13cab | 2015-05-12 11:52:17 -0700 | [diff] [blame] | 102 | android:key="edge_swiping_action" |
| 103 | android:title="@string/pref_edge_swipe_title" /> |
| 104 | |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 105 | <com.android.browser.BrowserYesNoPreference |
Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 106 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 107 | 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 Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame^] | 114 | android:layout="@layout/swe_preference" |
Pankaj Garg | b3b5746 | 2014-11-18 17:28:30 -0800 | [diff] [blame] | 115 | android:key="debug_menu" |
| 116 | android:title="@string/pref_development_title" /> |
| 117 | </PreferenceCategory> |
John Reck | 035a564 | 2010-12-21 18:51:27 -0800 | [diff] [blame] | 118 | </PreferenceScreen> |