1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 22 <PreferenceScreen 23 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" /> 27 </PreferenceScreen> 28 29 <SwitchPreference 30 android:key="auto_brightness" 31 android:title="@string/auto_brightness_title" 32 settings:keywords="@string/keywords_display_auto_brightness" 33 android:summary="@string/auto_brightness_summary" 34 android:persistent="false" /> 35 36 <!-- Hide night mode for now 37 <ListPreference 38 android:key="night_mode" 39 android:title="@string/night_mode_title" 40 settings:keywords="@string/keywords_display_night_mode" 41 android:summary="@string/night_mode_summary" 42 android:persistent="false" 43 android:entries="@array/night_mode_entries" 44 android:entryValues="@array/night_mode_values" /> --> 45 46 <PreferenceScreen 47 android:key="wallpaper" 48 android:title="@string/wallpaper_settings_title" 49 settings:keywords="@string/keywords_display_wallpaper" 50 android:fragment="com.android.settings.WallpaperTypeSettings" /> 51 52 <ListPreference 53 android:key="screen_timeout" 54 android:title="@string/screen_timeout" 55 android:summary="@string/screen_timeout_summary" 56 android:persistent="false" 57 android:entries="@array/screen_timeout_entries" 58 android:entryValues="@array/screen_timeout_values" /> 59 60 <PreferenceScreen 61 android:key="screensaver" 62 android:title="@string/screensaver_settings_title" 63 android:fragment="com.android.settings.DreamSettings" /> 64 65 <SwitchPreference 66 android:key="lift_to_wake" 67 android:title="@string/lift_to_wake_title" 68 android:persistent="false" /> 69 70 <SwitchPreference 71 android:key="doze" 72 android:title="@string/doze_title" 73 android:summary="@string/doze_summary" 74 android:persistent="false" /> 75 76 <SwitchPreference 77 android:key="tap_to_wake" 78 android:title="@string/tap_to_wake" 79 android:summary="@string/tap_to_wake_summary" 80 android:persistent="false" /> 81 82 <com.android.settings.WarnedListPreference 83 android:key="font_size" 84 android:title="@string/title_font_size" 85 settings:keywords="@string/keywords_display_font_size" 86 android:summary="@string/summary_font_size" 87 android:entries="@array/entries_font_size" 88 android:entryValues="@array/entryvalues_font_size" 89 android:dialogTitle="@string/dialog_title_font_size" /> 90 91 <com.android.settings.DropDownPreference 92 android:key="auto_rotate" 93 android:title="@string/display_auto_rotate_title" /> 94 95 <PreferenceScreen 96 android:key="wifi_display" 97 android:title="@string/wifi_display_settings_title" 98 settings:keywords="@string/keywords_display_cast_screen" 99 android:fragment="com.android.settings.wfd.WifiDisplaySettings" /> 100 101 </PreferenceScreen> 102