Open AnabasisXu opened 1 month ago
I keep my custom layout in a text file, which can be copied to other phones in several ways. On a new Unexpected installation, use Settings→Layout to select Custom. Then Select All and paste in your personal text file.
If you don't have your preferences in a text file, create a file and copypaste the text from Unexpected into it.
The other issue you raised suggests you already have a text file. Please clarify if I misunderstand your question.
It's not possible to find the definition of a layout within the app but you can find them all here: https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/layouts
For changing fn and alt, you will need to redefine the bottom row. This requires setting the bottom_row="false"
attribute and then defining the bottom row, see this layout that does that: https://github.com/Julow/Unexpected-Keyboard/blob/master/srcs/layouts/latn_neo2.xml
That is a good answer, but again, @AnabasisXu seems already to have a copy.
@JapanYoshi, the layouts
folder should be added to your documentation; users who want to write XML will look there for a file as their starting point.
Thank you both! @Spike-from-NH As you said, I wish I could point to a file in the app as a config file and update my layout/setting from there, which would save a lot of copying/pasting effort.
That is a good answer, but again, @AnabasisXu seems already to have a copy.
@JapanYoshi, the
layouts
folder should be added to your documentation; users who want to write XML will look there for a file as their starting point.
Added a mention.
Thanks, @JapanYoshi!
@AnabasisXu, copypasting layouts into Unexpected→Settings (I have two) for a new phone is a minor annoyance but I know no better way. One can still update a new installation in less than one minute.
I would like to start from my current layout instead of starting from the default.
Is there any way I can export my current layout?
In fact I just need to switch fn and alt for the qwerfty(us) layout on my current layout.
Yet it seems I need to import a new layout to do that?