blob: a6efb5c1afe4b438801731d6bdd7153bf10caee9 [file] [log] [blame]
Fan Zhang99abc022016-10-11 14:23:13 -07001<?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
Fan Zhanga0c2c112017-03-23 13:13:36 -070017<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
Fan Zhang823dde52017-10-26 15:56:41 -070020 android:key="display_settings_screen"
Fan Zhanga0c2c112017-03-23 13:13:36 -070021 android:title="@string/display_settings"
Doris Ling8b14a1a2017-08-17 14:45:12 -070022 settings:keywords="@string/keywords_display"
23 settings:initialExpandedChildrenCount="4">
Fan Zhang99abc022016-10-11 14:23:13 -070024
Fan Zhanga0c2c112017-03-23 13:13:36 -070025 <Preference
26 android:key="brightness"
27 android:title="@string/brightness"
28 settings:keywords="@string/keywords_display_brightness_level">
Doris Ling7388f432017-03-27 13:22:19 -070029 <intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG" />
Fan Zhanga0c2c112017-03-23 13:13:36 -070030 </Preference>
Fan Zhang99abc022016-10-11 14:23:13 -070031
Doris Ling11b224e2017-03-31 13:14:03 -070032 <com.android.settings.display.NightDisplayPreference
33 android:key="night_display"
34 android:title="@string/night_display_title"
35 android:fragment="com.android.settings.display.NightDisplaySettings"
Christine Franksce6b4622017-05-16 10:12:23 -070036 android:widgetLayout="@null"
Doris Ling11b224e2017-03-31 13:14:03 -070037 settings:widgetLayout="@null"
38 settings:keywords="@string/keywords_display_night_display" />
39
Andrew Sappersteinfedae392017-07-07 11:02:00 -070040 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
Doris Ling11b224e2017-03-31 13:14:03 -070041 <SwitchPreference
42 android:key="auto_brightness"
43 android:title="@string/auto_brightness_title"
44 settings:keywords="@string/keywords_display_auto_brightness"
45 android:summary="@string/auto_brightness_summary" />
46
Fan Zhanga0c2c112017-03-23 13:13:36 -070047 <com.android.settingslib.RestrictedPreference
48 android:key="wallpaper"
49 android:title="@string/wallpaper_settings_title"
50 settings:keywords="@string/keywords_display_wallpaper"
51 settings:useAdminDisabledSummary="true">
52 <intent
53 android:targetPackage="@string/config_wallpaper_picker_package"
54 android:targetClass="@string/config_wallpaper_picker_class" />
55 </com.android.settingslib.RestrictedPreference>
Fan Zhang99abc022016-10-11 14:23:13 -070056
Andrew Sappersteinfedae392017-07-07 11:02:00 -070057 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
Fan Zhanga0c2c112017-03-23 13:13:36 -070058 <com.android.settings.TimeoutListPreference
59 android:key="screen_timeout"
60 android:title="@string/screen_timeout"
Fan Zhangcdca63c2017-05-05 10:19:52 -070061 android:summary="@string/summary_placeholder"
Fan Zhanga0c2c112017-03-23 13:13:36 -070062 android:entries="@array/screen_timeout_entries"
63 android:entryValues="@array/screen_timeout_values" />
Fan Zhang99abc022016-10-11 14:23:13 -070064
Fan Zhang670410c2017-05-05 17:38:50 -070065 <SwitchPreference
Fan Zhanga0c2c112017-03-23 13:13:36 -070066 android:key="auto_rotate"
Fan Zhang670410c2017-05-05 17:38:50 -070067 android:title="@string/accelerometer_title" />
Fan Zhang99abc022016-10-11 14:23:13 -070068
Romain Guy05fa18f2017-10-24 21:59:40 +010069 <Preference
Romain Guy305f9002017-06-05 18:44:47 -070070 android:key="color_mode"
Romain Guy05fa18f2017-10-24 21:59:40 +010071 android:title="@string/color_mode_title"
72 android:fragment="com.android.settings.display.ColorModePreferenceFragment"
73 settings:keywords="@string/keywords_color_mode" />
Romain Guy305f9002017-06-05 18:44:47 -070074
Fan Zhanga0c2c112017-03-23 13:13:36 -070075 <Preference
76 android:key="font_size"
77 android:title="@string/title_font_size"
78 android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
79 settings:keywords="@string/keywords_display_font_size" />
Fan Zhang99abc022016-10-11 14:23:13 -070080
Fan Zhanga0c2c112017-03-23 13:13:36 -070081 <com.android.settings.display.ScreenZoomPreference
Fan Zhang57ef92a2017-10-27 13:33:48 -070082 android:key="display_settings_screen_zoom"
Fan Zhanga0c2c112017-03-23 13:13:36 -070083 android:title="@string/screen_zoom_title"
Fan Zhang57ef92a2017-10-27 13:33:48 -070084 android:fragment="com.android.settings.display.ScreenZoomSettings"
Fan Zhanga0c2c112017-03-23 13:13:36 -070085 settings:keywords="@string/screen_zoom_keywords" />
Fan Zhang99abc022016-10-11 14:23:13 -070086
Yoshinori Hirano53cfd112017-10-10 13:57:07 +090087 <SwitchPreference
88 android:key="show_operator_name"
89 android:title="@string/show_operator_name_title"
90 android:summary="@string/show_operator_name_summary" />
91
Fan Zhanga0c2c112017-03-23 13:13:36 -070092 <Preference
93 android:key="screensaver"
94 android:title="@string/screensaver_settings_title"
Evan Laird227affa2017-03-22 11:36:18 -040095 android:fragment="com.android.settings.dream.DreamSettings" />
Fan Zhang99abc022016-10-11 14:23:13 -070096
Andrew Sappersteinfedae392017-07-07 11:02:00 -070097 <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml -->
Adrian Roose349ec32017-05-25 15:49:35 -070098 <Preference
99 android:key="ambient_display"
100 android:title="@string/ambient_display_screen_title"
101 android:fragment="com.android.settings.display.AmbientDisplaySettings" />
102
Fan Zhanga0c2c112017-03-23 13:13:36 -0700103 <!-- Hide night mode for now
104 <ListPreference
105 android:key="night_mode"
106 android:title="@string/night_mode_title"
107 settings:keywords="@string/keywords_display_night_mode"
108 android:summary="@string/night_mode_summary"
109 android:entries="@array/night_mode_entries"
110 android:entryValues="@array/night_mode_values" /> -->
Fan Zhang99abc022016-10-11 14:23:13 -0700111
Fan Zhanga0c2c112017-03-23 13:13:36 -0700112 <SwitchPreference
113 android:key="camera_gesture"
114 android:title="@string/camera_gesture_title"
115 android:summary="@string/camera_gesture_desc" />
Fan Zhang99abc022016-10-11 14:23:13 -0700116
Fan Zhanga0c2c112017-03-23 13:13:36 -0700117 <SwitchPreference
118 android:key="lift_to_wake"
119 android:title="@string/lift_to_wake_title" />
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -0700120
Adrian Roos95ff1f42017-05-10 13:26:25 -0700121 <SwitchPreference
Fan Zhanga0c2c112017-03-23 13:13:36 -0700122 android:key="tap_to_wake"
123 android:title="@string/tap_to_wake"
124 android:summary="@string/tap_to_wake_summary" />
Fan Zhang99abc022016-10-11 14:23:13 -0700125
Fan Zhanga0c2c112017-03-23 13:13:36 -0700126 <ListPreference
127 android:key="theme"
128 android:title="@string/device_theme"
Fan Zhang86d4d512017-05-05 09:19:13 -0700129 android:summary="@string/summary_placeholder" />
Jason Monk6324cff2017-01-25 10:34:29 -0500130
Fan Zhanga0c2c112017-03-23 13:13:36 -0700131 <Preference
132 android:key="vr_display_pref"
133 android:title="@string/display_vr_pref_title"
134 android:fragment="com.android.settings.display.VrDisplayPreferencePicker" />
Fan Zhang99abc022016-10-11 14:23:13 -0700135
136</PreferenceScreen>