blob: 5e03c90936d8571bafb70ac7e7a9938ffe75f773 [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 android:key="rotation_settings"
19 android:title="@string/display_rotation_title" >
maxwen333a1882017-09-16 23:50:56 +020020
21 <SwitchPreference
22 android:key="accelerometer"
23 android:title="@string/accelerometer_title"
24 android:persistent="false" />
25
maxwenaf27e082017-12-05 13:27:30 +010026 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020027 android:key="lockscreen_rotation"
28 android:title="@string/display_lockscreen_rotation_title"
29 android:dependency="accelerometer"
30 android:persistent="false" />
31
32 <PreferenceCategory
33 android:key="display_rotation_category"
34 android:title="@string/display_rotation_category_title" />
35
maxwenaf27e082017-12-05 13:27:30 +010036 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020037 android:key="display_rotation_0"
38 android:title="@string/display_rotation_0_title"
maxwen333a1882017-09-16 23:50:56 +020039 android:dependency="accelerometer"
40 android:persistent="false" />
41
maxwenaf27e082017-12-05 13:27:30 +010042 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020043 android:key="display_rotation_90"
44 android:title="@string/display_rotation_90_title"
maxwen333a1882017-09-16 23:50:56 +020045 android:dependency="accelerometer"
46 android:persistent="false" />
47
maxwenaf27e082017-12-05 13:27:30 +010048 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020049 android:key="display_rotation_180"
50 android:title="@string/display_rotation_180_title"
maxwen333a1882017-09-16 23:50:56 +020051 android:dependency="accelerometer"
52 android:persistent="false" />
53
maxwenaf27e082017-12-05 13:27:30 +010054 <SwitchPreference
maxwen333a1882017-09-16 23:50:56 +020055 android:key="display_rotation_270"
56 android:title="@string/display_rotation_270_title"
maxwen333a1882017-09-16 23:50:56 +020057 android:dependency="accelerometer"
58 android:persistent="false" />
59
60</PreferenceScreen>