Change Status bar background colour

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 :slightly_smiling_face:

1 Like

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?

blocks (4)

you should see your status bar color white now :thinking: try to set it in a procedure and not in screen initialize and trying in a exported apk .

1 Like

procedure ?, can you explain the details …

do I have to block the procedure and merge them to the status bar?

like this?

blocks (5)

1 Like

Yes like this and call it on screen initialization block.And btw, how are you seeing the status bar when you test the app?

1 Like

Do you mean to make the status bar color (set screen1 status bar to → white) on the initialization screen too ?, So I made two?

1 Like

Actually i’ve tried the normal block and it’s working :point_down:
blocks (32)

1 Like

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:

1 Like

like this?

isn’t screen2 initialize to be 2?

there…

1 Like

That won’t change the status bar in the designer.:sweat_smile: only on your mobile.Wanna change it on your designer? Change the status bar color proeperty from the designer
Or i miss understand you :roll_eyes:

1 Like

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.

1 Like

how to change to white ?, designer ?, oh I see …

So it’s working now @FIEZA ?

1 Like

yes, its working in companion

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.