Sidebar behaves differently on each project

Hello, I’ve been trying a solution for this but I have not been able to solve it.
What I mean is that the sidebar component is behaving strangely in one of my projects on Kodular, see:

This is one of my apps with the perfection sidebar positioned below the status bar:
Screenshot_2019-01-15-21-21-47

Already below is another app I’m developing with the same sidebar style, see that it is overlaying the status bar:
Screenshot_2019-01-15-21-22-06

I do not want this to happen, I want it to go down the status bar just like in the image above this.

These are the properties of the array being used as sidebar.

Something similar happens to me. The element that I touch is kept pressed.

If you change the statusbar COLOR with blocks in blocks Editor then this happens like in the first picture.
Else it looks like your second picture

4 Likes

This is due to the selected color option. The item you have selected keeps enabled until you select another option.

1 Like

He is talking about the behaviour that in the first picture the side menu is below the statusbar.
In the second picture the side menu is over the statusbar.

This happens if somebody use the block “Statusbar Color” in the blocks editor.

1 Like

I got it @Mika, but I understood @imancol was talking about the selected color that keeps on.

1 Like

I’m using a method to change the color of the status bar according to the version of android, is there a way for the sidebar to go down the status bar even with the color being changed in the block?

image

You don’t need to do the version check.
We do this already for you in our code.

Still it is necessary to check the version of android to change the color of the status bar to gray if it does not support the dark icons, otherwise the icons of the status bar will disappear.

Navigationbar Color: Android 5+
Statusbar Light Icons: Android 6+

This is what I did, if the android version is larger than 6, the dark icons are activated and the status bar color changes to white, if it is less than 6 (5.0 in case) the color of the status bar changes to gray .

But the focus is to keep the sidebar below the status bar, which I’m not getting.

We know the problem.
But there is no fix for that.

Because if we fix the color problem then the side menu is always below the statusbar.

It is only recommended to use the screen 1 designer properties for the colors.

OK thank you :slight_smile:.

1 Like

Ah then the color is not the default again until it does not touch another element … it is something I want to solve.

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