* added automatic delayed suggestion accept support in ABC mode * fixed: impossible to type a letter in ABC after coming back from preferences, if the same key was pressed before opening them
62 lines
1.8 KiB
XML
62 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
app:orderingFromXml="true">
|
|
|
|
<Preference
|
|
app:fragment="io.github.sspanak.tt9.preferences.HotkeysScreen"
|
|
app:key="screen_hotkeys"
|
|
app:layout="@layout/pref_text"
|
|
app:title="@string/pref_category_function_keys" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:key="pref_upside_down_keys"
|
|
app:layout="@layout/pref_switch"
|
|
app:summary="@string/pref_upside_down_keys_summary"
|
|
app:title="@string/pref_upside_down_keys" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_category_predictive_mode"
|
|
app:layout="@layout/pref_category"
|
|
app:singleLineTitle="true">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:key="auto_space"
|
|
app:layout="@layout/pref_switch"
|
|
app:title="@string/pref_auto_space"
|
|
app:summary="@string/pref_auto_space_summary" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:key="auto_text_case"
|
|
app:layout="@layout/pref_switch"
|
|
app:summary="@string/pref_auto_text_case_summary"
|
|
app:title="@string/pref_auto_text_case" />
|
|
|
|
<DropDownPreference
|
|
app:defaultValue="."
|
|
app:iconSpaceReserved="false"
|
|
app:key="pref_double_zero_char"
|
|
app:layout="@layout/pref_dropdown"
|
|
app:title="@string/pref_double_zero_char" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_category_abc_mode"
|
|
app:layout="@layout/pref_category"
|
|
app:singleLineTitle="true">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:key="abc_auto_accept"
|
|
app:layout="@layout/pref_switch"
|
|
app:summary="@string/pref_abc_auto_accept_summary"
|
|
app:title="@string/pref_abc_auto_accept" />
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|