abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorJules Aguillon2023-08-10 12:57:31 +0200
committerJules Aguillon2023-08-16 12:21:23 +0200
commit500f4e41d3a72f5865aa489c89ad11b947fa54b7 (patch)
tree677781ff5e82c320456f21e91b8ffa41819fd439 /res/xml
parent8611dbcfa0ef6d551bf3acb65e5a1990a3ced75b (diff)
downloadunexpected-keyboard-500f4e41d3a72f5865aa489c89ad11b947fa54b7.tar.gz
unexpected-keyboard-500f4e41d3a72f5865aa489c89ad11b947fa54b7.zip
Allow multiple custom layouts
This merges the "Layouts" option with the "Custom layout" option. A custom layout becomes an item in the "Layouts" list among the other layouts. It's possible to add several custom layouts. Selecting the "Custom layout" item in the list opens a second dialog for entering the layout description. Layouts are serialized as JSON object and are decoded solely in the LayoutsPreference class.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/settings.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index c670dfb..f6467d6 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -46,7 +46,4 @@
<juloo.common.IntSlideBarPreference android:key="key_vertical_space" android:title="@string/pref_key_vertical_space" android:summary="%sdp" android:defaultValue="2" min="0" max="8"/>
<juloo.common.IntSlideBarPreference android:key="key_horizontal_space" android:title="@string/pref_key_horizontal_space" android:summary="%sdp" android:defaultValue="2" min="0" max="8"/>
</PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_category_advanced">
- <EditTextPreference android:key="custom_layout" android:title="@string/pref_custom_layout_title" android:summary="@string/pref_custom_layout_summary" android:inputType="text|textMultiLine|textLongMessage"/>
- </PreferenceCategory>
</PreferenceScreen>