Android Question Height of navigation bar

welu1805

Active Member
Licensed User
Longtime User
Hi all,

my tablet has no hardware buttons for "Menu", "Back" and so on. They are as software buttons at the bottom on the screen in the navigation bar.

How can I get the height of this navigation bar?
 

welu1805

Active Member
Licensed User
Longtime User
I have an ImageView on a ScrollView.Panel, the ScrollView.Panel.Height is set to bitmap.height.

The height of the bitmap of the ImageView is larger than the screenheight therefor I want to scroll.

When I scroll to the bottom I can't see the last part of the bitmap. It's behind the navigation bar.
Therefor I want to set ScrollView.Panel.Height = bitmap.Height + NavigationBar.Height.

real-display.Height - 100%y is NavigationBar-Height

Can I get the real display.Height?
 
Upvote 0

welu1805

Active Member
Licensed User
Longtime User
Thanks. I set the vertical anchors to BOTH and ScrollBar.Height to 100%y. Now it works fine!
 
Upvote 0
Top