| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2008 The Android Open Source 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" |
| android:key="button_settings" |
| android:title="@string/button_pref_title"> |
| |
| <SwitchPreference |
| android:key="disable_nav_keys" |
| android:title="@string/disable_navkeys_title" |
| android:summary="@string/disable_navkeys_summary" |
| android:defaultValue="false" /> |
| |
| <org.cyanogenmod.cmparts.input.ButtonBacklightBrightness |
| android:key="button_backlight" |
| android:title="@string/button_backlight_title" |
| android:dialogTitle="@string/button_backlight_title" |
| android:persistent="false" /> |
| |
| <PreferenceCategory |
| android:key="navigation_bar_category" |
| android:title="@string/navigation_bar_category" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="navigation_bar_left" |
| android:title="@string/navigation_bar_left_title" |
| android:summary="@string/navigation_bar_left_summary" |
| android:defaultValue="false" /> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="navigation_bar_menu_arrow_keys" |
| android:title="@string/navigation_bar_arrow_keys_title" |
| android:summary="@string/navigation_bar_arrow_keys_summary" |
| android:defaultValue="false" /> |
| |
| <PreferenceScreen |
| android:key="navigation_bar" |
| android:title="@string/navigation_bar_title"> |
| <intent android:action="com.android.settings.action.NAV_BAR_TUNER" /> |
| </PreferenceScreen> |
| |
| <ListPreference |
| android:key="navigation_recents_long_press" |
| android:dialogTitle="@string/navigation_bar_recents_title" |
| android:title="@string/navigation_bar_recents_title" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="power_key" |
| android:title="@string/hardware_keys_power_key_title" > |
| |
| <PreferenceScreen |
| android:key="power_menu" |
| android:title="@string/power_menu_title" |
| android:fragment="org.cyanogenmod.cmparts.input.PowerMenuActions" /> |
| |
| <SwitchPreference |
| android:key="power_end_call" |
| android:title="@string/power_end_call_title" |
| android:summary="@string/power_end_call_summary" |
| android:persistent="false"/> |
| |
| <SwitchPreference |
| android:key="camera_double_tap_power_gesture" |
| android:title="@string/camera_double_tap_power_gesture_title" |
| android:summary="@string/camera_double_tap_power_gesture_desc" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="home_key" |
| android:title="@string/hardware_keys_home_key_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="home_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="true" /> |
| |
| <SwitchPreference |
| android:key="home_answer_call" |
| android:title="@string/home_answer_call_title" |
| android:summary="@string/home_answer_call_summary" |
| android:persistent="false"/> |
| |
| <ListPreference |
| android:key="hardware_keys_home_long_press" |
| android:dialogTitle="@string/hardware_keys_long_press_title" |
| android:title="@string/hardware_keys_long_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_home_double_tap" |
| android:dialogTitle="@string/hardware_keys_double_tap_title" |
| android:title="@string/hardware_keys_double_tap_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="back_key" |
| android:title="@string/hardware_keys_back_key_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="back_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="menu_key" |
| android:title="@string/hardware_keys_menu_key_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="menu_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_menu_press" |
| android:dialogTitle="@string/hardware_keys_short_press_title" |
| android:title="@string/hardware_keys_short_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_menu_long_press" |
| android:dialogTitle="@string/hardware_keys_long_press_title" |
| android:title="@string/hardware_keys_long_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="assist_key" |
| android:title="@string/hardware_keys_assist_key_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="assist_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_assist_press" |
| android:dialogTitle="@string/hardware_keys_short_press_title" |
| android:title="@string/hardware_keys_short_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_assist_long_press" |
| android:dialogTitle="@string/hardware_keys_long_press_title" |
| android:title="@string/hardware_keys_long_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="app_switch_key" |
| android:title="@string/hardware_keys_appswitch_key_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="app_switch_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_app_switch_press" |
| android:dialogTitle="@string/hardware_keys_short_press_title" |
| android:title="@string/hardware_keys_short_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="hardware_keys_app_switch_long_press" |
| android:dialogTitle="@string/hardware_keys_long_press_title" |
| android:title="@string/hardware_keys_long_press_title" |
| android:entries="@array/hardware_keys_action_entries" |
| android:entryValues="@array/hardware_keys_action_values" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="camera_key" |
| android:title="@string/hardware_keys_camera_key_title"> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="camera_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="camera_sleep_on_release" |
| android:title="@string/camera_sleep_on_release_title" |
| android:summary="@string/camera_sleep_on_release_summary" |
| android:defaultValue="false" /> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="camera_launch" |
| android:title="@string/camera_launch_title" |
| android:summary="@string/camera_launch_summary" |
| android:defaultValue="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="volume_keys" |
| android:title="@string/hardware_keys_volume_keys_title" > |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="volume_wake_screen" |
| android:title="@string/button_wake_title" |
| android:defaultValue="false" /> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="volbtn_music_controls" |
| android:title="@string/volbtn_music_controls_title" |
| android:summary="@string/volbtn_music_controls_summary" |
| android:defaultValue="true" /> |
| |
| <cyanogenmod.preference.CMSystemSettingSwitchPreference |
| android:key="volume_keys_control_ring_stream" |
| android:title="@string/volume_keys_control_ring_stream_title" |
| android:summaryOn="@string/volume_keys_control_ring_stream_summary_on" |
| android:summaryOff="@string/volume_keys_control_ring_stream_summary_off" |
| android:defaultValue="true" /> |
| |
| <ListPreference |
| android:key="volume_key_cursor_control" |
| android:dialogTitle="@string/volbtn_cursor_control_title" |
| android:title="@string/volbtn_cursor_control_title" |
| android:entries="@array/volbtn_cursor_control_entries" |
| android:entryValues="@array/volbtn_cursor_control_values" |
| android:persistent="false" /> |
| |
| <SwitchPreference |
| android:key="swap_volume_buttons" |
| android:title="@string/swap_volume_buttons_title" |
| android:summary="@string/swap_volume_buttons_summary" /> |
| </PreferenceCategory> |
| |
| </PreferenceScreen> |