Check if a device has software or hardware navigation buttons

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:

Where is the else part? :thinking: :relaxed:

1 Like

Exactly. Maybe this it will work

What will work ??

See this:

1 Like

Why not write an extension for that?
Codes and resources are already available to you.Just do it man :grin:

2 Likes

Let’s try :wink:

EDIT: I will try later, as I have an essay to write atm.

3 Likes

So professional that a 11 yo boy can make an extension
I am 13 but I just can’t. :upside_down_face:

2 Likes