feat(android): standardize keyboard min max heights + docs
Follow-up work from other resizing work.
This pull request is from an external repo and will not automatically be built. The build must still be passed before it can be merged. Ask one of the team members to make a manual build of this PR.
FYI, we recognize the Keyman for Android APIs need a deep power clean, so we're tentatively going to spend a week during 19.0 to hash it out (maybe end of Sept into early Oct )
See holding issue #13636
@darcywong00 what is the status of this?
@darcywong00 @mcdurdin
I believe this PR is ready now.
@darcywong00 @mcdurdin
I believe this PR is ready now.
Thanks Matt. We'll need to also include some test procedures on the PR. Do you think the tests in #14472 work?
We also need to bring this branch up to date with its base (master) so we can be sure that we are testing the latest set of changes, as it is a bit stale currently.
This has been rebased onto master. Requesting Review by @darcywong00 or @mcdurdin
Here's the bug in action: https://github.com/user-attachments/assets/7d919ada-d5ab-4cc3-96e4-640eab36443e
@mcdurdin You can see that I made a draggable bar for the App Builder interface instead of the Keyman "marching ants". It feels more obviously grabbable to me.
Also, I send the size percentages back to the settings activity and show them there.
Let me know if you want to move either direction (in a separate PR, of course). I could easily port the Grab Bar over to the KM app. The percentages might take more time.
@MattGyverLee - let me know when you're done resolving review comments and I'll trigger a build for User Testing
Test Specification
- Android Studio, Pixel 8a API 34 Emulator.
- MacBook Pro
Installation
- Artifacts > release > keyman-19.0.166-alpha-test-13663.apk
Test Results
- TEST_KEYMAN (PASSED):
- Launch Keyman for Android --> Dismiss the Startup Dialog
- Go to settings --> Adjust keyboard height
- On Portrait, drag the keyboard to 50% of the screen
- Rotate the screen to landscape, drag the keyboard to 75% of the screen
- Click back --> back to home screen
- Verified: The keyboard heights (portrait and landscape) match the customization.
- Close, clear and open the app
- Verified: The keyboard heights are still in the customized heights.
- Go to settings --> Adjust keyboard height --> "Reset to defaults" in both portrait and landscape orientation
- Close, clear and open the app
- Verified: The keyboard heights are back to default.
- Verified: Type and use the predictive text work as expected.
Changes in this pull request will be available for download in Keyman version 19.0.168-alpha