| <?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" |
| xmlns:hk="http://schemas.android.com/apk/res/org.pocketworkstation.pckeyboard" |
| android:title="@string/english_ime_settings" |
| android:key="english_ime_settings"> |
| |
| <PreferenceCategory |
| android:title="@string/title_keyboard_view_settings" |
| android:key="graphics_settings"> |
| |
| <org.pocketworkstation.pckeyboard.SeekBarPreferenceString |
| android:defaultValue="@string/default_height_portrait" |
| hk:minValue="15" |
| hk:maxValue="75" |
| hk:step="1" |
| hk:displayFormat="%.0f%%" |
| android:key="settings_height_portrait" |
| android:title="@string/title_keyboard_height_portrait" |
| android:persistent="true" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.SeekBarPreferenceString |
| android:defaultValue="@string/default_height_landscape" |
| hk:minValue="15" |
| hk:maxValue="75" |
| hk:step="1" |
| hk:displayFormat="%.0f%%" |
| android:key="settings_height_landscape" |
| android:title="@string/title_keyboard_height_landscape" |
| android:persistent="true" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_keyboard_mode_portrait" |
| android:title="@string/title_keyboard_mode_portrait" |
| android:entryValues="@array/keyboard_mode_values" |
| android:entries="@array/keyboard_mode_entries" |
| android:defaultValue="@string/default_keyboard_mode_portrait" |
| android:persistent="true" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_keyboard_mode_landscape" |
| android:title="@string/title_keyboard_mode_landscape" |
| android:entryValues="@array/keyboard_mode_values" |
| android:entries="@array/keyboard_mode_entries" |
| android:defaultValue="@string/default_keyboard_mode_landscape" |
| android:persistent="true" |
| /> |
| |
| <CheckBoxPreference |
| android:key="suggestions_in_landscape" |
| android:title="@string/title_suggestions_in_landscape" |
| android:persistent="true" |
| android:defaultValue="@bool/default_suggestions_in_landscape" |
| android:summaryOn="@string/summary_suggestions_in_landscape_true" |
| android:summaryOff="@string/summary_suggestions_in_landscape_false" |
| /> |
| |
| <PreferenceScreen |
| android:title="@string/pref_screen_view_title" |
| android:summary="Configure theming and label display"> |
| <intent android:action="org.pocketworkstation.pckeyboard.PREFS_VIEW"/> |
| </PreferenceScreen> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_key_layout_options" |
| android:key="layout_settings"> |
| |
| <ListPreference |
| android:key="settings_key" |
| android:title="@string/prefs_settings_key" |
| android:persistent="true" |
| android:entryValues="@array/settings_key_modes_values" |
| android:entries="@array/settings_key_modes" |
| android:defaultValue="@string/settings_key_mode_auto" |
| /> |
| |
| <ListPreference |
| android:key="voice_mode" |
| android:title="@string/voice_input" |
| android:persistent="true" |
| android:entryValues="@array/voice_input_modes_values" |
| android:entries="@array/voice_input_modes" |
| android:defaultValue="@string/voice_mode_main" |
| /> |
| |
| <PreferenceScreen |
| android:title="@string/language_selection_title" |
| android:summary="@string/language_selection_summary"> |
| <intent |
| android:action="org.pocketworkstation.pckeyboard.INPUT_LANGUAGE_SELECTION"/> |
| </PreferenceScreen> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_key_behavior_settings" |
| android:key="key_settings"> |
| |
| <CheckBoxPreference |
| android:key="auto_cap" |
| android:title="@string/auto_cap" |
| android:persistent="true" |
| android:defaultValue="@bool/default_auto_cap" |
| /> |
| |
| <CheckBoxPreference |
| android:key="pref_caps_lock" |
| android:title="@string/title_caps_lock" |
| android:persistent="true" |
| android:defaultValue="@bool/default_caps_lock" |
| android:summaryOn="@string/summary_caps_lock_true" |
| android:summaryOff="@string/summary_caps_lock_false" |
| /> |
| |
| <CheckBoxPreference |
| android:key="pref_shift_lock_modifiers" |
| android:title="@string/title_shift_lock_modifiers" |
| android:persistent="true" |
| android:defaultValue="@bool/default_shift_lock_modifiers" |
| android:summaryOn="@string/summary_shift_lock_modifiers_true" |
| android:summaryOff="@string/summary_shift_lock_modifiers_false" |
| /> |
| |
| <PreferenceScreen |
| android:title="@string/pref_screen_feedback_title" |
| android:summary="Configure key sound, vibrate, preview popup etc."> |
| <intent |
| android:action="org.pocketworkstation.pckeyboard.PREFS_FEEDBACK"/> |
| </PreferenceScreen> |
| |
| <PreferenceScreen |
| android:title="@string/pref_screen_actions_title" |
| android:summary="Configure actions for swipe gestures and hardware keys"> |
| <intent android:action="org.pocketworkstation.pckeyboard.PREFS_ACTIONS"/> |
| </PreferenceScreen> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_chording_ctrl_key" |
| android:title="@string/title_chording_ctrl_key" |
| android:persistent="true" |
| android:entries="@array/chording_ctrl_key_entries" |
| android:entryValues="@array/chording_ctrl_key_values" |
| android:defaultValue="@string/default_chording_ctrl_key" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_chording_alt_key" |
| android:title="@string/title_chording_alt_key" |
| android:persistent="true" |
| android:entries="@array/chording_alt_key_entries" |
| android:entryValues="@array/chording_alt_key_values" |
| android:defaultValue="@string/default_chording_alt_key" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_slide_keys_int" |
| android:title="@string/title_slide_keys" |
| android:persistent="true" |
| android:entries="@array/slide_keys_entries" |
| android:entryValues="@array/slide_keys_values" |
| android:defaultValue="0" |
| /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_long_press_alternate_keys" |
| android:key="altchar_settings"> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryListPreference |
| android:key="pref_popup_content" |
| android:title="@string/title_popup_content" |
| android:persistent="true" |
| android:entryValues="@array/popup_content_values" |
| android:entries="@array/popup_content_entries" |
| android:defaultValue="@string/default_popup_content" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.SeekBarPreferenceString |
| android:defaultValue="@string/default_long_press_duration" |
| hk:minValue="100" |
| hk:maxValue="2000" |
| hk:logScale="true" |
| hk:displayFormat="%.0f ms" |
| android:key="pref_long_press_duration" |
| android:title="@string/title_long_press_duration" |
| android:persistent="true" |
| /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/prediction_category" |
| android:key="prediction_settings"> |
| |
| <CheckBoxPreference |
| android:key="quick_fixes" |
| android:title="@string/quick_fixes" |
| android:summary="@string/quick_fixes_summary" |
| android:persistent="true" |
| android:defaultValue="@bool/default_quick_fixes" |
| /> |
| |
| <CheckBoxPreference |
| android:key="show_suggestions" |
| android:title="@string/show_suggestions" |
| android:summary="@string/show_suggestions_summary" |
| android:persistent="true" |
| android:defaultValue="@bool/default_suggestions" |
| /> |
| |
| <CheckBoxPreference |
| android:key="auto_complete" |
| android:title="@string/auto_complete" |
| android:summary="@string/auto_complete_summary" |
| android:persistent="true" |
| android:defaultValue="@bool/enable_autocorrect" |
| android:dependency="show_suggestions" |
| /> |
| |
| <org.pocketworkstation.pckeyboard.AutoSummaryEditTextPreference |
| android:key="pref_suggested_punctuation" |
| android:title="@string/title_suggested_punctuation" |
| android:defaultValue="@string/suggested_punctuations" |
| /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_input_mode_settings" |
| android:key="graphics_settings"> |
| |
| <CheckBoxPreference |
| android:key="recorrection_enabled" |
| android:title="@string/prefs_enable_recorrection" |
| android:summary="@string/prefs_enable_recorrection_summary" |
| android:persistent="true" |
| android:defaultValue="@bool/default_recorrection_enabled" |
| /> |
| |
| <CheckBoxPreference |
| android:key="fullscreen_override" |
| android:title="@string/title_fullscreen_override" |
| android:persistent="true" |
| android:defaultValue="@bool/default_fullscreen_override" |
| android:summaryOn="@string/summary_fullscreen_override_true" |
| android:summaryOff="@string/summary_fullscreen_override_false" |
| /> |
| |
| <CheckBoxPreference |
| android:key="force_keyboard_on" |
| android:title="@string/title_force_keyboard_on" |
| android:persistent="true" |
| android:defaultValue="@bool/default_force_keyboard_on" |
| android:summaryOn="@string/summary_force_keyboard_on_true" |
| android:summaryOff="@string/summary_force_keyboard_on_false" |
| /> |
| |
| <CheckBoxPreference |
| android:key="keyboard_notification" |
| android:title="@string/title_keyboard_notification" |
| android:persistent="true" |
| android:defaultValue="@bool/default_keyboard_notification" |
| android:summaryOn="@string/summary_keyboard_notification_true" |
| android:summaryOff="@string/summary_keyboard_notification_false" |
| /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_application_category" |
| android:key="application_settings"> |
| |
| <CheckBoxPreference |
| android:key="connectbot_tab_hack" |
| android:title="@string/title_connectbot_tab_hack" |
| android:persistent="true" |
| android:defaultValue="true" |
| android:summaryOn="@string/summary_connectbot_tab_hack_true" |
| android:summaryOff="@string/summary_connectbot_tab_hack_false" |
| /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/title_debugging" |
| android:key="debugging"> |
| |
| <CheckBoxPreference |
| android:key="pref_touch_pos" |
| android:title="@string/title_touch_pos" |
| android:persistent="true" |
| android:defaultValue="false" |
| android:summaryOn="@string/summary_touch_pos_true" |
| android:summaryOff="@string/summary_touch_pos_false" |
| /> |
| |
| <Preference |
| android:key="input_connection_info" |
| android:title="@string/title_input_connection_details" |
| /> |
| |
| <Preference |
| android:key="label_version" |
| android:title="@string/title_version" |
| android:summary="@string/auto_version" |
| /> |
| </PreferenceCategory> |
| |
| </PreferenceScreen> |