OSDN Git Service

Merge "Refactor settings hierarchy and clump all volumes in one dialog."
[android-x86/packages-apps-Settings.git] / res / xml / display_settings.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         android:title="@string/display_settings"
19         xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
20
21         <com.android.settings.BrightnessPreference
22                 android:key="brightness"
23                 android:title="@string/brightness"
24                 android:dialogIcon="@drawable/ic_popup_brightness"
25                 android:dialogTitle="@string/brightness" />
26
27         <CheckBoxPreference
28             android:key="accelerometer"
29             android:title="@string/accelerometer_title"/>
30
31         <ListPreference
32             android:key="animations"
33             android:title="@string/animations_title"
34             android:persistent="false"
35             android:entries="@array/animations_entries"
36             android:entryValues="@array/animations_values" />
37
38         <ListPreference
39                 android:key="screen_timeout"
40                 android:title="@string/screen_timeout"
41                 android:summary="@string/screen_timeout_summary"
42                 android:persistent="false"
43                 android:entries="@array/screen_timeout_entries"
44                 android:entryValues="@array/screen_timeout_values" />
45 </PreferenceScreen>