Commit graph

2922 commits

Author SHA1 Message Date
Marc Durdin
106d3eb62d chore(android): move v23 styles into v23 resource file
Current min Android SDK for Keyman is v21.

See: https://developer.android.com/develop/ui/views/theming/themes#Versions
2026-07-02 15:23:54 +02:00
Marc Durdin
3be3aa229d
Merge branch 'master' into feat/dark-mode-and-settings 2026-07-02 22:01:19 +10:00
Marc Durdin
fb761fc78f fix(android): skip test on Windows that triggers androidx WebKit bug
Fixes: #16183
Test-bot: skip
2026-07-02 09:16:17 +02:00
Eberhard Beilharz
28652af8ab
fix(android): suppress error for fallback keyboard
We use SIL EuroLatin as fallback keyboard. If that is not installed,
previously we output an error which showed up as a toast for the user.
This change now outputs a warning instead of the error for the default
keyboard.

Also changed the KeyboardHarness test app to set a different keyoard as
default.
2026-07-01 12:27:38 +02:00
Eberhard Beilharz
0aa41c1028
fix(android): fix typo 2026-07-01 11:52:02 +02:00
Eberhard Beilharz
a146345eae
fix(android): fix problem with fonts
The default fonts (DejaVueSans.ttf and keymanweb-osk.ttf) are located in
the root directory, not the package directory. This fixes the
KeyboardHarness test app.

Also some improvements with variable and function names to better match
what they do.
2026-07-01 11:33:01 +02:00
Eberhard Beilharz
b490d20098
fix(android): add missing dependency for KeyboardHarness app
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-30 12:56:50 +02:00
Eberhard Beilharz
c606733a56
fix(android): add missing dependency for FirstVoices and Samples
Fixes: FV-ANDROID-20E
Build-bot: release:android
2026-06-30 12:17:13 +02:00
Eberhard Beilharz
71b0586c66
fix(android): fix failing test on Windows
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
On Windows the tests failed because the AppData directory doesn't yet
exist under an allowed app internal storage path. This change creates
the directory first when running tests.
2026-06-29 18:25:26 +02:00
Eberhard Beilharz
bec75197b1
fix(android): add tests for WebViewUtils.buildAssertUrl
Also fix `assertEquals` in that test file - the parameter ordering is
`expected, actual` but we had it the other way round which gives a
confusing message if the test fails.
2026-06-29 17:56:06 +02:00
Eberhard Beilharz
0847fb6ca2
chore(android): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-06-29 16:57:33 +02:00
Eberhard Beilharz
64abd5b690
fix(android): fix loading of keyboards on Android
This change moves to using `WebViewAssetLoader` for loading files from
the device instead of using file:// URLs. This fixes the blank keyboard
problem reported in #16096 for Android.

Also make `KMKeyboard.getKeyboardRoot()` private, and rename public
`Keyboard.getKeyboardPath()` to private `Keyboard.getKeyboardUrl()`.

