abouttreesummaryrefslogcommitdiff
path: root/res/values/values.xml
AgeCommit message (Collapse)AuthorFilesLines
2026-01-18Fix crash when using the Monet themes on Android 9 (#1155)Jules Aguillon1-0/+11
The color resources starting with `@android:color/system_` are not available on API < 31. No effort is made to implement the Monet feature on Android 9. Instead, the monet themes look like the Dark and Light themes.
2025-12-28Candidates viewJules Aguillon1-0/+1
The `CandidatesView` is implemented as a `LinearLayout` that is divided horizontally with up to 3 `TextView`. It might in the future contain buttons on the sides. The candidate view is nested into the input view rather than using Android's `setCandidatesView` and callbacks as the API is unreliable and complicated. The first suggestion goes in the middle to be more accessible. The second suggestion goes on the right to be more accessible to the right-handed, because it must go somewhere.
2025-07-01Fix extra bottom margin when navbar buttons absent (#1024)Jules Aguillon1-3/+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-1/+5
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-07-06Clipboard pane (#681)Jules Aguillon1-0/+1
This adds the clipboard pane, which allows to save an arbitrary number of clipboards and to paste them later. The key can be disabled in settings. Checking the "Recently copied text" checkbox will cause the keyboard to keep a temporary history of copied text. This history can only contain 3 elements which expire after 5 minutes. If this is unchecked, no history is collected. History entries can be pinned into the persisted list of pins.
2024-02-10Fix various linter warningsJules Aguillon1-1/+0
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
2023-11-25Use Gradle (#452)deftkHD1-2/+1
2023-07-19Add custom extra keys preferenceJules Aguillon1-0/+1
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.
2023-06-03Refactor: Remove dimens used as option defaultsJules Aguillon1-4/+0
The conversion into px was done twice, leading to wrong values.
2023-01-15Separate option for horizontal margin in landscape modeJules Aguillon1-1/+0
A separate option is needed, the +25dp offset wasn't enough.
2022-12-31Fix dimensions going off after rotationJules Aguillon1-1/+0
Values like 'characterSize' and 'horizontalMargin' can't be fed back into the default value because they are not of the same unit. To avoid this happening again, change the way the default value is defined for every options. The 'key_height' dimension was no longer used.
2022-06-06Fix inconsistent text size in landscape modeJules Aguillon1-2/+0
Dimens weren't refreshed when the orientation changed. Dimens are not the right solution anyway, use scaling factors instead.
2022-03-15Log editor infos while debuggingJules Aguillon1-0/+18
Useful when debugging why the keyboard doesn't work as expected with a specific app.