blob: 38f0fa4d015c55c97166ddf31056dddb5ff1fd23 [file] [log] [blame]
maxwen333a1882017-09-16 23:50:56 +02001<?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"
maxwen0c7e4e22018-03-09 18:36:45 +010018 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 android:key="rotation_settings"
20 android:title="@string/display_rotation_title" >
maxwen333a1882017-09-16 23:50:56 +020021
22 <SwitchPreference
23 android:key="accelerometer"
24 android:title="@string/accelerometer_title"
25 android:persistent="false" />
26
maxwenaf27e082017-12-05 13:27:30 +010027 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020028 android:key="lockscreen_rotation"
29 android:title="@string/display_lockscreen_rotation_title"
30 android:dependency="accelerometer"
31 android:persistent="false" />
32
33 <PreferenceCategory
34 android:key="display_rotation_category"
35 android:title="@string/display_rotation_category_title" />
36
maxwenaf27e082017-12-05 13:27:30 +010037 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020038 android:key="display_rotation_0"
39 android:title="@string/display_rotation_0_title"
40 android:layout="?android:attr/preferenceLayoutChild"
41 android:dependency="accelerometer"
42 android:persistent="false" />
43
maxwenaf27e082017-12-05 13:27:30 +010044 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020045 android:key="display_rotation_90"
46 android:title="@string/display_rotation_90_title"
47 android:layout="?android:attr/preferenceLayoutChild"
48 android:dependency="accelerometer"
49 android:persistent="false" />
50
maxwenaf27e082017-12-05 13:27:30 +010051 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020052 android:key="display_rotation_180"
53 android:title="@string/display_rotation_180_title"
54 android:layout="?android:attr/preferenceLayoutChild"
55 android:dependency="accelerometer"
56 android:persistent="false" />
57
maxwenaf27e082017-12-05 13:27:30 +010058 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020059 android:key="display_rotation_270"
60 android:title="@string/display_rotation_270_title"
61 android:layout="?android:attr/preferenceLayoutChild"
62 android:dependency="accelerometer"
63 android:persistent="false" />
64
65</PreferenceScreen>