Home | History | Annotate | Download | only in xml
      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         <PreferenceScreen
     37                 android:key="wallpaper"
     38                 android:title="@string/wallpaper_settings_title"
     39                 settings:keywords="@string/keywords_display_wallpaper"
     40                 android:fragment="com.android.settings.WallpaperTypeSettings" />
     41 
     42         <ListPreference
     43                 android:key="screen_timeout"
     44                 android:title="@string/screen_timeout"
     45                 android:summary="@string/screen_timeout_summary"
     46                 android:persistent="false"
     47                 android:entries="@array/screen_timeout_entries"
     48                 android:entryValues="@array/screen_timeout_values" />
     49 
     50         <PreferenceScreen
     51                 android:key="screensaver"
     52                 android:title="@string/screensaver_settings_title"
     53                 android:fragment="com.android.settings.DreamSettings" />
     54 
     55         <SwitchPreference
     56                 android:key="lift_to_wake"
     57                 android:title="@string/lift_to_wake_title"
     58                 android:persistent="false" />
     59 
     60         <SwitchPreference
     61                 android:key="doze"
     62                 android:title="@string/doze_title"
     63                 android:summary="@string/doze_summary"
     64                 android:persistent="false" />
     65 
     66         <com.android.settings.WarnedListPreference
     67                 android:key="font_size"
     68                 android:title="@string/title_font_size"
     69                 settings:keywords="@string/keywords_display_font_size"
     70                 android:summary="@string/summary_font_size"
     71                 android:entries="@array/entries_font_size"
     72                 android:entryValues="@array/entryvalues_font_size"
     73                 android:dialogTitle="@string/dialog_title_font_size" />
     74 
     75         <com.android.settings.notification.DropDownPreference
     76                 android:key="auto_rotate"
     77                 android:title="@string/display_auto_rotate_title" />
     78 
     79         <PreferenceScreen
     80                 android:key="wifi_display"
     81                 android:title="@string/wifi_display_settings_title"
     82                 settings:keywords="@string/keywords_display_cast_screen"
     83                 android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
     84 
     85 </PreferenceScreen>
     86