Part-of: #16096
2026-06-26 20:01:30 +02:00
Mengchou Chey
aa71ee0d22
Merge branch 'master' into feat/dark-mode-and-settings 2026-06-24 15:59:44 +07:00
Mengchou97
bd693b8c8f restored master file 2026-06-24 15:48:54 +07:00
Mengchou97
9d42a5f0a7 remove whitespace on line 8 2026-06-24 14:48:39 +07:00
MengHeng
89b8cdeca8
Apply suggestions from code review
Co-authored-by: MengHeng <90595388+Meng-Heng@users.noreply.github.com>
2026-06-24 14:40:37 +07:00
MengHeng
cc4192529e
Apply suggestions from code review
Co-authored-by: MengHeng <90595388+Meng-Heng@users.noreply.github.com>
2026-06-24 14:38:42 +07:00
Mengchou97
82d558004a fixed whitespace problems 2026-06-24 13:45:09 +07:00
Mengchou97
8aa1d261f0 added one whitespace back to be exactly the same as master 2026-06-24 13:32:23 +07:00
Mengchou97
9813318022 removed whitespaces problems 2026-06-24 13:22:03 +07:00
Mengchou97
9dfc7b096c added the standard header 2026-06-11 13:57:34 +07:00
Mengchou97
d1e7839c08 reverted the splashscreenactivity 2026-06-10 17:00:17 +07:00
Mengchou97
2b54302257 reverted the ic_action_timelapse 2026-06-10 16:55:49 +07:00
Mengchou97
2f1f62aed4 fixed whitespace problems fragment_select_language 2026-06-10 16:53:14 +07:00
Mengchou97
536b5b5c61 fixed more whitespace problems 2026-06-10 16:49:42 +07:00
Mengchou97
2b800fa3f2 removed whitespaces problems 2026-06-10 16:18:33 +07:00
Mengchou97
9b930ea868 removed unused codes 2026-06-10 15:16:57 +07:00
Mengchou97
ecd3f65372 added the cmt back 2026-06-10 14:31:19 +07:00
Mengchou97
2c7a61d35c addressing the issues with keymansettingfragments 2026-06-10 14:29:03 +07:00
Mengchou97
8142776012 replace SystemKeyboard.java with the one from master but updated the keymansettingactivity to keymansettingkeys 2026-06-10 14:09:08 +07:00
Mengchou97
ecccaa0e33 replace SystemKeyboard.java with the one from master 2026-06-10 13:51:42 +07:00
Mengchou97
00e0967fa1 updated Keyman standard header and added comment to the onWindowFocusChanged 2026-06-10 13:49:28 +07:00
Mengchou97
2c6f211d4c error, so change back 2026-06-07 00:23:46 +07:00
Mengchou97
5fc545ba24 Add navigation drawer with settings, theme switcher, keyboard toolbar popup, and system keyboard management 2026-06-07 00:20:15 +07:00
Mengchou97
a2016ce6d8 following PR suggestion on whitespace changes and revert 2026-06-06 23:26:53 +07:00
Marc Durdin
6a98a39b8a
Merge branch 'master' into chore/web-core-preflight 2026-05-27 22:37:12 +10:00
Mengchou97
3a817e9abf refactor MainActivity and clean up outdated review comments 2026-05-12 17:12:04 +07:00
Mengchou97
a65fef6c16 updated the repeated keyboard option 2026-05-12 15:20:26 +07:00
Mengchou97
9489cf10b1 updated the font color once in dark mode 2026-04-24 10:35:08 +07:00
minanlynna-code
a3781a859c Update dark mode handling for Chrome WebView layout 2026-04-23 21:55:37 +07:00
Mengchou97
5f8c38e674 updated the hamburger icon in the titlebar to switch between theme 2026-04-22 21:42:47 +07:00
Mengchou97
4d48850dc3 completed adding separator to side-panel using group 2026-04-22 21:31:41 +07:00
Darcy Wong
d66ecec73d fix(android): Address review comments
* Move Espanol back
* Capitalize Svwnska (Swedish)
2026-04-22 13:53:00 +07:00
Darcy Wong
ded6e1c6f3 fix(android): Reorder display language list 2026-04-22 10:42:37 +07:00
Mengchou97
32b383f3f3 updated icons for side panel and titlebar 2026-04-20 14:28:32 +07:00
Mengchou97
d3a76b8c37 replace icon 2026-04-20 12:45:42 +07:00
Mengchou97
fe8861dd15 fixed the pull request problem 2026-04-20 10:26:52 +07:00
Marc Durdin
1c175f0080 chore(android): uncomment main_text_color 2026-04-13 09:15:16 +02:00
Mengchou97
e281b9a433 updated string for osk 2026-04-08 14:41:29 +07:00
Mengchou97
97fad5535c updated the update keyboard function 2026-04-07 22:41:45 +07:00