abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
AgeCommit message (Collapse)AuthorFilesLines
2022-01-29Add support for the Bulgarian language and layoutJules Aguillon1-0/+1
Thanks Zdravko Iskrenov for the contribution.
2022-01-29Add Latvian specific QWERTY layoutEdgars1-0/+1
A customised Latvian specific QWERTY layout (QWERTY (Latvian)) was added to access all Latvian diacritic characters with a swipe. Additionally caron, cedille and macron accents were enabled for this layout.
2022-01-20Add keys for LatvianEdgars1-6/+8
New accents - caron and macron - were defined and QWERTY layout was updated to add accents for Latvian specific characters.
2022-01-15German keyboard added (#20)Moini1-0/+1
* Add German metadata translation * Add German keyboard Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-01-15Fix miscalculation of the space between the keysJules Aguillon1-1/+3
'keyVerticalInterval' was mistakenly used to compute the height of the keyboard and the vertical position of keys. While the code handling pointers did not use this value, the hit box of the bottom row was shifted by several pixels. Make sure 'keyVerticalInterval' is only used for rendering and not for placing the keys.
2022-01-10Swap the Enter and Action keys when neededJules Aguillon1-0/+2
When IME_FLAG_NO_ENTER_ACTION is set.
2022-01-09Add the Action keyJules Aguillon1-0/+4
It is placed on the top-right of the enter key on every layouts. It sends a special event (performEditorAction) instead of writing a newline. The "actionId" is passed through the EditorInfo object in an obfuscated way so it's not clear whether it's using the right one.
2022-01-09Add the German languageJules Aguillon1-0/+1
Add the 'ß' character on the bottom-left corner of the 's' key, which is hidden for other languages. Co-authored-by: Moini <moini@noreply.invalid>
2022-01-09Allow to hide more keys than just accentsJules Aguillon1-3/+3
Add the "FLAGS_LANGS" set of flags, which will be used to hide individual keys that are not accents.
2021-12-30Improve the "precision" optionJules Aguillon1-15/+8
Now named "swiping distance". Changed to a dropdown.
2021-12-30Turn the "precision" option to dp instead of pxJules Aguillon1-5/+13
2021-12-30Add the Black themeJules Aguillon1-0/+1
Friendly to Amoled screens. The background of keys is the same as the background of the whole keyboard: pure black. Colors are also slightly stronger.
2021-12-30Move the border radius from Config to ThemeJules Aguillon1-2/+0
Also, draw activated keys with a round border too.
2021-12-30Add themesJules Aguillon1-0/+11
Add a "Theme" option to choose between a dark and light theme. The light theme uses the colors of the dark theme with the luminance inversed. The reloading after a configuration change is changed slightly: - Special handling is needed when the Theme is changed (recreate the views) - The default implementation of 'onConfigurationChanged' is used Which triggers more refresh (but don't recreate the views) - 'onCreateInputView' is no longer needed
2021-12-28Separate "handler" codeJules Aguillon1-3/+11
As with the previous commit, remove casts of the context. The "handler" object is referenced in the "config" object for now.
2021-12-28Turn Config into a singleton objectJules Aguillon1-17/+25
The goal is to remove a cast of the 'context' into 'Keyboard2'.
2021-12-19Avoid crash when removing a layoutJules Aguillon1-2/+1
Might happen when downgrading the app.
2021-12-19Auto-format Java and XML filesJules Aguillon1-59/+59
Use xmllint. Re-indent Java files using spaces.
2021-12-11Add SwedishJules Aguillon1-0/+1
First add the 'ring' accent. The swedish language uses the qwerty layout and three accents (aigu, trema, ring)
2021-05-09Fix recently introduced crashJules Aguillon1-2/+2
2021-05-09Add the accents preferenceJules Aguillon1-3/+22
This replaces the "disable accent keys" checkbox. The default should work for anyone: Accents will be hidden unless the user has the french language installed. The value "show every accents" is useful for versions of android that don't have subtypes.
2021-04-29Add the "layout" option againJules Aguillon1-0/+15
Some versions of android don't allow to configure several languages.
2021-04-25Tweak dimensionsJules Aguillon1-2/+4
Increase a bit labels size and reduce empty space between keys.
2021-04-24Add the label size optionJules Aguillon1-0/+3
2021-04-20Add a setting for precise repeatJules Aguillon1-0/+3
2021-04-18Hide the input switching key if it's not neededJules Aguillon1-0/+4
Android has a new way of switching between input methods and this key need to be hidden in most cases.
2021-04-13Add an option to toggle accent keysJules Aguillon1-1/+3
These keys are not useful at all in English. A new option allows to hide them, [false] by default.
2021-01-05Remove the preview popupJules Aguillon1-7/+0
This was a half-finished feature: - Dangerous when typing passwords - Caused crash on some devices - Ugly (on its own but also blinking when sliding and not fixed in size)
2015-10-29Move configs to Config objectjaguillo1-0/+83