abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/LayoutsPreference.java
AgeCommit message (Collapse)AuthorFilesLines
2023-08-16CustomExtraKeysPreference: Reusable edit text layoutJules Aguillon1-2/+3
This layout is generically used by CustomExtraKeysPreference and LayoutsPreference.
2023-08-16ListGroupPreference: Make items abstractJules Aguillon1-2/+7
Allow items to be of any class instead of strings. Item serialization and deserialization methods are in a separate class because they are also used in a static context.
2023-08-06LayoutsPreference: Show layout display namesJules Aguillon1-4/+7
The internal name of layouts was rendered.
2023-07-30Allow more than 2 layoutsJules Aguillon1-0/+89
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.