1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2016 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
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">
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" />
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 android:widgetLayout="@null"
35 settings:widgetLayout="@null"
36 settings:keywords="@string/keywords_display_night_display" />
38 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
40 android:key="auto_brightness"
41 android:title="@string/auto_brightness_title"
42 settings:keywords="@string/keywords_display_auto_brightness"
43 android:summary="@string/auto_brightness_summary" />
45 <com.android.settingslib.RestrictedPreference
46 android:key="wallpaper"
47 android:title="@string/wallpaper_settings_title"
48 settings:keywords="@string/keywords_display_wallpaper"
49 settings:useAdminDisabledSummary="true">
51 android:targetPackage="@string/config_wallpaper_picker_package"
52 android:targetClass="@string/config_wallpaper_picker_class" />
53 </com.android.settingslib.RestrictedPreference>
55 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
56 <com.android.settings.TimeoutListPreference
57 android:key="screen_timeout"
58 android:title="@string/screen_timeout"
59 android:summary="@string/summary_placeholder"
60 android:entries="@array/screen_timeout_entries"
61 android:entryValues="@array/screen_timeout_values" />
64 android:key="auto_rotate"
65 android:title="@string/accelerometer_title" />
68 android:key="color_mode"
69 android:title="@string/color_mode_title"
70 android:fragment="com.android.settings.display.ColorModePreferenceFragment"
71 settings:keywords="@string/keywords_color_mode" />
74 android:key="font_size"
75 android:title="@string/title_font_size"
76 android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
77 settings:keywords="@string/keywords_display_font_size" />
79 <com.android.settings.display.ScreenZoomPreference
80 android:key="screen_zoom"
81 android:title="@string/screen_zoom_title"
82 settings:keywords="@string/screen_zoom_keywords" />
85 android:key="screensaver"
86 android:title="@string/screensaver_settings_title"
87 android:fragment="com.android.settings.dream.DreamSettings" />
89 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
91 android:key="ambient_display"
92 android:title="@string/ambient_display_screen_title"
93 android:fragment="com.android.settings.display.AmbientDisplaySettings" />
95 <!-- Hide night mode for now
97 android:key="night_mode"
98 android:title="@string/night_mode_title"
99 settings:keywords="@string/keywords_display_night_mode"
100 android:summary="@string/night_mode_summary"
101 android:entries="@array/night_mode_entries"
102 android:entryValues="@array/night_mode_values" /> -->
105 android:key="camera_gesture"
106 android:title="@string/camera_gesture_title"
107 android:summary="@string/camera_gesture_desc" />
110 android:key="lift_to_wake"
111 android:title="@string/lift_to_wake_title" />
114 android:key="tap_to_wake"
115 android:title="@string/tap_to_wake"
116 android:summary="@string/tap_to_wake_summary" />
120 android:title="@string/device_theme"
121 android:summary="@string/summary_placeholder" />
124 android:key="vr_display_pref"
125 android:title="@string/display_vr_pref_title"
126 android:fragment="com.android.settings.display.VrDisplayPreferencePicker" />