blob: ca2b0c3c7a57cad457fe8a3bdb073c051bd9a9db [file] [log] [blame]
Joey13020a42020-01-25 16:46:47 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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:shift="http://schemas.android.com/apk/res/shiftos.platform"
19 android:key="button_settings"
20 android:title="@string/button_pref_title">
21
22 <PreferenceCategory
23 android:key="power_key"
24 android:title="@string/hardware_keys_power_key_title" >
25
26 <PreferenceScreen
27 android:key="power_menu"
28 android:title="@string/power_menu_title"
29 android:fragment="com.shiftos.shiftparts.input.PowerMenuActions" />
Joey13020a42020-01-25 16:46:47 +010030 </PreferenceCategory>
31
32 <PreferenceCategory
Joey235d9542020-07-16 10:35:59 +020033 android:key="navigation_bar_category"
34 android:title="@string/navigation_bar_category">
35
36 <shiftos.preference.SecureSettingSwitchPreference
37 android:key="sysui_nav_bar_inverse"
38 android:title="@string/navigation_bar_invert_layout_title"
39 android:defaultValue="false" />
40 </PreferenceCategory>
41
42 <PreferenceCategory
Joey13020a42020-01-25 16:46:47 +010043 android:key="assist_key"
44 android:title="@string/hardware_keys_assist_key_title" >
45
46 <shiftos.preference.ShiftSystemSettingSwitchPreference
47 android:key="assist_wake_screen"
48 android:title="@string/button_wake_title"
49 android:defaultValue="false" />
50
51 <ListPreference
52 android:key="hardware_keys_assist_press"
53 android:dialogTitle="@string/hardware_keys_short_press_title"
54 android:title="@string/hardware_keys_short_press_title"
55 android:entries="@array/hardware_keys_action_entries"
56 android:entryValues="@array/hardware_keys_action_values"
57 android:persistent="false" />
58
59 <ListPreference
60 android:key="hardware_keys_assist_long_press"
61 android:dialogTitle="@string/hardware_keys_long_press_title"
62 android:title="@string/hardware_keys_long_press_title"
63 android:entries="@array/hardware_keys_action_entries"
64 android:entryValues="@array/hardware_keys_action_values"
65 android:persistent="false" />
66
67 </PreferenceCategory>
68
69 <PreferenceCategory
70 android:key="camera_key"
71 android:title="@string/hardware_keys_camera_key_title">
72
73 <shiftos.preference.ShiftSystemSettingSwitchPreference
74 android:key="camera_wake_screen"
75 android:title="@string/button_wake_title"
76 android:defaultValue="false" />
77
78 <shiftos.preference.ShiftSystemSettingSwitchPreference
79 android:key="camera_sleep_on_release"
80 android:title="@string/camera_sleep_on_release_title"
81 android:summary="@string/camera_sleep_on_release_summary"
82 android:defaultValue="false" />
83
84 <shiftos.preference.ShiftSystemSettingSwitchPreference
85 android:key="camera_launch"
86 android:title="@string/camera_launch_title"
87 android:summary="@string/camera_launch_summary"
88 android:defaultValue="false" />
89
90 </PreferenceCategory>
91
92 <PreferenceCategory
93 android:key="volume_keys"
94 android:title="@string/hardware_keys_volume_keys_title" >
95
96 <shiftos.preference.ShiftSystemSettingSwitchPreference
97 android:key="volume_wake_screen"
98 android:title="@string/button_wake_title"
99 android:defaultValue="false" />
100
101 <shiftos.preference.ShiftSystemSettingSwitchPreference
102 android:key="volbtn_music_controls"
103 android:title="@string/volbtn_music_controls_title"
104 android:summary="@string/volbtn_music_controls_summary"
Joey235d9542020-07-16 10:35:59 +0200105 android:defaultValue="false" />
Joey13020a42020-01-25 16:46:47 +0100106 </PreferenceCategory>
107</PreferenceScreen>