abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorJules Aguillon2023-07-29 18:31:26 +0200
committerJules Aguillon2023-07-29 18:42:36 +0200
commit0856fb4e31a98b7f14f50006d95c89e23c19503d (patch)
tree1c81fcb97af653d3c3214bd22e11f133d01312f6 /res/xml
parent0a114bd2bc0fabf204190457d671f2a719acf6e9 (diff)
downloadunexpected-keyboard-0856fb4e31a98b7f14f50006d95c89e23c19503d.tar.gz
unexpected-keyboard-0856fb4e31a98b7f14f50006d95c89e23c19503d.zip
Refactor: Split out ListGroupPreference
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/settings.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index d6bf7c3..e21e6a7 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -7,7 +7,9 @@
<ListPreference android:key="show_numpad" android:title="@string/pref_show_numpad_title" android:summary="%s" android:defaultValue="1" android:entries="@array/pref_show_numpad_entries" android:entryValues="@array/pref_show_numpad_values"/>
<CheckBoxPreference android:key="number_row" android:title="@string/pref_number_row_title" android:summary="@string/pref_number_row_summary" android:defaultValue="false"/>
<PreferenceScreen android:title="@string/pref_extra_keys_title">
- <juloo.keyboard2.CustomExtraKeysPreference android:title="@string/pref_extra_keys_custom"/>
+ <PreferenceCategory android:title="@string/pref_extra_keys_custom">
+ <juloo.keyboard2.CustomExtraKeysPreference/>
+ </PreferenceCategory>
<juloo.keyboard2.ExtraKeysPreference android:title="@string/pref_extra_keys_internal"/>
</PreferenceScreen>
<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"/>