B4A Question setSystemUiVisibility flags - Cableguy    Nov 1, 2023 >= 23 Then
jo = Root
jo.RunMethod("setSystemUiVisibility", Array(8192)) 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
End If
End Sub
... B4A Tutorial Immersive Mode - hide the navigation bar - Erel    Jan 5, 2022   (24 reactions)   tags: B4A Hide Navigation Bar, Screen Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size and set the activity to that size. 3. Load the layout Depends on JavaObject and Phone libraries. Example is attached.... Spanish ejemplo setSystemUiVisibility - jota (first post)    Feb 7, 2013 ¿ Puede ser esto lo que buscas ?
http://www.b4x.com/forum/additional-libraries-classes-official-updates/23510-class-ics-navigation-bar-control.html#post138054... B4A Code Snippet StatusBar, NagivationBar and Background color all the same! - Cableguy    Nov 1, 2023   (6 reactions) .RunMethod("setSystemUiVisibility", Array(8192+16)) 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR + SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
End If
End Sub
This code allows for a continuous light color app... also change the Statusbar visibility flag....
I rekoned I could also change the Navigation bar visibility flag... so after almost 1h of searching, I found what value that flag is!!!
Sub... B4A Code Snippet Set Status bar colors - Emme Developer    Feb 19, 2018   (15 reactions)   tags: UI, Design ("setSystemUiVisibility",Array(Bit.Or(0x00002000,view.RunMethod("getSystemUiVisibility",Null)))) 'Light style with black icons and text ' view.RunMethod("setSystemUiVisibility",Array(0...A useful sub to set status bar color and foreground color, at runtime Sub SetStatusBarColor(clr As Int) Dim p As Phone If p.SdkVersion > 20 Then 'Background color Dim jo As JavaObject..., Array (0x04000000)) window.RunMethod("setStatusBarColor", Array(clr)) Dim view... B4A Question Hide NavigationBar - Erel (first post)    Aug 20, 2024 Try it with: #FullScreen: False #IncludeTitle: True And: jo.RunMethod("setSystemUiVisibility", Array As Object(4096)) 'in Activity_WindowFocusChanged Based on this project: https://www.b4x.com/android/forum/threads/immersive-mode-hide-the-navigation-bar.90882/#content... B4A Question Full Screen - Wolli013    Feb 11, 2025 ("setSystemUiVisibility", Array As Object(5894))
'Statusleiste und Virtuelle Tasten ausblenden--------------------------... B4A Question Dark Theme And Light - Navigation & Status Bar Icon Or Text Color - Samara    Jan 9, 2024 ("setSystemUiVisibility", Array(0x00002000)) 'ICONS DARK STATUS BAR Dim jo As JavaObject jo...,Null). _ RunMethod("setSystemUiVisibility", Array(0x08000000)) 'ICONS LIGHT NAVIGATION... B4A Code Snippet targetSdkVersion 35 and opting out of edge-to-edge enforcement - Johan Hormaza (first post)    May 29, 2025   (1 reaction) This means that it will no longer be necessary to use this configuration to stretch the Activity. Dim jo As JavaObject Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow", Null) window.RunMethod("addFlags", Array(Bit.Or(0x00000200, 0x08000000))) Dim view As JavaObject = window.RunMethodJO("getDecorView",Null) view.RunMethod("setSystemUiVisibility",Array(Bit.Or(0x00002000,view.RunMethod("getSystemUiVisibility... B4A Code Snippet Back to edge-to-edge with B4A Ver13.4 and SDK 35 - Matt S.    Jul 18, 2025   (2 reactions) ("setSystemUiVisibility", Array As Object(5894)) Catch Log("setSystemUiVisibility did NOT work!") End Try End If End Sub and call it at the beginning of Sub...) And instead, put a template from Google itself, something like this: SetApplicationAttribute... Page: 1   2   3   4   5   6   7   |