Based on: https://www.b4x.com/android/forum/threads/immersive-mode-hide-the-navigation-bar.90882/#content
Sub Globals
Dim immersive As ImmersiveMode
End Sub
Sub Activity_Create(FirstTime As Boolean)
immersive.Initialize(Activity)
Activity.LoadLayout("Layout")
End Sub
Sub...
I'm trying to change the color of the statusbar in b4i, but I'm getting the following error, which ends up closing the application.
Dim no As NativeObject = Main.App
no.GetField("statusBar").SetField("backgroundColor", no.ColorToUIColor(cor_barra_status))
App called -statusBar or...
I can change the text colors and icons in the status bar with the following code.
Dim jo As JavaObject
jo.InitializeContext
jo.RunMethodJO("getWindow", Null).RunMethodJO("getDecorView",Null). _
RunMethod("setSystemUiVisibility", Array(0x00002000)) 'ICONS DARK STATUS BAR
I can also change the...
hi :)
I changed the theme of the program using appcompat. My problem is that it has problems with bright themes. That is, the color of the icons on the bar is white and cannot be seen in bright themes.
I want to change the color of the status bar icons to black.
what should I do...
Hi everyone, it's possible to make the status bar transparent (in the screenshot is the white space at the top), anche make transparent the bottom part?
This layout is simply a web view with a GIF, in the designer the Webview is set to cover all the area.
This represent the splashsceen.
Thanks!
Hi, in this thread i was worried because a project I was coding month before stopped working with no changes.
After some tips from the guys who helped me, i discovered that this istuction does not work anymore, and causes the crash of the app (in my particular case no log message was dispalyed)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.