From ad7314a01684185f5cf33cc31ef35d1027776a88 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 21 Jan 2024 16:34:49 +0100 Subject: Move layout definitions into srcs/layouts This separates the layout definitions from the special layouts (bottom_row, greekmath) and other unrelated files (method, settings). This is also a more intuitive location for layouts and make the resource directory easier to navigate. Under the hood, layouts are copied back into build/generated-resources/xml. --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 62b2342..596ea64 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,14 +88,15 @@ Github secret named `DEBUG_KEYSTORE`. ### Adding a layout -Layouts are defined in XML, see `res/xml/latn_qwerty_us.xml`. +Layouts are defined in XML, see `srcs/layouts/latn_qwerty_us.xml`. An online tool for editing layout files written by @Lixquid is available [here](https://unexpected-keyboard-layout-editor.lixquid.com/). Makes sure to specify the `name` attribute like in `latn_qwerty_us.xml`, otherwise the layout won't be added to the app. -The layout file must be placed in the `res/xml/` directory and named according to: +The layout file must be placed in the `srcs/layouts` directory and named +according to: - script (`latn` for latin, etc..) - layout name (eg. the name of a standard) - country code (or language code if more adequate) -- cgit v1.2.3