Commit graph

46 commits

Author SHA1 Message Date
Eberhard Beilharz
30063da5ce Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-09-22 06:08:48 +02:00
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
60411736e6 fix(android): Add "Show On-screen keyboard" preference
fix(android): Add "Show On-screen keyboard" preference to display OSK when physical keyboard is connected 👁️
2025-08-20 09:41:13 +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
1380597be2
Merge branch 'beta' into chore/common/crowdin-vi 2025-03-05 19:45:39 +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
0674317a00 chore(android): Add PR number 2025-02-22 07:49:30 +07:00
Darcy Wong
40d166f873 fix(android): Add Vietnamese 2025-02-22 07:45: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
79d0d60be8
Merge pull request #13033 from keymanapp/android-titles-docs
chore: add android platform to titles
2025-01-31 09:14:25 +07:00
MengHeng
4e8d4e5538
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-24 14:59:09 +07:00
Marc Durdin
892688d7bf
Merge pull request #13024 from keymanapp/system-requirement/installation
chore: add platforms to system requirements and download-and-install docs
2025-01-24 13:15:43 +07:00
Marc Durdin
a8db66e65d
Merge pull request #13019 from keymanapp/troubleshooting
chore: add platforms to troubleshooting titles and windows to help homepage
2025-01-24 13:15:36 +07:00
Marc Durdin
57a9b31315
Merge pull request #13016 from keymanapp/version-history-platforms
chore: add platforms to version history titles
2025-01-24 13:15:25 +07:00
Marc Durdin
26097e8309
Merge pull request #12990 from keymanapp/welcome-platforms
chore: add platforms to welcome titles
2025-01-24 13:15:15 +07:00
Marc Durdin
b86084fe76
Merge pull request #12989 from keymanapp/whats-new-platform
chore: add platform to what's new titles
2025-01-24 13:15:03 +07:00
Meng-Heng
85da8fca52 chore: add android platform to titles 2025-01-24 12:52:45 +07:00
Meng-Heng
cb8330ef08 chore: add platforms to system requirements and download-and-install docs 2025-01-24 11:05:25 +07:00
Meng-Heng
40b31a08a6 chore: add platforms to troubleshooting titles and windows to help homepage 2025-01-24 10:45:04 +07:00
Darcy Wong
660d4c3d67 docs(android): Update storage permission help
Reference: https://support.google.com/googleplay/android-developer/answer/14115180?hl=en
2025-01-23 09:36:52 +07:00
Meng-Heng
5efac80b90 chore: adds platforms to history titles 2025-01-22 17:46:49 +07:00
Meng-Heng
eb617cb28f chore: adds platforms to welcome titles 2025-01-22 17:35:09 +07:00
Meng-Heng
e3c02bf045 chore: adds platform to what's new titles 2025-01-22 16:21:56 +07:00
Joshua A. Horton
b0c4749b9d docs(android): document longpress up-flick to quick-display shortcut 2025-01-15 15:14:38 +07:00
Darcy Wong
fe7ab9b956 docs(android): Document the banner controls 2024-12-06 07:53:22 +07:00
Darcy Wong
5dee258dac docs(android): Add android/docs/internal/README 2024-11-27 15:37:06 +07:00
Marc Durdin
a68ed0d322 chore: update minimum versions 2024-11-06 11:14:59 +07:00
Marc Durdin
f9008b6d2b refactor(android): move Android Engine help in-repo
Relates-to: #12347
2024-10-31 10:08:17 +07:00
Marc Durdin
4b1e137a53 chore(common): Merge branch 'master' into refactor/common/12347-reorg-help 2024-09-25 15:46:02 -07:00
Marc Durdin
1ec1f0e1e8 refactor(common): move help into common prod/docs/help folders
Step 1 -- move all product help into docs/help folders. Next, will
update corresponding scripts.

Relates-to: #12347
2024-09-16 06:13:46 +07:00