From 500f4e41d3a72f5865aa489c89ad11b947fa54b7 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 10 Aug 2023 12:57:31 +0200 Subject: 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. --- res/values/strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res/values') diff --git a/res/values/strings.xml b/res/values/strings.xml index 72e651a..c8620f7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -14,6 +14,7 @@ Custom layout Add an alternate layout Layout %1$d: %2$s + Custom layout Show NumPad Never Only in landscape mode @@ -65,9 +66,6 @@ Very far Horizontal spacing between the keys Vertical spacing between the keys - Advanced - Custom layout - See the source code. This option is not meant to be used. Disabled System Strong @@ -101,4 +99,6 @@ Ordinal Indicator Superscript Subscript + + Advanced -- cgit v1.2.3