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