blob: 65af3d60b957afbad761d11d902175a5c9ff336e [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 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 android:key="button_settings"
20 android:title="@string/button_settings_title" >
maxwenbcf02372017-08-30 16:13:10 +020021
22 <PreferenceCategory
maxwen58f71942017-08-31 14:37:41 +020023 android:key="button_volume_keys"
24 android:title="@string/button_volume_keys_title" >
25
26 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
27 android:key="swap_volume_buttons"
28 android:title="@string/swap_volume_buttons_title"
29 android:summary="@string/swap_volume_buttons_summary"
30 android:defaultValue="false" />
maxwen2e295d02017-09-17 03:21:08 +020031
32 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
33 android:key="volume_button_force_media"
34 android:title="@string/volume_button_force_media_title"
35 android:summary="@string/volume_button_force_media_summary"
36 android:defaultValue="false" />
37
maxwen2e217ee2017-09-23 14:18:04 +020038 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
Marko Man148df282017-10-02 11:33:12 +020039 android:key="volume_button_wake"
maxwen2e217ee2017-09-23 14:18:04 +020040 android:title="@string/button_volume_wake_title"
41 android:summary="@string/button_volume_wake_summary"
Marko Man148df282017-10-02 11:33:12 +020042 android:disableDependentsState="true"
maxwen2e217ee2017-09-23 14:18:04 +020043 android:defaultValue="false" />
Marko Man148df282017-10-02 11:33:12 +020044
45 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
46 android:key="volume_button_music_control"
47 android:title="@string/volume_button_music_control_title"
48 android:summary="@string/volume_button_music_control_summary"
maxwen2b7b82b2017-10-20 13:55:11 +020049 android:dependency="volume_button_wake"
50 android:defaultValue="false" />
maxwen58f71942017-08-31 14:37:41 +020051 </PreferenceCategory>
52
53 <PreferenceCategory
maxwenc187b682017-09-22 01:12:32 +020054 android:key="button_keys"
55 android:title="@string/button_keys_title" >
56
57 <SwitchPreference
58 android:key="navigation_bar_show"
59 android:title="@string/navigation_bar_show_title"
60 android:summary="@string/navigation_bar_show_summary"
61 android:persistent="false" />
62 <SwitchPreference
63 android:key="hardware_keys_disable"
64 android:title="@string/hardware_keys_disable_title"
65 android:summary="@string/hardware_keys_disable_summary"
66 android:persistent="false"
67 android:dependency="navigation_bar_show"/>
maxwen26ad3b02017-09-22 13:04:26 +020068 <Preference
69 android:key="button_brightness"
70 android:title="@string/button_backlight_title"
71 android:summary="@string/button_backlight_summary"
72 android:persistent="false"
73 android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" />
74
maxwenc187b682017-09-22 01:12:32 +020075 </PreferenceCategory>
76
77 <PreferenceCategory
maxwencc4b2ae2017-08-31 17:08:48 +020078 android:key="button_power"
79 android:title="@string/global_actions_power_title" >
maxwen2e295d02017-09-17 03:21:08 +020080
maxwencc4b2ae2017-08-31 17:08:48 +020081 <Preference
82 android:key="global_actions"
83 android:title="@string/global_actions_title"
84 android:summary="@string/global_actions_summary"
85 android:icon="@drawable/ic_settings_power"
86 android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
87 </PreferenceCategory>
88
89 <PreferenceCategory
maxwenbcf02372017-08-30 16:13:10 +020090 android:key="button_other"
91 android:title="@string/button_other_title" >
maxwen58f71942017-08-31 14:37:41 +020092
maxwenbcf02372017-08-30 16:13:10 +020093 <ListPreference
94 android:key="navbar_recents_style"
95 android:title="@string/navbar_recents_style_title"
96 android:entries="@array/navbar_recents_style_entries"
97 android:entryValues="@array/navbar_recents_style_values"
98 android:persistent="false"/>
Marko Mana5397012016-10-21 12:49:53 +020099
maxwenbcf02372017-08-30 16:13:10 +0200100 <ListPreference
101 android:key="long_press_recents_action"
102 android:title="@string/long_press_recents_action_title"
103 android:entries="@array/long_press_recents_action_entries"
104 android:entryValues="@array/long_press_recents_action_values"
105 android:persistent="false"/>
maxwencc4b2ae2017-08-31 17:08:48 +0200106 <ListPreference
107 android:key="long_press_home_action"
108 android:title="@string/long_press_home_action_title"
109 android:entries="@array/long_press_home_action_entries"
110 android:entryValues="@array/long_press_home_action_values"
111 android:persistent="false"/>
maxwen914df5f2018-01-03 01:16:10 +0100112 <ListPreference
113 android:key="double_press_home_action"
114 android:title="@string/double_press_home_action_title"
115 android:entries="@array/long_press_home_action_entries"
116 android:entryValues="@array/long_press_home_action_values"
117 android:persistent="false"/>
Marko Mana5397012016-10-21 12:49:53 +0200118
119 <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
120 android:key="button_back_kill_enable"
121 android:title="@string/button_back_kill_enable_title"
122 android:summary="@string/button_back_kill_enable_summary"
123 android:defaultValue="false"/>
124
125 <ListPreference
126 android:key="button_back_kill_timeout"
127 android:title="@string/button_back_kill_timeout_title"
128 android:entries="@array/button_back_kill_timeout_entries"
129 android:entryValues="@array/button_back_kill_timeout_values"
130 android:defaultValue="1500"
131 android:persistent="false"
132 android:dependency="button_back_kill_enable"/>
133
beanstown10649f26462017-09-23 16:33:19 +0800134 <SwitchPreference
135 android:key="fingerprint_success_vib"
136 android:title="@string/fprint_sucess_vib_title"
137 android:summary="@string/fprint_sucess_vib_summary"
138 android:persistent="false" />
139
maxwenbcf02372017-08-30 16:13:10 +0200140 </PreferenceCategory>
maxwencc4b2ae2017-08-31 17:08:48 +0200141
maxwenbcf02372017-08-30 16:13:10 +0200142</PreferenceScreen>