abouttreesummaryrefslogcommitdiff
path: root/res/values/layouts.xml
AgeCommit message (Collapse)AuthorFilesLines
2023-07-30Allow more than 2 layoutsJules Aguillon1-2/+2
The two layout selection options are replaced by a ListGroupPreference that allow to enter an arbitrary amount of layouts. The "switch_second" and "switch_second_back" keys are replaced by "switch_forward" and "switch_backward", which allow to cycle through the selected layouts in two directions. Layouts are changed to place these two key on the space bar. The backward key is not shown if there's only two layouts.
2023-07-23Correct Kurdish layout name (#407)KuRa KuRd1-1/+1
Correct layout name to Kurdish because Kurdish and Arabic are totally two different language.
2023-07-01New default Czech layout (#380)frimdo1-0/+3
The previous default layout is renamed `latn_qwertz_cz_multifunctional`.
2023-06-25Use generated arrays in Config.layout_of_stringJules Aguillon1-0/+40
This function is no longer an hardcoded list of layout ids. It's replaced by a linear scan of the previously generated array and a new corresponding array of resource ids.
2023-06-25Generate layouts arrays used in settingsJules Aguillon1-0/+84
`gen_layouts.py` lists the layouts in `res/xml` and generate the `pref_layout_values` and `pref_layout_entries` arrays into `res/values/layouts.xml`. These arrays are hard to maintain as the order has to match, which is fragile. This relies on every layouts having a `name` attribute.