Status bar color issue

I use white color on status bar but i also use block for that (Set status bar light color to true) after testing on companion it is working fine but after intalling app in my mobile (Android 9) it is again not showing icons for battery indicator and network signals.

Also, this happens in some devices only.
Pls give solution.

Create your own custom status bar.

Do not mention people in your very first post!

4 Likes

The thing is when you set the status bar light icon to true, some devices are showing dark icons (I mean acting reverse), some of them are showing light icons. I think it is depends on phone.

But you can revert it always by using these blocks:

blocks%20(5)

Note that this feature only works API ≥ 23

3 Likes

Is these blocks will work on every time even phone show black or white

I noticed that it doesn’t work on my android 9 either, so unfortunately i have no solution for it

/Boban

2 Likes

Now as answer given by @yusufcihan is it work then?

As far I know, no. Unfortunately.

1 Like

Then what’s the perfect solution for that…

It’s a theme issue, I will check if I have time to dig in the themes

None for now

/Boban

You can use dark colors in your app instead of light theme as default, then you can provide the light theme as in-app themes.

Or change the status bar background color to dark.

1 Like

This post was flagged by the community and is temporarily hidden.

Don’t you think this :point_up: is bit rude sentence?

If you wish you use the temporary solution provided by @yusufcihan for now. OR you can wait till there is any proper way or solution. Patience is expected here from your side

6 Likes

I didn’t say anything about changing the design. I just said you can add a dark theme to your app by just reverting the colors. If you do that, status bar background will be black so you will able to see white icons.

It is up to you to change the colors or don’t.

1 Like

If i made my own status bar which is white in color then will icons show?

This post was flagged by the community and is temporarily hidden.

Can someone try this one StatusBarTestLight.apk (4.8 MB) and see if it works on there’s devices with android 9

I will reply here with the solution when I get confirmation from user in question that it works

/Boban

It’s working for me @Boban

Just one thing @Boban :point_down:

You are Genious

:smiley: :smiley:

6 Likes

That will take two weeks as they’ve been suspended for a second BNBR violation

5 Likes

Yes, I know, that was my intention as I don’t like words like this

/Boban

5 Likes