abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/CustomExtraKeysPreference.java
AgeCommit message (Collapse)AuthorFilesLines
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon1-139/+23
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-19Refactor: Centralize logging in a static classJules Aguillon1-1/+4
This new class will help write more logs. The LogPrinter is no longer created everytime the keyboard is opened. An error log is added if failing to load the custom extra keys.
2023-07-19Add custom extra keys preferenceJules Aguillon1-0/+174
This is a new section in the extra keys option that allows to enter arbitrary strings which are then added to the keyboard. A new string is needed for the title of the section, Android's icons and strings are used as much as possible to avoid adding more strings. Keys are stored in the preferences as a JSON array of strings.