abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorJules Aguillon2023-02-12 23:20:11 +0100
committerJules Aguillon2023-02-12 23:20:11 +0100
commit0f62b3044c501dc5679583e06447285ebeb31118 (patch)
treecb3cd47834c464cf8884627fe1e350be03fb6b05 /res/xml
parentc46e3b6c619b6af5825161d4960ea4829a44d429 (diff)
downloadunexpected-keyboard-0f62b3044c501dc5679583e06447285ebeb31118.tar.gz
unexpected-keyboard-0f62b3044c501dc5679583e06447285ebeb31118.zip
Option to switch to the previous input method
A new option changes the "change_method" into the new "change_method_prev". It switch to the previously used input method. A long press on "change_method_prev" sends "change_method". A new section is added in the settings and existing options are moved.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/settings.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 1fdb5e6..b1771e3 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -47,11 +47,14 @@
<ListPreference android:key="numpad_layout" android:title="@string/pref_numpad_layout" android:summary="%s" android:defaultValue="high_first" android:entries="@array/pref_numpad_layout_entries" android:entryValues="@array/pref_numpad_layout_values"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_typing">
- <CheckBoxPreference android:key="autocapitalisation" android:title="@string/pref_autocapitalisation_title" android:summary="@string/pref_autocapitalisation_summary" android:defaultValue="true"/>
<ListPreference android:key="swipe_dist" android:title="@string/pref_swipe_dist_title" android:summary="@string/pref_swipe_dist_summary" android:defaultValue="15" android:entries="@array/pref_swipe_dist_entries" android:entryValues="@array/pref_swipe_dist_values"/>
<juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/>
<juloo.common.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="%sms" android:defaultValue="25" min="5" max="100"/>
<CheckBoxPreference android:key="lock_double_tap" android:title="@string/pref_lock_double_tap_title" android:summary="@string/pref_lock_double_tap_summary" android:defaultValue="false"/>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_behavior">
+ <CheckBoxPreference android:key="autocapitalisation" android:title="@string/pref_autocapitalisation_title" android:summary="@string/pref_autocapitalisation_summary" android:defaultValue="true"/>
+ <CheckBoxPreference android:key="switch_input_immediate" android:title="@string/pref_switch_input_immediate_title" android:summary="@string/pref_switch_input_immediate_summary" android:defaultValue="false"/>
<CheckBoxPreference android:key="vibrate_enabled" android:title="@string/pref_vibrate_title" android:summary="@string/pref_vibrate_summary" android:defaultValue="true"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_style">