Eberhard Beilharz
a89dd1bed0
fix(android): fix setting font
...
PR #16146 introduced a problem with selecting a different font as
display font so that we always ended up with not setting the font.
This was caused by the font filenames now being a URL (which is necessary
because they get processed by the web engine). However, the Android code
checks for the existence of the font in order to create the typeface,
which only works for local paths.
This PR modifies and simplifies `KMKeyboard.getFontFilename` to return the
full path, renames `KMKeyboard.txtFont` and `KMKeyboard.oskFont` to make
it clearer that they contain a path and not a URL.
Also initialize `KMKeyboard.oskFontPath` with empty string instead of
`null`. This makes it consistent with` txtFontPath` and with the
documented behavior of `KMManager.getKeyboardOskFontFilename()` (which
returns `KMKeyboard.oskFontPath`).
Follows: #16146
Fixes : #16187
Build-bot: release:android
2026-09-22 06:08:48 +02:00
Darcy Wong
6cb9749256
fix(android): Refactor bottom inset calculations for inapp and system
2025-10-09 06:42:57 +07:00
Darcy Wong
7337952f6f
docs(android): Document getNavigationBarHeight API
2025-09-25 20:58:05 +07:00
Darcy Wong
0affbd6d4b
docs(android): Update documentation
2025-04-11 11:07:17 +07:00
Darcy Wong
f03096a34f
docs(android): Add xxxhdpi keyboard height
2025-04-04 14:11:01 +07:00
Darcy Wong
3bd69f182e
fix(android): Adjust keyboard height for 10" tablet landscape
2025-04-04 08:36:05 +07:00
Darcy Wong
8cc35dfdf3
fix(android): Adjust keyboard and banner height for 7" tablet
2025-04-04 07:42:54 +07:00
Darcy Wong
3d127f0f7d
docs(android): Update table documentation
2025-04-03 11:12:35 +07:00
Darcy Wong
b5e30b7c83
docs(android): Update table
2025-04-03 09:55:33 +07:00
Darcy Wong
231d9e3b6b
Merge branch 'beta' into cherrypick/android/13578-adjust-keyboard-height
2025-04-03 09:44:29 +07:00
Darcy Wong
e894f79880
Merge pull request #13592 from keymanapp/fix/android/430dpi
...
fix(android): Add dimensions for 320+dpi phones in landscape
2025-04-02 08:41:00 +07:00
Marc Durdin
690d62ca3f
fix(android): Move responsibility for setting keyboard height preference
...
Cherrypick of #13578 to beta
Moves responsibility for setting keyboard height preference into `applyKeyboardHeight()`
2025-04-01 14:10:55 +07:00
Darcy Wong
9a4bc0c049
docs(android): Update table
2025-03-28 09:56:08 +07:00
Darcy Wong
75bf69bfbf
fix(android): Cleanup comments
...
Cleanup references to mayPredictOverride in comments
2025-03-24 10:27:50 +07:00
Darcy Wong
009829a842
docs(android): Update Keyman Engine for Android API
...
Documents added getPredictionsSuspended() and setPredictionsSuspended() API calls for Keyman 18.0
2025-03-24 08:57:14 +07:00
Darcy Wong
84f7da519a
docs(common): Update Sentry links to keyman.sentry.io
...
The previous redirect from sentry.keyman.com is long-gone, so this updates all the links.
2025-03-13 16:33:52 +07:00
Darcy Wong
417be635bd
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-01 07:58:13 +07:00
Darcy Wong
4a73bc3ffc
docs(android): document control flag for system keyboard picker and task
2025-02-28 09:30:46 +07:00
Darcy Wong
83f886f643
Update android/docs/engine/KMManager/setLongpressDelay.md
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-02-13 16:06:50 +07:00
Darcy Wong
aca4ed0861
docs(android): Document removing sendOptionsToKeyboard API
2025-02-13 15:31:21 +07:00
Marc Durdin
f9008b6d2b
refactor(android): move Android Engine help in-repo
...
Relates-to: #12347
2024-10-31 10:08:17 +07:00