1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" 19 android:title="@string/display_settings" 20 settings:keywords="@string/keywords_display"> 21 22 <PreferenceScreen 23 android:key="brightness" 24 android:title="@string/brightness" 25 settings:keywords="@string/keywords_display_brightness_level"> 26 <intent android:action="android.intent.action.SHOW_BRIGHTNESS_DIALOG" /> 27 </PreferenceScreen> 28 29 <SwitchPreference 30 android:key="auto_brightness" 31 android:title="@string/auto_brightness_title" 32 settings:keywords="@string/keywords_display_auto_brightness" 33 android:summary="@string/auto_brightness_summary" /> 34 35 <com.android.settings.display.NightDisplayPreference 36 android:key="night_display" 37 android:title="@string/night_display_title" 38 android:fragment="com.android.settings.display.NightDisplaySettings" 39 android:widgetLayout="@null" 40 settings:keywords="@string/keywords_display_night_display" /> 41 42 <!-- Hide night mode for now 43 <ListPreference 44 android:key="night_mode" 45 android:title="@string/night_mode_title" 46 settings:keywords="@string/keywords_display_night_mode" 47 android:summary="@string/night_mode_summary" 48 android:entries="@array/night_mode_entries" 49 android:entryValues="@array/night_mode_values" /> --> 50 51 <com.android.settingslib.RestrictedPreference 52 android:key="wallpaper" 53 android:title="@string/wallpaper_settings_title" 54 settings:keywords="@string/keywords_display_wallpaper" 55 settings:useAdminDisabledSummary="true" > 56 <intent 57 android:targetPackage="@string/config_wallpaper_picker_package" 58 android:targetClass="@string/config_wallpaper_picker_class" /> 59 </com.android.settingslib.RestrictedPreference> 60 61 <com.android.settings.TimeoutListPreference 62 android:key="screen_timeout" 63 android:title="@string/screen_timeout" 64 android:summary="@string/screen_timeout_summary" 65 android:entries="@array/screen_timeout_entries" 66 android:entryValues="@array/screen_timeout_values" /> 67 68 <SwitchPreference 69 android:key="camera_gesture" 70 android:title="@string/camera_gesture_title" 71 android:summary="@string/camera_gesture_desc" /> 72 73 <PreferenceScreen 74 android:key="screensaver" 75 android:title="@string/screensaver_settings_title" 76 android:fragment="com.android.settings.DreamSettings" /> 77 78 <SwitchPreference 79 android:key="lift_to_wake" 80 android:title="@string/lift_to_wake_title" /> 81 82 <SwitchPreference 83 android:key="doze" 84 android:title="@string/doze_title" 85 android:summary="@string/doze_summary" /> 86 87 <SwitchPreference 88 android:key="tap_to_wake" 89 android:title="@string/tap_to_wake" 90 android:summary="@string/tap_to_wake_summary" /> 91 92 <PreferenceScreen 93 android:key="font_size" 94 android:title="@string/title_font_size" 95 android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment" 96 settings:keywords="@string/keywords_display_font_size" /> 97 98 <com.android.settings.display.ScreenZoomPreference 99 android:key="screen_zoom" 100 android:title="@string/screen_zoom_title" 101 settings:keywords="@string/screen_zoom_keywords" /> 102 103 <DropDownPreference 104 android:key="auto_rotate" 105 android:summary="%s" 106 android:title="@string/display_auto_rotate_title" /> 107 108 <PreferenceScreen 109 android:key="wifi_display" 110 android:title="@string/wifi_display_settings_title" 111 settings:keywords="@string/keywords_display_cast_screen" 112 android:fragment="com.android.settings.wfd.WifiDisplaySettings" /> 113 114 <DropDownPreference 115 android:key="vr_display_pref" 116 android:summary="%s" 117 android:title="@string/display_vr_pref_title" /> 118 119 </PreferenceScreen> 120