G giada Member Jan 27, 2021 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2021 #2 Please reproduce it in a small project and upload it. Upvote 0
G giada Member Jan 28, 2021 #3 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 provaImmersive.zip provaImmersive.zip 457.4 KB · Views: 531 Upvote 0
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?
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2021 #4 Tip: correct way to create zips: Code: Copy 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip Your code as-is works fine on my device, so I cannot debug it too much. Try to add this: Code: Copy Sleep(2000) CallSub2(Main, "Activity_WindowFocusChanged", True) If it works then the correct solution is to implement it in the HeightChanged event: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-745090 Upvote 0
Tip: correct way to create zips: Code: Copy 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip Your code as-is works fine on my device, so I cannot debug it too much. Try to add this: Code: Copy Sleep(2000) CallSub2(Main, "Activity_WindowFocusChanged", True) If it works then the correct solution is to implement it in the HeightChanged event: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-745090
G giada Member Jan 28, 2021 #5 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
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