fix(android): Apply bottom insets to system keyboard#14808
fix(android): Apply bottom insets to system keyboard#14808darcywong00 merged 6 commits intomasterfrom
Conversation
User Test ResultsTest specification and instructions
Test Artifacts |
|
On my phone, the keyboard shows up correctly if the Keyman app is running. However, then I can't select a text suggestion. |
dec72a0 to
aa886ce
Compare
|
With the latest commit keyboards now show correctly on my phone, and as you said in the code comment the suggestions banner still doesn't work. |
|
Not everything works: in some apps, e.g. messages, the edit field appears behind the keyboard. screen-20250923-214356.mp4 |
|
As of ddc9948 the alignments should work on @ermshiperete and my device. (independent of Keyman app running) Remaining Keyman system keyboard issues on @ermshiperete 's device:
|
|
With 0a91f50 I can confirm that everything works in landscape orientation. |
…/android/some-bottom-inset
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
# Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
# Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
|
Huzzah - suggestion bar on the system keyboard works in 8af7803 Turns out I had to adjust the This should be ready to review and test for several API levels |
mcdurdin
left a comment
There was a problem hiding this comment.
LGTM. Do we need to document getNavigationBarHeight in the Engine API? And I assume back-port to 18.0 is coming?
Yep, documented in #14830 and will 🍒 pick to 18.0 |
|
👍 Works correctly on my phone. |
Test ResultsI tested this PR in the "Keyman 19.0.126-alpha-test-14808" build on Android API 31, 34, 35. Here I am sharing my observation. GROUP_API_31: - Use Android API 31 on the device/emulator
GROUP_API_34: - Use Android API 34 on the device/emulator
GROUP_API_35: - Use Android API 35 on the device/emulator
|
|
Changes in this pull request will be available for download in Keyman version 19.0.127-alpha |

Fixes #14794 and follows #14619
This should create test builds that @ermshiperete and I can try on our devices to troubleshoot.This updates SystemKeyboard to adjust the padding and offsets for the navigation bar height.
TODO:
User Testing
Setup - Install the PR build of Keyman for Android. Set Keyman as the default system keyboard. Also on the device Settings, configure the bottom navigation to use the 3-button bar instead of gestures. Use the Android API level per the Group name
GROUP_API_31 - Use Android API 31 on the device/emulator
GROUP_API_34 - Use Android API 34 on the device/emulator
GROUP_API_35 - Use Android API 35 on the device/emulator
a. base keys
b. longpress keys
c. suggestion banner
a. base keys
b. longpress keys
c. suggestion banner