1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2010 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.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform"
20 android:title="@string/display_settings"
21 settings:keywords="@string/keywords_display">
25 android:title="@string/display_label">
28 android:key="brightness"
29 android:title="@string/brightness"
30 settings:keywords="@string/keywords_display_brightness_level">
31 <intent android:action="android.intent.action.SHOW_BRIGHTNESS_DIALOG" />
35 android:key="auto_brightness"
36 android:title="@string/auto_brightness_title"
37 settings:keywords="@string/keywords_display_auto_brightness"
38 android:summary="@string/auto_brightness_summary" />
41 <org.cyanogenmod.internal.cmparts.CMPartsPreference
42 android:key="livedisplay"
43 cm:requiresFeature="org.cyanogenmod.livedisplay" />
46 <org.cyanogenmod.internal.cmparts.CMPartsPreference
47 android:key="rotation"
48 cm:requiresFeature="android.hardware.sensor.accelerometer" />
50 <!-- Hide night mode for now
52 android:key="night_mode"
53 android:title="@string/night_mode_title"
54 settings:keywords="@string/keywords_display_night_mode"
55 android:summary="@string/night_mode_summary"
56 android:entries="@array/night_mode_entries"
57 android:entryValues="@array/night_mode_values" /> -->
59 <com.android.settingslib.RestrictedPreference
60 android:key="wallpaper"
61 android:title="@string/wallpaper_settings_title"
62 settings:keywords="@string/keywords_display_wallpaper"
63 android:fragment="com.android.settings.WallpaperTypeSettings"
64 settings:useAdminDisabledSummary="true" />
66 <com.android.settings.TimeoutListPreference
67 android:key="screen_timeout"
68 android:title="@string/screen_timeout"
69 android:summary="@string/screen_timeout_summary"
70 android:entries="@array/screen_timeout_entries"
71 android:entryValues="@array/screen_timeout_values" />
74 android:key="camera_gesture"
75 android:title="@string/camera_gesture_title"
76 android:summary="@string/camera_gesture_desc" />
79 android:key="camera_double_tap_power_gesture"
80 android:title="@string/camera_double_tap_power_gesture_title"
81 android:summary="@string/camera_double_tap_power_gesture_desc" />
84 android:key="screensaver"
85 android:title="@string/screensaver_settings_title"
86 android:fragment="com.android.settings.DreamSettings" />
89 android:key="lift_to_wake"
90 android:title="@string/lift_to_wake_title" />
94 android:title="@string/doze_title"
95 android:summary="@string/doze_summary" />
98 android:key="tap_to_wake"
99 android:title="@string/tap_to_wake"
100 android:summary="@string/tap_to_wake_summary" />
103 android:key="font_size"
104 android:title="@string/title_font_size"
105 android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
106 settings:keywords="@string/keywords_display_font_size" />
108 <com.android.settings.display.ScreenZoomPreference
109 android:key="screen_zoom"
110 android:title="@string/screen_zoom_title"
111 settings:keywords="@string/screen_zoom_keywords" />
115 android:key="auto_rotate"
117 android:title="@string/display_auto_rotate_title" />
121 android:key="wifi_display"
122 android:title="@string/wifi_display_settings_title"
123 settings:keywords="@string/keywords_display_cast_screen"
124 android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
127 android:key="vr_display_pref"
129 android:title="@string/display_vr_pref_title" />
131 </PreferenceCategory>
135 android:title="@string/lights_label">
137 <!-- Battery light -->
138 <org.cyanogenmod.internal.cmparts.CMPartsPreference
139 android:key="battery_lights"
140 cm:requiresConfig="@*android:bool/config_intrusiveBatteryLed" />
142 <!-- Notification lights -->
143 <org.cyanogenmod.internal.cmparts.CMPartsPreference
144 android:key="notification_lights"
145 cm:requiresConfig="@*android:bool/config_intrusiveNotificationLed" />
147 </PreferenceCategory>