Commit graph

31 commits

Author SHA1 Message Date
Darcy Wong
6cb9749256 fix(android): Refactor bottom inset calculations for inapp and system 2025-10-09 06:42:57 +07:00
Darcy Wong
cb9e295d46 cherrypick(android): Fix bottom insets for KMSample2 and FirstVoices 2025-09-25 20:57:32 +07:00
Darcy Wong
482b6df3de fix(android): Update Sample, Test, and FirstVoices apps for edge to edge
fix(android): Update Sample, Test, and FirstVoices apps for edge to edge 🪟
2025-09-02 07:35:43 +07:00
Darcy Wong
31f5e43958 fix(android): Show system OSK when physical keyboard connected 2025-08-19 09:26:23 +07:00
Darcy Wong
44f20472df feat(android): Enhance how ENTER key is handled for FV and KMSample2 2024-11-29 08:48:13 +07:00
Darcy Wong
205c8c2d63 fix(android): Replace deprecated APIs for Display, Size, Metrics 2024-05-14 09:17:20 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Darcy Wong
92c982723c chore(android/samples): Update namespace for Sample apps 2023-01-06 09:04:12 +07:00
Darcy Wong
6a8865d0b6 chore(android): Update Target SDK Version to 31 2022-11-18 08:48:58 +07:00
Darcy Wong
f21ffde0fc fix(android/engine): Add language name when installing lexical-model 2022-09-22 14:28:54 +07:00
Marc Durdin
26aafc6afb fix(android): rotation fix for samples and FV Keyboards 2021-06-10 10:47:50 +10:00
Darcy Wong
3465e99271 chore(android/samples): Remove old sample keyboard loaded code 2021-01-22 09:40:38 +07:00
Marc Durdin
4bd2fba43f fix(android): add missing imports 2021-01-15 06:18:49 +11:00
Marc Durdin
99e60559eb fix(android): Popup misalignments and compatibility with WeChat, Telegram
Fixes #4019.
Rolls back #3009 and fixes base issue in alternative manner.

The core issue here was twofold:

1. We needed to set the window size to the whole screen in order for the
   popups to visible and touchable. We implement this in
   `onConfigureWindow`.
2. Once our window size is the whole screen, we need to tell the apps
   which part of the window is our keyboard UI, in `onComputeInsets`.
   This is the only part of the window which impacts the layout of the
   underlying app. We had not set the `visibleTopInsets` property and
   this caused the WeChat problems.

Finally, in order for this to work, we roll back the original fix
in #3009 as that one breaks the full-screen layout requirement.

Tested with a wide range of apps on Android 10, including WeChat and
Telegram. If @kienwt, @ericjding have capacity, would love to know if
this fix works for them also.

Note that this fix requires changes to consumers of Keyman Engine, so
sample and FV Keyboards updated accordingly.
2021-01-14 17:05:31 +11:00
Darcy Wong
5369d85d86 test(android): Update Sample and Test Projects to use Keyboard syntax
Also rebuild keyboardharness.kmp to set version for chirality.js
2020-06-05 11:03:49 +07:00
Darcy Wong
367b395021 feat(common): Add Tamil lexical model to KMSample2 2020-05-13 15:40:27 +07:00
Darcy Wong
bb0e286950 fix(android): Back button to dismiss KMSample2 system keyboard 2020-05-07 10:13:42 +07:00
Darcy Wong
152168ba8c modify(android): Update sample and test projects to install asset kmp's
Follow-on to #2928 for KMSample1, KMSample2, and keyboardharness projects.

For KMSample1 and KMSample2, also changed keyboard from deprecated legacy [tamil99m](https://keyman.com/keyboards/tamil99m) to release [basic_kbdtam99]
(https://keyman.com/keyboards/basic_kbdtam99).

For Keyboardharness, manually assembled keyboards into a package.
2020-04-02 10:26:48 +07:00
Darcy Wong
ae68c483a7 Update dependencies
* Update compile/target SDK version from 27 to 28
*  Migrate appcompat namespace (See https://developer.android.com/jetpack/androidx/migrate)
2019-03-06 16:20:26 +07:00
Darcy Wong
ab1994ae02 Fix KMSample2 2018-10-31 16:11:43 +07:00
Darcy Wong
bfb784c933 Allow system "globe button" to change keyboards 2018-10-31 16:11:43 +07:00
Darcy Wong
544a58c151 Add Material Design 2018-09-19 13:46:03 +07:00
darcywong00
90246a72e6 [Android] Use BCP-47 codes for registering keyboards 2018-02-21 22:00:21 +07:00
darcywong00
534597051f Move keyboard assets for Samples and Test projects 2018-01-17 16:36:30 +07:00
darcywong00
4787245808 Round 1 of adding feature for ad-hoc keyboard distribution via kmp 2018-01-17 10:58:25 +07:00
darcywong00
fa772a057d Add commented code for default font
help.keyman.com [in-app guide](http://help.keyman.com.local/developer/engine/android/guides/in-app/)  refers to setting default keyboard font
2017-12-15 13:42:06 +07:00
darcywong00
911a254966 Move KMSamples and KeyboardHarness assets
PR #456 changed internal folder locations for KMEA and kmapro. This PR continues the renames for the Sample and Test projects
2017-12-04 11:42:07 +07:00
darcywong00
0665756299 Final cleanup
Remove chirality test keyboard from main kmapro app
Fix KMSample2 compilation
2017-10-04 10:33:16 +07:00
darcywong00
bc208fba5d Cleanup sample projects
Revert to original onKeyboardChanged() signature
2017-10-04 10:33:16 +07:00
darcywong00
d66f52b350 Update Samples and Tests projects for handler API change
Updates to new onKeyboardChanged signature

Also incorporated external keyboard support to KMSample2
2017-10-04 10:33:16 +07:00
darcywong00
6d26d7cd9e Keyman for Android 2.8 Open Source
Copy over the Android source
Update build.sh scripts for new paths
KMEA/build.sh also updated to build KMW and use the artifacts
2017-07-21 11:52:22 +07:00