maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 1 | <?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 | --> |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 17 | <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 |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 21 | 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" /> |
maxwen | 2e295d0 | 2017-09-17 03:21:08 +0200 | [diff] [blame] | 29 | |
| 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 | |
maxwen | 2e217ee | 2017-09-23 14:18:04 +0200 | [diff] [blame] | 36 | <org.omnirom.omnigears.preference.SystemSettingSwitchPreference |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame^] | 37 | android:key="volume_button_wake" |
maxwen | 2e217ee | 2017-09-23 14:18:04 +0200 | [diff] [blame] | 38 | android:title="@string/button_volume_wake_title" |
| 39 | android:summary="@string/button_volume_wake_summary" |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame^] | 40 | android:disableDependentsState="true" |
maxwen | 2e217ee | 2017-09-23 14:18:04 +0200 | [diff] [blame] | 41 | android:defaultValue="false" /> |
Marko Man | 148df28 | 2017-10-02 11:33:12 +0200 | [diff] [blame^] | 42 | |
| 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"/> |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 48 | </PreferenceCategory> |
| 49 | |
| 50 | <PreferenceCategory |
maxwen | c187b68 | 2017-09-22 01:12:32 +0200 | [diff] [blame] | 51 | 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"/> |
maxwen | 26ad3b0 | 2017-09-22 13:04:26 +0200 | [diff] [blame] | 65 | <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 | |
maxwen | c187b68 | 2017-09-22 01:12:32 +0200 | [diff] [blame] | 72 | </PreferenceCategory> |
| 73 | |
| 74 | <PreferenceCategory |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 75 | android:key="button_power" |
| 76 | android:title="@string/global_actions_power_title" > |
maxwen | 2e295d0 | 2017-09-17 03:21:08 +0200 | [diff] [blame] | 77 | |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 78 | <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 |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 87 | android:key="button_other" |
| 88 | android:title="@string/button_other_title" > |
maxwen | 58f7194 | 2017-08-31 14:37:41 +0200 | [diff] [blame] | 89 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 90 | <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"/> |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 102 | <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"/> |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 108 | </PreferenceCategory> |
maxwen | cc4b2ae | 2017-08-31 17:08:48 +0200 | [diff] [blame] | 109 | |
maxwen | bcf0237 | 2017-08-30 16:13:10 +0200 | [diff] [blame] | 110 | </PreferenceScreen> |