Commit graph

2830 commits

Author SHA1 Message Date
Darcy Wong
3abe596361 fix(android): Add back button to "Adjust Keyboard Height "menu
Add back button and callback handler
2025-04-02 10:19: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
Darcy Wong
afbe3d00cf fix(android): Update the keyboard height
Per review comment
2025-04-01 14:56:25 +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
Marc Durdin
7999677cd6
Apply suggestions from code review 2025-04-01 08:48:13 +02:00
Darcy Wong
bbf249b64c chore(android): Remove whitespace 2025-04-01 10:16:08 +07:00
Marc Durdin
54d6f374d9
chore(android): use constant instead of string 2025-04-01 01:05:51 +02:00
Marc Durdin
8dbca1b651
Merge branch 'master' into fix/kmea/13511/applykeyboardHeight 2025-04-01 06:02:54 +07:00
Matthew Lee
99033cf1ec
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-31 12:00:50 -04:00
Matthew Lee
fa65ccb901 Making KMEngine_PrefsKey a constant. 2025-03-31 11:54:40 -04:00
Darcy Wong
6547458a3c fix(android): Make banner smaller
Following review suggestion for banner not to be more than 1/4 of the main keyboard body.
2025-03-31 13:37:23 +07:00
Matthew Lee
527f8e0d7a Current Height Refactor
Avoiding multiple calls to system prefs.
2025-03-28 21:01:30 -04:00
Matthew Lee
776bb381ff Docs for getDefaultKeyboardHeight() 2025-03-28 20:19:45 -04:00
Matthew Lee
61ec797597
Update android/docs/engine/KMManager/getKeyboardHeight.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:22:13 -04:00
Matthew Lee
be4f97e328
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:21:04 -04:00
Matthew Lee
49c83f5f84
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:17:54 -04:00
Matthew Lee
a010865a57
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:17:21 -04:00
Matthew Lee
7b32908721
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:16:36 -04:00
Matthew Lee
1638b21115
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:16:04 -04:00
Matthew Lee
20eae1cfc9
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:15:50 -04:00
Matthew Lee
34ee802106
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:15:24 -04:00
Matthew Lee
3637ddc7f9
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:15:12 -04:00
Matthew Lee
eaa42a4e83
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:14:41 -04:00
Matthew Lee
ca0507e3d7
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:14:22 -04:00
Matthew Lee
b43d865989
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:13:51 -04:00
Matthew Lee
11cf9d8dbf
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:13:20 -04:00
Matthew Lee
f4b9d6a6f5
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-28 19:12:35 -04:00
Marc Durdin
a52437c407 chore: Merge branch 'master' into chore/b18s4-merge-beta-to-master 2025-03-29 05:38:08 +07:00
Matthew Lee
e7440af715 Handle undefined/invalid orientations
Responding to Marc's message about undefined orientations. This shouldn't affect the user tests. It's handling an edge case.
2025-03-28 13:22:19 -04:00
Matthew Lee
0cb5a17971 Updating docs for Adjust Keyboard Height feature 2025-03-27 23:21:43 -04:00
Darcy Wong
9a4bc0c049 docs(android): Update table 2025-03-28 09:56:08 +07:00
Darcy Wong
39eebaa257 chore(common): Update crowdin strings for Mon 2025-03-28 09:15:42 +07:00
Matthew Lee
05625d5983 Bypassing dynamic height for tests 2025-03-27 19:00:45 -04:00
Matthew Lee
908d17099e Drafting docs for overloads. 2025-03-27 09:59:15 -04:00
Matthew Lee
0bfefa11cd
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:06:33 -04:00
Matthew Lee
426846f08a
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:05:11 -04:00
Matthew Lee
8cd1518e24
Update android/docs/engine/KMManager/applyKeyboardHeight.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:00:39 -04:00
Darcy Wong
5871df98b6 fix(android): Modify dimens.xml for 320dpi device
User requested a taller default keyboard height for a Pixel 8a device in landscape (430dpi corresponding to xhdpi). The next tier xxhdpi is for 480+ dpi.

Reference
https://developer.android.com/guide/topics/resources/providing-resources.html#table2

Based on `values/sw600dp-land/dimens.xml`, create `values-land-xhdpi/dimens.xml`

This allows a taller landscape keyboard height.
2025-03-27 15:42:19 +07:00
Darcy Wong
88d896e7d5 fix(android): Copy values-sw600dp-land/dimens.xml to values-land-xhdpi 2025-03-27 15:40:53 +07:00
Matthew Lee
063a91d019 updating variable name 2025-03-27 00:30:04 -04:00
Darcy Wong
fee91b379d chore(android): Remove debug statements 2025-03-27 11:04:30 +07:00
Matthew Lee
287acfbd36 removing duplicate commit() 2025-03-26 23:21:11 -04:00
Matthew Lee
18db5ec139 removing sharedprefs import 2025-03-26 21:10:19 -04:00
Matthew Lee
a8da8e7b5e Finalizing 2025-03-26 20:59:37 -04:00
Matthew Lee
5f069c35d8 Reset Variable 2025-03-26 19:53:32 -04:00
Matthew Lee
b36dc677f5 Using new variables 2025-03-26 19:44:13 -04:00
Matthew Lee
1215f93f87 getDefaultKeyboardHeight() 2025-03-26 08:09:10 -04:00
Matthew Lee
79f8918346 adding Varables and GetDefaultKeyboardHeight Function.
I still need to figure out when to call this for initialization.
2025-03-26 02:52:01 -04:00
Matthew Lee
2bade43b54 Adding overloads for getKeyboardHeight and applyKeyboardHeight for alternate orientations. 2025-03-26 02:25:41 -04:00
Matthew Lee
f7c0e4eaac
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:10:11 -04:00