maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 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" |
maxwen | 0c7e4e2 | 2018-03-09 18:36:45 +0100 | [diff] [blame] | 18 | android:key="rotation_settings" |
| 19 | android:title="@string/display_rotation_title" > |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 20 | |
| 21 | <SwitchPreference |
| 22 | android:key="accelerometer" |
| 23 | android:title="@string/accelerometer_title" |
| 24 | android:persistent="false" /> |
| 25 | |
maxwen | af27e08 | 2017-12-05 13:27:30 +0100 | [diff] [blame] | 26 | <SwitchPreference |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 27 | 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 | |
maxwen | af27e08 | 2017-12-05 13:27:30 +0100 | [diff] [blame] | 36 | <SwitchPreference |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 37 | android:key="display_rotation_0" |
| 38 | android:title="@string/display_rotation_0_title" |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 39 | android:dependency="accelerometer" |
| 40 | android:persistent="false" /> |
| 41 | |
maxwen | af27e08 | 2017-12-05 13:27:30 +0100 | [diff] [blame] | 42 | <SwitchPreference |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 43 | android:key="display_rotation_90" |
| 44 | android:title="@string/display_rotation_90_title" |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 45 | android:dependency="accelerometer" |
| 46 | android:persistent="false" /> |
| 47 | |
maxwen | af27e08 | 2017-12-05 13:27:30 +0100 | [diff] [blame] | 48 | <SwitchPreference |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 49 | android:key="display_rotation_180" |
| 50 | android:title="@string/display_rotation_180_title" |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 51 | android:dependency="accelerometer" |
| 52 | android:persistent="false" /> |
| 53 | |
maxwen | af27e08 | 2017-12-05 13:27:30 +0100 | [diff] [blame] | 54 | <SwitchPreference |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 55 | android:key="display_rotation_270" |
| 56 | android:title="@string/display_rotation_270_title" |
maxwen | 333a188 | 2017-09-16 23:50:56 +0200 | [diff] [blame] | 57 | android:dependency="accelerometer" |
| 58 | android:persistent="false" /> |
| 59 | |
| 60 | </PreferenceScreen> |