blob: b4ab7dfa21e4d0de670d494608014057664c3399 [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
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
Fan Zhangbe2ac272016-10-17 10:16:04 -070022 <Preference
Fan Zhang99abc022016-10-11 14:23:13 -070023 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" />
Fan Zhangbe2ac272016-10-17 10:16:04 -070027 </Preference>
Fan Zhang99abc022016-10-11 14:23:13 -070028
29 <com.android.settingslib.RestrictedPreference
30 android:key="wallpaper"
31 android:title="@string/wallpaper_settings_title"
32 settings:keywords="@string/keywords_display_wallpaper"
33 settings:useAdminDisabledSummary="true" >
34 <intent
35 android:targetPackage="@string/config_wallpaper_picker_package"
36 android:targetClass="@string/config_wallpaper_picker_class" />
37 </com.android.settingslib.RestrictedPreference>
38
39 <com.android.settings.display.NightDisplayPreference
40 android:key="night_display"
41 android:title="@string/night_display_title"
42 android:fragment="com.android.settings.display.NightDisplaySettings"
Fan Zhang829faf62016-12-20 09:48:33 -080043 settings:widgetLayout="@null"
Fan Zhang99abc022016-10-11 14:23:13 -070044 settings:keywords="@string/keywords_display_night_display" />
45
46 <com.android.settings.TimeoutListPreference
47 android:key="screen_timeout"
48 android:title="@string/screen_timeout"
49 android:summary="@string/screen_timeout_summary"
50 android:entries="@array/screen_timeout_entries"
51 android:entryValues="@array/screen_timeout_values" />
52
53 <DropDownPreference
54 android:key="auto_rotate"
55 android:summary="%s"
56 android:title="@string/display_auto_rotate_title" />
57
58 <SwitchPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -070059 android:key="auto_brightness"
60 android:title="@string/auto_brightness_title"
61 settings:keywords="@string/keywords_display_auto_brightness"
62 android:summary="@string/auto_brightness_summary" />
Fan Zhang99abc022016-10-11 14:23:13 -070063
Fan Zhang1c118b52016-12-09 13:04:24 -080064 <Preference
Fan Zhang99abc022016-10-11 14:23:13 -070065 android:key="font_size"
66 android:title="@string/title_font_size"
67 android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
68 settings:keywords="@string/keywords_display_font_size" />
69
70 <com.android.settings.display.ScreenZoomPreference
71 android:key="screen_zoom"
72 android:title="@string/screen_zoom_title"
73 settings:keywords="@string/screen_zoom_keywords" />
74
Fan Zhang1c118b52016-12-09 13:04:24 -080075 <Preference
Fan Zhang99abc022016-10-11 14:23:13 -070076 android:key="screensaver"
77 android:title="@string/screensaver_settings_title"
78 android:fragment="com.android.settings.DreamSettings" />
79
80 <!-- Hide night mode for now
81 <ListPreference
82 android:key="night_mode"
83 android:title="@string/night_mode_title"
84 settings:keywords="@string/keywords_display_night_mode"
85 android:summary="@string/night_mode_summary"
86 android:entries="@array/night_mode_entries"
87 android:entryValues="@array/night_mode_values" /> -->
88
89 <SwitchPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -070090 android:key="camera_gesture"
91 android:title="@string/camera_gesture_title"
92 android:summary="@string/camera_gesture_desc" />
Fan Zhang99abc022016-10-11 14:23:13 -070093
94 <SwitchPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -070095 android:key="lift_to_wake"
96 android:title="@string/lift_to_wake_title" />
97
98 <Preference
99 android:key="gesture_double_tap_screen"
100 android:title="@string/ambient_display_title"
101 android:fragment="com.android.settings.gestures.DoubleTapScreenSettings"/>
102
103 <Preference
104 android:key="gesture_pick_up"
105 android:title="@string/ambient_display_pickup_title"
106 android:fragment="com.android.settings.gestures.PickupGestureSettings"/>
Fan Zhang99abc022016-10-11 14:23:13 -0700107
108 <SwitchPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -0700109 android:key="doze"
110 android:title="@string/doze_title"
111 android:summary="@string/doze_summary" />
Fan Zhang99abc022016-10-11 14:23:13 -0700112
113 <SwitchPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -0700114 android:key="tap_to_wake"
115 android:title="@string/tap_to_wake"
116 android:summary="@string/tap_to_wake_summary" />
Fan Zhang99abc022016-10-11 14:23:13 -0700117
Jason Monk6324cff2017-01-25 10:34:29 -0500118 <ListPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -0700119 android:key="theme"
120 android:title="@string/device_theme"
121 android:summary="%s" />
Jason Monk6324cff2017-01-25 10:34:29 -0500122
Fan Zhang99abc022016-10-11 14:23:13 -0700123 <DropDownPreference
Andrew Sapperstein6138f1a2017-03-22 18:00:47 -0700124 android:key="vr_display_pref"
125 android:summary="%s"
126 android:title="@string/display_vr_pref_title" />
Fan Zhang99abc022016-10-11 14:23:13 -0700127
128</PreferenceScreen>