diff options
| author | Jules Aguillon | 2023-07-18 00:31:32 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2023-07-19 23:30:58 +0200 |
| commit | 458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c (patch) | |
| tree | 7e4bd6dd451f13071fd85ebecb984388c236fd39 /res/xml | |
| parent | 324aa26ba4d062edcbbecab9de2f0a8f2c3c8dfc (diff) | |
| download | unexpected-keyboard-458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c.tar.gz unexpected-keyboard-458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c.zip | |
Add custom extra keys preference
This is a new section in the extra keys option that allows to enter
arbitrary strings which are then added to the keyboard.
A new string is needed for the title of the section, Android's icons and
strings are used as much as possible to avoid adding more strings.
Keys are stored in the preferences as a JSON array of strings.
Diffstat (limited to 'res/xml')
| -rw-r--r-- | res/xml/settings.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 0b85487..8a8c8d7 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -7,6 +7,7 @@ <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"/> <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"/> |
