did you know the line at the top of the smartphone, which usually displays the clock, battery status, notifications, wifi, etc.
then how do I change the background color of these rows …
did you know the line at the top of the smartphone, which usually displays the clock, battery status, notifications, wifi, etc.
then how do I change the background color of these rows …
Hi this line is called status bar and you can change it using this block
https://docs.kodular.io/components/screen/#status-bar-color
Hope it helps
but why in my codular the function (screen1.status bar color to) doesn’t work
You can show us your blocks?
isn’t this function right?
you should see your status bar color white now try to set it in a procedure and not in screen initialize and trying in a exported apk .
procedure ?, can you explain the details …
do I have to block the procedure and merge them to the status bar?
like this?
Yes like this and call it on screen initialization block.And btw, how are you seeing the status bar when you test the app?
Do you mean to make the status bar color (set screen1 status bar to → white) on the initialization screen too ?, So I made two?
Actually i’ve tried the normal block and it’s working
didn’t you say give that order in procedure?,
In my codular there is no change in color …
Actually there was a similar issue because fo putting such blocks on screen initialization.
Can you send a screenshot for what happens?
For me with this blocks
That what happens.Notice the status bar above.it’s completely white:
That won’t change the status bar in the designer. only on your mobile.Wanna change it on your designer? Change the status bar color proeperty from the designer
Or i miss understand you
but on my other project, on the designers also change color …
Yes it will change if you set it from the designer.But if you set it from the blocks it won’t change,It will only change on your mobile.
how to change to white ?, designer ?, oh I see …
yes, its working in companion
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.