abouttreesummaryrefslogcommitdiff
path: root/gen_layouts.py
AgeCommit message (Collapse)AuthorFilesLines
2023-06-25Generate layouts arrays used in settingsJules Aguillon1-0/+64
`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.