abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Utils.java
AgeCommit message (Collapse)AuthorFilesLines
2025-07-01Fix extra bottom margin when navbar buttons absent (#1024)Jules Aguillon1-10/+0
* Fix extra bottom margin when navbar buttons absent Fix the extra space that was appearing when the gesture-navigation bar didn't contain the "switch IME" or "close IME" buttons. This was found on OneUI 7 with the two "keyboard key" related options turned off. * Remove unneeded nav bar detection and width computation
2024-12-26Proper support for Android 15 edge-to-edge (#848)Jules Aguillon1-0/+15
The keyboard background now extends under the system bars and display cutout on Android 15 but the keys do not. The back and IME switching buttons that appear in the navigation bar require special care to not overlap with the keyboard. The launcher and settings activity are also fixed.
2024-02-10Fix various linter warningsJules Aguillon1-1/+2
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
2024-01-13Refactor: New namespace for preference classesJules Aguillon1-1/+1
2024-01-10Fix crash on shift with empty keysJules Aguillon1-0/+2
Tapping shift might call `Utils.capitalize_string` on some symbols (notably custom keys), which crashes on empty string. This also happens on builtin layouts with `key1="\"`.
2024-01-01Remove unsupported API readAllBytesJules Aguillon1-0/+14
2023-12-30Voice IME chooser popupJules Aguillon1-0/+30
Bring a popup for choosing the voice IME when the voice key is pressed for the first time or the list of voice IMEs installed on the device change. A preference stores the last selected IME and the last seen list of IMEs.