[Feature Request] split layout, a là Swift Keyboard?
title.
something like this would be cool, but I understand if this is rejected
@Julow
I also would like to see this layout as an option. It would be nice to have it similar to "Show NumPad", where we can have it with the following options:
- Never
- Only in Landscape Mode
- Always
This can already be accomplished with a custom layout.

All you need to do is grab your favorite layout xml from the source-code on the folder /res/xml/, add the property shift="3" (could be any number) to the key you want to add space to the left, and then paste the xml contents on the Custom layout field under Advanced options.
Then, to quickly toggle between split and not split you can setup your secondary layout as the custom one and the primary layout as your favorite one.
Be warned the repository owner said this is an experimental feature and our custom layouts could break with updates.
Cool! That was easier than I thought it would be! Is it possible to split the bottom row as well?
You can optionally re-define the bottom row in your layout, see for example how the Neo2 layout does that: https://github.com/Julow/Unexpected-Keyboard/blob/master/res/xml/latn_neo2.xml#L3
This attribute is set <keyboard bottom_row="false" ...> and an extra <row> is added. Be warned that the bottom row changes often and you might miss out on new features.
Why did you close this issue? This is a commonly requested feature that I would like to have one day.
sorry! since the dev said i could achieve it with xml and custom layout I thought it was all good (my bad on the whole being late thing); but if more people want this type of layout i'll reopen it no problem!
+1 yes please 🙏
In #491, I illustrate and give the XML of a layout (Landscape) that has keyboards on each side. I don't claim it is what you want, but do claim you could get what you want from it by imitation, if you work out the horizontal spacing. Reminders: ① Put the XML into effect by copying into clipboard, swiping Unexpected "gear" icon, specifying Custom layout, and pasting everything into the prompt. ② Make very gradual edits and try out, because there is no error reporting yet.
I wonder if something like this could be implemented:
On every row of the keyboard layout, a <separator /> can be added.
By default, it does nothing, but when a "split keyboard" option is enabled, its position is used to split that row in two, one drawn on the left side of the screen and the other on the right.
Keys also get an optional extra field, say duplicate, which indicate that if a separator is used, that key would also be added once more at the start of the second part of the row. Some split keyboards tend to add central keys on both sides, and it would probably be needed for a space bar.
An even smarter option would be the ability to combine a split keyboard with a numpad option, making it so that when both are enabled, the numpad is drawn in the middle of the keyboard, between the two sides of the split keyboard.
@slashdevslashurandom That's an excellent idea! Would you like to implement that ?