blob: 12466d1db877f015be5b826515192e13777d2eb5 [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"
maxwen0c7e4e22018-03-09 18:36:45 +010018 android:key="button_settings"
19 android:title="@string/button_settings_title" >
maxwenbcf02372017-08-30 16:13:10 +020020
21 <PreferenceCategory
maxwen58f71942017-08-31 14:37:41 +020022 android:key="button_volume_keys"
23 android:title="@string/button_volume_keys_title" >
24
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020025 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
maxwen58f71942017-08-31 14:37:41 +020026 android:key="swap_volume_buttons"
27 android:title="@string/swap_volume_buttons_title"
28 android:summary="@string/swap_volume_buttons_summary"
29 android:defaultValue="false" />
maxwen2e295d02017-09-17 03:21:08 +020030
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020031 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
maxwen2e295d02017-09-17 03:21:08 +020032 android:key="volume_button_force_media"
33 android:title="@string/volume_button_force_media_title"
34 android:summary="@string/volume_button_force_media_summary"
35 android:defaultValue="false" />
36
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020037 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
Marko Man148df282017-10-02 11:33:12 +020038 android:key="volume_button_wake"
maxwen2e217ee2017-09-23 14:18:04 +020039 android:title="@string/button_volume_wake_title"
40 android:summary="@string/button_volume_wake_summary"
Marko Man148df282017-10-02 11:33:12 +020041 android:disableDependentsState="true"
maxwen2e217ee2017-09-23 14:18:04 +020042 android:defaultValue="false" />
Marko Man148df282017-10-02 11:33:12 +020043
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020044 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
Marko Man148df282017-10-02 11:33:12 +020045 android:key="volume_button_music_control"
46 android:title="@string/volume_button_music_control_title"
47 android:summary="@string/volume_button_music_control_summary"
maxwen2b7b82b2017-10-20 13:55:11 +020048 android:dependency="volume_button_wake"
49 android:defaultValue="false" />
maxwen58f71942017-08-31 14:37:41 +020050 </PreferenceCategory>
51
52 <PreferenceCategory
maxwenc187b682017-09-22 01:12:32 +020053 android:key="button_keys"
54 android:title="@string/button_keys_title" >
55
56 <SwitchPreference
57 android:key="navigation_bar_show"
58 android:title="@string/navigation_bar_show_title"
59 android:summary="@string/navigation_bar_show_summary"
60 android:persistent="false" />
Vachounete0ec03f2018-07-21 21:09:54 +020061 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
62 android:key="use_bottom_gesture_navigation"
63 android:title="@string/use_bottom_gesture_title"
64 android:summary="@string/use_bottom_gesture_summary"
65 android:defaultValue="false" />
maxwenc187b682017-09-22 01:12:32 +020066 <SwitchPreference
67 android:key="hardware_keys_disable"
68 android:title="@string/hardware_keys_disable_title"
69 android:summary="@string/hardware_keys_disable_summary"
maxwenbf3020e2018-04-03 12:38:33 +020070 android:persistent="false" />
maxwen26ad3b02017-09-22 13:04:26 +020071 <Preference
72 android:key="button_brightness"
73 android:title="@string/button_backlight_title"
74 android:summary="@string/button_backlight_summary"
75 android:persistent="false"
76 android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" />
77
maxwenc187b682017-09-22 01:12:32 +020078 </PreferenceCategory>
79
80 <PreferenceCategory
maxwencc4b2ae2017-08-31 17:08:48 +020081 android:key="button_power"
82 android:title="@string/global_actions_power_title" >
maxwen2e295d02017-09-17 03:21:08 +020083
maxwencc4b2ae2017-08-31 17:08:48 +020084 <Preference
85 android:key="global_actions"
86 android:title="@string/global_actions_title"
87 android:summary="@string/global_actions_summary"
maxwencc4b2ae2017-08-31 17:08:48 +020088 android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
maxwen197a9082018-04-16 16:40:46 +020089
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020090 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
maxwen197a9082018-04-16 16:40:46 +020091 android:key="long_press_power_torch"
92 android:title="@string/long_press_power_torch_title"
93 android:summary="@string/long_press_power_torch_summary"
94 android:defaultValue="false" />
95
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +020096 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
maxwen9b590b22018-05-04 23:32:00 +020097 android:key="system_proxi_check_enabled"
98 android:title="@string/system_proxi_check_enabled_title"
99 android:summary="@string/system_proxi_check_enabled_summary"
100 android:defaultValue="false"/>
101
maxwencc4b2ae2017-08-31 17:08:48 +0200102 </PreferenceCategory>
103
104 <PreferenceCategory
maxwenbcf02372017-08-30 16:13:10 +0200105 android:key="button_other"
106 android:title="@string/button_other_title" >
maxwen58f71942017-08-31 14:37:41 +0200107
maxwenbcf02372017-08-30 16:13:10 +0200108 <ListPreference
109 android:key="navbar_recents_style"
110 android:title="@string/navbar_recents_style_title"
111 android:entries="@array/navbar_recents_style_entries"
112 android:entryValues="@array/navbar_recents_style_values"
113 android:persistent="false"/>
Marko Mana5397012016-10-21 12:49:53 +0200114
maxwenbcf02372017-08-30 16:13:10 +0200115 <ListPreference
116 android:key="long_press_recents_action"
117 android:title="@string/long_press_recents_action_title"
118 android:entries="@array/long_press_recents_action_entries"
119 android:entryValues="@array/long_press_recents_action_values"
120 android:persistent="false"/>
maxwencc4b2ae2017-08-31 17:08:48 +0200121 <ListPreference
122 android:key="long_press_home_action"
123 android:title="@string/long_press_home_action_title"
124 android:entries="@array/long_press_home_action_entries"
125 android:entryValues="@array/long_press_home_action_values"
126 android:persistent="false"/>
maxwen914df5f2018-01-03 01:16:10 +0100127 <ListPreference
128 android:key="double_press_home_action"
129 android:title="@string/double_press_home_action_title"
130 android:entries="@array/long_press_home_action_entries"
131 android:entryValues="@array/long_press_home_action_values"
132 android:persistent="false"/>
Marko Mana5397012016-10-21 12:49:53 +0200133
Juan Ezquerro LLanesefe2ebe2018-05-22 23:14:11 +0200134 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
Marko Mana5397012016-10-21 12:49:53 +0200135 android:key="button_back_kill_enable"
136 android:title="@string/button_back_kill_enable_title"
137 android:summary="@string/button_back_kill_enable_summary"
138 android:defaultValue="false"/>
139
140 <ListPreference
141 android:key="button_back_kill_timeout"
142 android:title="@string/button_back_kill_timeout_title"
143 android:entries="@array/button_back_kill_timeout_entries"
144 android:entryValues="@array/button_back_kill_timeout_values"
145 android:defaultValue="1500"
146 android:persistent="false"
147 android:dependency="button_back_kill_enable"/>
148
beanstown10649f26462017-09-23 16:33:19 +0800149 <SwitchPreference
150 android:key="fingerprint_success_vib"
151 android:title="@string/fprint_sucess_vib_title"
152 android:summary="@string/fprint_sucess_vib_summary"
153 android:persistent="false" />
154
maxwenbcf02372017-08-30 16:13:10 +0200155 </PreferenceCategory>
maxwencc4b2ae2017-08-31 17:08:48 +0200156
maxwenbcf02372017-08-30 16:13:10 +0200157</PreferenceScreen>