Julow / Unexpected-Keyboard

A lightweight virtual keyboard for developers.
GNU General Public License v3.0
1.43k stars 186 forks source link

[Feature Request] split layout, a là Swift Keyboard? #224

Open formula-spectre opened 1 year ago

formula-spectre commented 1 year ago

title. image something like this would be cool, but I understand if this is rejected

moya2162 commented 1 year ago

@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:

  1. Never
  2. Only in Landscape Mode
  3. Always
allan-null commented 1 year ago

This can already be accomplished with a custom layout.

Screenshot_20230125_082259_GitHub.png

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.

madrabbit90 commented 1 year ago

Cool! That was easier than I thought it would be! Is it possible to split the bottom row as well?

Julow commented 1 year ago

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.

Julow commented 10 months ago

Why did you close this issue? This is a commonly requested feature that I would like to have one day.

formula-spectre commented 10 months ago

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!

kingIZZZY commented 10 months ago

+1 yes please 🙏

Spike-from-NH commented 10 months ago

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.