blob: 9070ec7e6742463a23bcc31b54b644a1db0017e7 [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
maxwen58f71942017-08-31 14:37:41 +020036 </PreferenceCategory>
37
38 <PreferenceCategory
maxwencc4b2ae2017-08-31 17:08:48 +020039 android:key="button_power"
40 android:title="@string/global_actions_power_title" >
maxwen2e295d02017-09-17 03:21:08 +020041
maxwencc4b2ae2017-08-31 17:08:48 +020042 <Preference
43 android:key="global_actions"
44 android:title="@string/global_actions_title"
45 android:summary="@string/global_actions_summary"
46 android:icon="@drawable/ic_settings_power"
47 android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" />
48 </PreferenceCategory>
49
50 <PreferenceCategory
maxwenbcf02372017-08-30 16:13:10 +020051 android:key="button_other"
52 android:title="@string/button_other_title" >
maxwen58f71942017-08-31 14:37:41 +020053
maxwenbcf02372017-08-30 16:13:10 +020054 <ListPreference
55 android:key="navbar_recents_style"
56 android:title="@string/navbar_recents_style_title"
57 android:entries="@array/navbar_recents_style_entries"
58 android:entryValues="@array/navbar_recents_style_values"
59 android:persistent="false"/>
60 <ListPreference
61 android:key="long_press_recents_action"
62 android:title="@string/long_press_recents_action_title"
63 android:entries="@array/long_press_recents_action_entries"
64 android:entryValues="@array/long_press_recents_action_values"
65 android:persistent="false"/>
maxwencc4b2ae2017-08-31 17:08:48 +020066 <ListPreference
67 android:key="long_press_home_action"
68 android:title="@string/long_press_home_action_title"
69 android:entries="@array/long_press_home_action_entries"
70 android:entryValues="@array/long_press_home_action_values"
71 android:persistent="false"/>
maxwenbcf02372017-08-30 16:13:10 +020072 </PreferenceCategory>
maxwencc4b2ae2017-08-31 17:08:48 +020073
maxwenbcf02372017-08-30 16:13:10 +020074</PreferenceScreen>