Check if a device has software or hardware navigation buttons

I want to know that is there any way to find that the device has internal navigation bar or external navigation bar ??

image

If I’ll get the solution in the community, then why will I search here ??

I don’t get it. That just makes no sense at all.

Also, let’s do not hijack this topic, better tell us more about your situation.

What ?? :disappointed_relieved: :sweat_smile:

I can’t find on community either. And he has told us what he want already.

Do you mean to know if on the bottom of the screen there is a navigation bar or of it is on the bottom of the phone?

Found something on Stack Overflow
But don’t know if it works or how to implement in Kodular

1 Like

Yes I found that too

How can you use that on Kodular. I don’t think there is a way.
BTW Thanks for the hint.

Yes. Do you have any solution ??

But actually what is the purpose of knowing the navigation type? If you want to hide it just turn experimental component

I want to check it because of this -

But still, you don’t have to check. Others have already mentioned


And

1 Like

Its not working.

I am not sure if this would work. Try putting an arrangement in the designer, set height to fill parent. Now, from the blocks section check:

if arrangement.height == Screen1.height: #doesnt have a virtual taskbar
else: #has a virtual taskbar

As I said, I am not sure if this will work, but it’s worth a shot.

2 Likes

Let me give it a try

There is, just search!
https://docs.kodular.io/components/screen/#height

1 Like

Unfortunately, its not working. :pensive:

image

That’s the only thing I could think of. I don’t know any other way unfortunately :frowning: