J jo1234 Active Member Licensed User Longtime User Oct 25, 2022 #1 Hi, my app has a panel with text fields that covers the whole screen. When the keyboard opens to fill the text fields at the bottom (KeyboardStateChanged) I move the panel up (.top to negative values) so that the text field is not covered by the keyboard. In iOS16 I have now with B4i 8.10 the problem that the navigation bar is transparent and the panel slides under it, making it hard to read. I tried [CODE lang="b4x" title="NavControl.As(NativeObject).GetField("view").As(B4XView).Color = xui.Color_White"][/CODE] as described in https://www.b4x.com/android/forum/threads/xcode-13.135099/. However, that did not help. I changed the background color of the navigation bar to red, but when the panel slides up, it goes under the navigation bar text but above the red navigation bar background. How can I set the navigation bar to non-transparent? thanks a lot, Johannes Last edited: Oct 26, 2022
Hi, my app has a panel with text fields that covers the whole screen. When the keyboard opens to fill the text fields at the bottom (KeyboardStateChanged) I move the panel up (.top to negative values) so that the text field is not covered by the keyboard. In iOS16 I have now with B4i 8.10 the problem that the navigation bar is transparent and the panel slides under it, making it hard to read. I tried [CODE lang="b4x" title="NavControl.As(NativeObject).GetField("view").As(B4XView).Color = xui.Color_White"][/CODE] as described in https://www.b4x.com/android/forum/threads/xcode-13.135099/. However, that did not help. I changed the background color of the navigation bar to red, but when the panel slides up, it goes under the navigation bar text but above the red navigation bar background. How can I set the navigation bar to non-transparent? thanks a lot, Johannes
Solution Erel Oct 26, 2022 I found the correct one: https://www.b4x.com/android/forum/t...-seems-not-to-work-anymore.140254/post-894810
I found the correct one: https://www.b4x.com/android/forum/t...-seems-not-to-work-anymore.140254/post-894810
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2022 #2 This is not the default appearance. Create a new project and run it. Does it look like this? Upvote 0
J jo1234 Active Member Licensed User Longtime User Oct 26, 2022 #3 Erel said: This is not the default appearance. Create a new project and run it. Does it look like this? Click to expand... I originally wrote that iOS does the shift of the panel up (panel.top to negative values) automatically when using the textfield at the bottom but in fact it is in my code (KeyboardStateChanged). I edited the first post accordingly. But the issue remains: When I set panel.top to negative values it goes under the transparent navigation bar and I get a nasty overlay. How can I set the navigation bar to non-transparent, so that I do not see the panel underneath (as it was in earlier iOS versions)? Thanks a lot, Johannes Last edited: Oct 26, 2022 Upvote 0
Erel said: This is not the default appearance. Create a new project and run it. Does it look like this? Click to expand... I originally wrote that iOS does the shift of the panel up (panel.top to negative values) automatically when using the textfield at the bottom but in fact it is in my code (KeyboardStateChanged). I edited the first post accordingly. But the issue remains: When I set panel.top to negative values it goes under the transparent navigation bar and I get a nasty overlay. How can I set the navigation bar to non-transparent, so that I do not see the panel underneath (as it was in earlier iOS versions)? Thanks a lot, Johannes
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2022 #4 Try this: https://www.b4x.com/android/forum/threads/confused-about-navigation-bar-color.137518/post-870278 Upvote 0
Try this: https://www.b4x.com/android/forum/threads/confused-about-navigation-bar-color.137518/post-870278
J jo1234 Active Member Licensed User Longtime User Oct 26, 2022 #5 Erel said: Try this: https://www.b4x.com/android/forum/threads/confused-about-navigation-bar-color.137518/post-870278 Click to expand... Unfortunately, the panel is still below navigation bar text but above navigation bar background. Upvote 0
Erel said: Try this: https://www.b4x.com/android/forum/threads/confused-about-navigation-bar-color.137518/post-870278 Click to expand... Unfortunately, the panel is still below navigation bar text but above navigation bar background.
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2022 #6 I found the correct one: https://www.b4x.com/android/forum/t...-seems-not-to-work-anymore.140254/post-894810 Upvote 0 Solution
I found the correct one: https://www.b4x.com/android/forum/t...-seems-not-to-work-anymore.140254/post-894810