Android Question [SOLVED]EdgeToEdge keyboard problem

dstankovic

Member
Licensed User
Longtime User
I am adapting one of my programs to work on the whole screen (E2E). I have a problem with the keyboard: on the phone everything works as it should, but on the tablet the sub IME_HeightChanged does not activate when entering text.

I adapted Erel's example IME_example to work with E2E. It behaves exactly like my program.

Phone specs: Samsung Galaxy s23 Ultra, ONE UI 8.5, Android 16
Tablet specs: Samsung Galaxy Tab A8 (SM-X200), ONE UI 6.1, Android 14.

Attached are screenshots and adapted for E2E IME_example

Any solutions to this problem?
 

Attachments

  • phone.jpg
    phone.jpg
    228.5 KB · Views: 38
  • tablet.jpg
    tablet.jpg
    156.9 KB · Views: 40
  • IME_Example.zip
    18.3 KB · Views: 14

teddybear

Well-Known Member
Licensed User
Did the tablet work before you adapted your app?
301.png

From your picture, the keyboard on your tablet is shown/hidden by tapping the keyboard button on the navigation bar, rather than automatically popping up a soft keyboard when focusing on an input field.
1. Click the keyboard button on the navigation bar to check if IME-HeightChanged is fired
2.I think it should have an option to turn off the Show Keyboard button on the navigation bar.
 
Last edited:
Upvote 0

dstankovic

Member
Licensed User
Longtime User
I am adapting one of my programs to work on the whole screen (E2E). I have a problem with the keyboard: on the phone everything works as it should, but on the tablet the sub IME_HeightChanged does not activate when entering text.

I adapted Erel's example IME_example to work with E2E. It behaves exactly like my program.

Phone specs: Samsung Galaxy s23 Ultra, ONE UI 8.5, Android 16
Tablet specs: Samsung Galaxy Tab A8 (SM-X200), ONE UI 6.1, Android 14.

Attached are screenshots and adapted for E2E IME_example

Any solutions to this problem?
The tablet worked normally before the update. And the app downloaded from Google Play works normally,

Also, Erel's original example IME_example (SDK version 35, no E2E) works normally (image tablet2.jpg)
 

Attachments

  • tablet2.jpg
    tablet2.jpg
    180.9 KB · Views: 14
Upvote 0

teddybear

Well-Known Member
Licensed User
The tablet worked normally before the update. And the app downloaded from Google Play works normally,

Also, Erel's original example IME_example (SDK version 35, no E2E) works normally (image tablet2.jpg)
Try adding the #EdgeToEdgeOldDevices: True in Main module.
 
Upvote 1

sirjo66

Well-Known Member
Licensed User
Longtime User
I downloaded the example in post #1 and now I am trying to add #EdgeToEdgeOldDevices: True in Main module, but there isn't this attribute.
Take a look at screenshot.
Why ?
 

Attachments

  • Immagine3.png
    Immagine3.png
    201.2 KB · Views: 17
Upvote 0

dstankovic

Member
Licensed User
Longtime User
I downloaded the example in post #1 and now I am trying to add #EdgeToEdgeOldDevices: True in Main module, but there isn't this attribute.
Take a look at screenshot.
Why ?
You add #EdgeToEdgeOldDevices: True in B4XMainPage module. Must add to Main module
 
Upvote 0
Top