Android Question Problem on immersive mode

giada

Member
Hi,
i'm using immersive mode in B4xPages project. The problem is when i use IME softkey: after the IME is hidden the bar on the bottom re-appear...how can i re-hide it? i try to force a Sub Activity_WindowFocusChanged(HasFocus As Boolean) event but is not working...
Can someone help me?
Thanks
 
I realize a small example, when the IME go on the bottom bar stay up.
I've tried also to set IME flag ime
IME_FLAG_NO_EXTRACT_UI
IME_FLAG_NO_FULLSCREEN

but anything change.
What can i do?
 

Attachments

Upvote 0
Upvote 0
B4X: Copy
Sleep(2000)
CallSub2(Main, "Activity_WindowFocusChanged", True)
Adding your suggestion after IME.hide works, also without sleep().
Now i try to implement the HeightChanged as you suggest.
tranks
 
Upvote 0
Back
Top