diff options
| author | Jules Aguillon | 2021-05-09 00:09:10 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2021-05-09 00:09:10 +0200 |
| commit | 7a3312fd01ef2bf48b146677766f7ea4b036b7df (patch) | |
| tree | ff3493147ee33d36c82937fb570230200e6ea50c /res/xml/settings.xml | |
| parent | ebfb8f3b3916d7735e67562931b571dacb86a6d9 (diff) | |
| download | unexpected-keyboard-7a3312fd01ef2bf48b146677766f7ea4b036b7df.tar.gz unexpected-keyboard-7a3312fd01ef2bf48b146677766f7ea4b036b7df.zip | |
Add the accents preference
This replaces the "disable accent keys" checkbox.
The default should work for anyone: Accents will be hidden unless the
user has the french language installed.
The value "show every accents" is useful for versions of android that
don't have subtypes.
Diffstat (limited to 'res/xml/settings.xml')
| -rw-r--r-- | res/xml/settings.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml index f943557..2366d4e 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -9,12 +9,13 @@ android:entries="@array/pref_layout_entries" android:entryValues="@array/pref_layout_values" /> /> - <CheckBoxPreference - android:key="disable_accent_keys" - android:title="@string/pref_disable_accent_keys_title" - android:summary="@string/pref_disable_accent_keys_summary" - android:defaultValue="false" - /> + <ListPreference + android:key="accents" + android:title="@string/pref_accents_title" + android:summary="@string/pref_accents_summary" + android:defaultValue="@string/pref_accents_default" + android:entries="@array/pref_accents_entries" + android:entryValues="@array/pref_accents_values" /> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_category_typing"> <juloo.common.SlideBarPreference |
