| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2013 The OmniROM 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/>. |
| --> |
| <!-- Copyright (C) 2012 The CyanogenMod Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> |
| |
| <PreferenceCategory |
| android:key="button_volume_keys" |
| android:title="@string/button_volume_keys_title" > |
| |
| <CheckBoxPreference |
| android:key="button_volume_wake_screen" |
| android:title="@string/button_volume_wake_title" |
| android:summary="@string/button_volume_wake_summary" |
| android:persistent="false" |
| android:disableDependentsState="true" /> |
| |
| <!--<ListPreference |
| android:key="button_volume_default_screen" |
| android:title="@string/button_volume_default_title" |
| android:summary="@string/button_volume_default_summary" |
| android:entries="@array/button_volume_default_entries" |
| android:entryValues="@array/button_volume_default_values" |
| android:persistent="false"/>--> |
| |
| <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
| android:key="volume_button_music_control" |
| android:title="@string/volume_button_music_control_title" |
| android:summary="@string/volume_button_music_control_summary" |
| android:dependency="button_volume_wake_screen"/> |
| |
| <!-- <ListPreference |
| android:key="volume_key_cursor_control" |
| android:persistent="false" |
| android:dialogTitle="@string/volume_key_cursor_control_title" |
| android:title="@string/volume_key_cursor_control_title" |
| android:entries="@array/volume_key_cursor_control_entries" |
| android:entryValues="@array/volume_key_cursor_control_values" /> --> |
| |
| <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
| android:key="swap_volume_buttons" |
| android:title="@string/swap_volume_buttons_title" |
| android:summary="@string/swap_volume_buttons_summary" /> |
| |
| <org.omnirom.omnigears.preference.SystemCheckBoxPreference |
| android:key="volume_button_force_media" |
| android:title="@string/volume_button_force_media_title" |
| android:summary="@string/volume_button_force_media_summary" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="button_keys" |
| android:title="@string/button_keys_title" > |
| |
| <SwitchPreference |
| android:key="navigation_bar_show" |
| android:title="@string/navigation_bar_show_title" |
| android:summary="@string/navigation_bar_show_summary" |
| android:persistent="false" /> |
| <SwitchPreference |
| android:key="hardware_keys_disable" |
| android:title="@string/hardware_keys_disable_title" |
| android:summary="@string/hardware_keys_disable_summary" |
| android:persistent="false" |
| android:dependency="navigation_bar_show"/> |
| <!-- |
| <CheckBoxPreference |
| android:key="virtual_key_haptic_feedback" |
| android:title="@string/virtual_key_haptic_feedback_title" |
| android:summary="@string/virtual_key_haptic_feedback_summary" |
| android:persistent="false"/> |
| |
| <CheckBoxPreference |
| android:key="force_show_overflow_menu" |
| android:title="@string/force_show_overflow_menu_title" |
| android:summary="@string/force_show_overflow_menu_summary" |
| android:persistent="false"/>--> |
| |
| <PreferenceScreen |
| android:key="button_brightness" |
| android:title="@string/button_backlight_title" |
| android:fragment="org.omnirom.omnigears.ButtonBrightnessSettings" /> |
| |
| <!--<SwitchPreference |
| android:key="keys_enable_custom" |
| android:title="@string/keys_enable_custom_title" |
| android:persistent="false" />--> |
| |
| </PreferenceCategory> |
| <!-- |
| <PreferenceCategory |
| android:key="button_keys_back" |
| android:title="@string/button_keys_back_title" > |
| |
| <ListPreference |
| android:key="keys_back_press" |
| android:dialogTitle="@string/keys_back_press_title" |
| android:title="@string/keys_action_normal" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_back_long_press" |
| android:dialogTitle="@string/keys_back_long_press_title" |
| android:title="@string/keys_action_long" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="button_keys_home" |
| android:title="@string/button_keys_home_title"> |
| |
| <ListPreference |
| android:key="keys_home_press" |
| android:dialogTitle="@string/keys_home_press_title" |
| android:title="@string/keys_action_normal" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_home_long_press" |
| android:dialogTitle="@string/keys_home_long_press_title" |
| android:title="@string/keys_action_long" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_home_double_tap" |
| android:dialogTitle="@string/keys_home_double_tap_title" |
| android:title="@string/keys_action_double" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <CheckBoxPreference |
| android:key="button_home_wake_screen" |
| android:title="@string/button_home_wake_title" |
| android:summary="@string/button_home_wake_summary" |
| android:persistent="false"/> |
| |
| <CheckBoxPreference |
| android:key="button_home_answers_call" |
| android:title="@string/button_home_answers_call_title" |
| android:summary="@string/button_home_answers_call_summary" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="button_keys_menu" |
| android:title="@string/button_keys_menu_title"> |
| |
| <ListPreference |
| android:key="keys_menu_press" |
| android:dialogTitle="@string/keys_menu_press_title" |
| android:title="@string/keys_action_normal" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_menu_long_press" |
| android:dialogTitle="@string/keys_menu_long_press_title" |
| android:title="@string/keys_action_long" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="button_keys_assist" |
| android:title="@string/button_keys_assist_title"> |
| |
| <ListPreference |
| android:key="keys_assist_press" |
| android:dialogTitle="@string/keys_assist_press_title" |
| android:title="@string/keys_action_normal" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_assist_long_press" |
| android:dialogTitle="@string/keys_assist_long_press_title" |
| android:title="@string/keys_action_long" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="button_keys_appSwitch" |
| android:title="@string/button_keys_appSwitch_title"> |
| |
| <ListPreference |
| android:key="keys_app_switch_press" |
| android:dialogTitle="@string/keys_app_switch_press_title" |
| android:title="@string/keys_action_normal" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| |
| <ListPreference |
| android:key="keys_app_switch_long_press" |
| android:dialogTitle="@string/keys_app_switch_long_press_title" |
| android:title="@string/keys_action_long" |
| android:entries="@array/keys_action_entries" |
| android:entryValues="@array/keys_action_values" |
| android:persistent="false" |
| android:dependency="keys_enable_custom" /> |
| </PreferenceCategory> |
| --> |
| <PreferenceCategory |
| android:key="button_other" |
| android:title="@string/button_other_title" > |
| <ListPreference |
| android:key="navbar_recents_style" |
| android:title="@string/navbar_recents_style_title" |
| android:entries="@array/navbar_recents_style_entries" |
| android:entryValues="@array/navbar_recents_style_values" |
| android:persistent="false"/> |
| |
| <ListPreference |
| android:key="long_press_recents_action" |
| android:title="@string/long_press_recents_action_title" |
| android:entries="@array/long_press_recents_action_entries" |
| android:entryValues="@array/long_press_recents_action_values" |
| android:persistent="false"/> |
| |
| <ListPreference |
| android:key="long_press_home_action" |
| android:title="@string/long_press_home_action_title" |
| android:entries="@array/long_press_home_action_entries" |
| android:entryValues="@array/long_press_home_action_values" |
| android:persistent="false"/> |
| |
| <org.omnirom.omnigears.preference.SystemSettingSwitchPreference |
| android:key="button_back_kill_enable" |
| android:title="@string/button_back_kill_enable_title" |
| android:summary="@string/button_back_kill_enable_summary" |
| android:defaultValue="false"/> |
| |
| <ListPreference |
| android:key="button_back_kill_timeout" |
| android:title="@string/button_back_kill_timeout_title" |
| android:entries="@array/button_back_kill_timeout_entries" |
| android:entryValues="@array/button_back_kill_timeout_values" |
| android:persistent="false" |
| android:dependency="button_back_kill_enable"/> |
| |
| <PreferenceScreen |
| android:key="global_actions" |
| android:title="@string/global_actions_title" |
| android:summary="@string/global_actions_summary" |
| android:fragment="org.omnirom.omnigears.interfacesettings.GlobalActionsSettings" /> |
| |
| </PreferenceCategory> |
| |
| <!-- <PreferenceCategory |
| android:key="button_headsethook" |
| android:title="@string/button_headsethook_title" > |
| |
| <CheckBoxPreference |
| android:key="button_headsethook_launch_voice" |
| android:title="@string/button_headsethook_launch_voice_title" |
| android:summary="@string/button_headsethook_launch_voice_summary" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| --> |
| </PreferenceScreen> |