blob: dd112b3f211a3bba33ceac44042e6ff1fd1de3bf [file] [log] [blame]
maxwenbcf02372017-08-30 16:13:10 +02001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The OmniROM Project
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 -->
maxwenbcf02372017-08-30 16:13:10 +020017<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
19
20 <PreferenceCategory
maxwen58f71942017-08-31 14:37:41 +020021 android:key="button_volume_keys"
22 android:title="@string/button_volume_keys_title" >
23
24 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
25 android:key="swap_volume_buttons"
26 android:title="@string/swap_volume_buttons_title"
27 android:summary="@string/swap_volume_buttons_summary"
28 android:defaultValue="false" />
maxwen2e295d02017-09-17 03:21:08 +020029
30 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
31 android:key="volume_button_force_media"
32 android:title="@string/volume_button_force_media_title"
33 android:summary="@string/volume_button_force_media_summary"
34 android:defaultValue="false" />
35
maxwen2e217ee2017-09-23 14:18:04 +020036 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
Marko Man148df282017-10-02 11:33:12 +020037 android:key="volume_button_wake"
maxwen2e217ee2017-09-23 14:18:04 +020038 android:title="@string/button_volume_wake_title"
39 android:summary="@string/button_volume_wake_summary"
Marko Man148df282017-10-02 11:33:12 +020040 android:disableDependentsState="true"
maxwen2e217ee2017-09-23 14:18:04 +020041 android:defaultValue="false" />
Marko Man148df282017-10-02 11:33:12 +020042
43 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
44 android:key="volume_button_music_control"
45 android:title="@string/volume_button_music_control_title"
46 android:summary="@string/volume_button_music_control_summary"
47 android:dependency="volume_button_wake"/>
maxwen58f71942017-08-31 14:37:41 +020048 </PreferenceCategory>
49
50 <PreferenceCategory
maxwenc187b682017-09-22 01:12:32 +020051 android:key="button_keys"
52 android:title="@string/button_keys_title" >
53
54 <SwitchPreference
55 android:key="navigation_bar_show"
56 android:title="@string/navigation_bar_show_title"
57 android:summary="@string/navigation_bar_show_summary"
58 android:persistent="false" />
59 <SwitchPreference
60 android:key="hardware_keys_disable"
61 android:title="@string/hardware_keys_disable_title"
62 android:summary="@string/hardware_keys_disable_summary"
63 android:persistent="false"
64 android:dependency="navigation_bar_show"/>
maxwen26ad3b02017-09-22 13:04:26 +020065 <Preference
66 android:key="button_brightness"
67 android:title="@string/button_backlight_title"
68 android:summary="@string/button_backlight_summary"
69 android:persistent="false"
70 android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" />
71
maxwenc187b682017-09-22 01:12:32 +020072 </PreferenceCategory>
73
74 <PreferenceCategory
maxwencc4b2ae2017-08-31 17:08:48 +020075 android:key="button_power"
76 android:title="@string/global_actions_power_title" >
maxwen2e295d02017-09-17 03:21:08 +020077
maxwencc4b2ae2017-08-31 17:08:48 +020078 <Preference
79 android:key="global_actions"
80 android:title="@string/global_actions_title"
81 android:summary="@string/global_actions_summary"
82 android:icon="@drawable/ic_settings_power"
83 android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
84 </PreferenceCategory>
85
86 <PreferenceCategory
maxwenbcf02372017-08-30 16:13:10 +020087 android:key="button_other"
88 android:title="@string/button_other_title" >
maxwen58f71942017-08-31 14:37:41 +020089
maxwenbcf02372017-08-30 16:13:10 +020090 <ListPreference
91 android:key="navbar_recents_style"
92 android:title="@string/navbar_recents_style_title"
93 android:entries="@array/navbar_recents_style_entries"
94 android:entryValues="@array/navbar_recents_style_values"
95 android:persistent="false"/>
96 <ListPreference
97 android:key="long_press_recents_action"
98 android:title="@string/long_press_recents_action_title"
99 android:entries="@array/long_press_recents_action_entries"
100 android:entryValues="@array/long_press_recents_action_values"
101 android:persistent="false"/>
maxwencc4b2ae2017-08-31 17:08:48 +0200102 <ListPreference
103 android:key="long_press_home_action"
104 android:title="@string/long_press_home_action_title"
105 android:entries="@array/long_press_home_action_entries"
106 android:entryValues="@array/long_press_home_action_values"
107 android:persistent="false"/>
maxwenbcf02372017-08-30 16:13:10 +0200108 </PreferenceCategory>
maxwencc4b2ae2017-08-31 17:08:48 +0200109
maxwenbcf02372017-08-30 16:13:10 +0200110</PreferenceScreen>