diff options
-rw-r--r-- | overlay/packages/apps/DU-Tweaks/res/xml/button_settings.xml | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/overlay/packages/apps/DU-Tweaks/res/xml/button_settings.xml b/overlay/packages/apps/DU-Tweaks/res/xml/button_settings.xml new file mode 100644 index 0000000..be7c6df --- /dev/null +++ b/overlay/packages/apps/DU-Tweaks/res/xml/button_settings.xml @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 The Dirty Unicorns Project + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + --> + +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> + + <com.dirtyunicorns.dutweaks.preference.SecureSettingSwitchPreference + android:key="sysui_show_full_zen" + android:title="@string/tuner_full_zen_title" + android:summary="@string/tuner_full_zen_summary" + android:defaultValue="false"/> + + <com.dirtyunicorns.dutweaks.preference.SystemSettingSwitchPreference + android:key="volume_keys_control_media_stream" + android:title="@string/volume_keys_control_media_stream_title" + android:summary="@string/volume_keys_control_media_stream_summary" + android:defaultValue="false" /> + + <SwitchPreference + android:key="swap_volume_buttons" + android:title="@string/swap_volume_buttons_title" + android:summary="@string/swap_volume_buttons_summary" /> + + <SwitchPreference + android:key="volume_rocker_wake" + android:summary="@string/volume_rocker_wake_summary" + android:title="@string/volume_rocker_wake_title" + android:defaultValue="false" + android:disableDependentsState="true" /> + + <SwitchPreference + android:key="volume_rocker_music_controls" + android:summary="@string/volume_rocker_music_controls_summary" + android:title="@string/volume_rocker_music_controls_title" + android:defaultValue="true" + android:dependency="volume_rocker_wake" /> + + <PreferenceCategory + android:key="hardware_keys" + android:title="@string/hardware_keys_category" > + + <SwitchPreference + android:key="hardware_keys_disable" + android:title="@string/hardware_keys_disable_title" /> + + <com.dirtyunicorns.dutweaks.preference.CustomSeekBarPreference + android:key="button_brightness" + android:title="@string/button_brightness_title" + android:max="255" + settings:min="0" + settings:units="" + android:persistent="false" /> + + <ListPreference + android:dialogTitle="@string/backlight_timeout_title" + android:entries="@array/backlight_timeout_entries" + android:entryValues="@array/backlight_timeout_values" + android:key="backlight_timeout" + android:persistent="false" + android:title="@string/backlight_timeout_title" /> + + </PreferenceCategory> + + <PreferenceCategory + android:key="back_key" + android:title="@string/hardware_keys_back_key_title" > + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_back_single_tap" + android:summary="@string/hardware_keys_single_tap_summary" + android:title="@string/hardware_keys_single_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_back_double_tap" + android:summary="@string/hardware_keys_double_tap_summary" + android:title="@string/hardware_keys_double_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + </PreferenceCategory> + + <PreferenceCategory + android:key="home_key" + android:title="@string/hardware_keys_home_key_title" > + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_home_long_press" + android:summary="@string/hardware_keys_long_press_summary" + android:title="@string/hardware_keys_long_press_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + </PreferenceCategory> + + <PreferenceCategory + android:key="app_switch_key" + android:title="@string/hardware_keys_appswitch_key_title" > + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_overview_single_tap" + android:summary="@string/hardware_keys_single_tap_summary" + android:title="@string/hardware_keys_single_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_overview_double_tap" + android:summary="@string/hardware_keys_double_tap_summary" + android:title="@string/hardware_keys_double_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + </PreferenceCategory> + + <PreferenceCategory + android:key="menu_key" + android:title="@string/hardware_keys_menu_key_title" > + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_menu_single_tap" + android:summary="@string/hardware_keys_single_tap_summary" + android:title="@string/hardware_keys_single_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_menu_double_tap" + android:summary="@string/hardware_keys_double_tap_summary" + android:title="@string/hardware_keys_double_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + </PreferenceCategory> + + <PreferenceCategory + android:key="assist_key" + android:title="@string/hardware_keys_assist_key_title" > + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_assist_single_tap" + android:summary="@string/hardware_keys_single_tap_summary" + android:title="@string/hardware_keys_single_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_assist_long_press" + android:summary="@string/hardware_keys_long_press_summary" + android:title="@string/hardware_keys_long_press_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + <com.dirtyunicorns.dutweaks.preference.ActionPreference + android:key="hwkeys_button_assist_double_tap" + android:summary="@string/hardware_keys_double_tap_summary" + android:title="@string/hardware_keys_double_tap_title" > + </com.dirtyunicorns.dutweaks.preference.ActionPreference> + + </PreferenceCategory> + +</PreferenceScreen> |