Android Question Android System Navigation Bar

hanyelmehy

Active Member
Licensed User
Longtime User
How do I get the height and width of the Android system bottom Navigation Bar programmatically?
and how to check if screen have bottom Navigation Bar or not
 

Attachments

  • DhCin.png
    DhCin.png
    5.9 KB · Views: 104
Last edited:

hanyelmehy

Active Member
Licensed User
Longtime User
What do you need it for? Root / Activity.Height will return the height without it.
in some devices (100%y) return height with it
also in some device (100%y) return without it in portrait and in landscape return with it
(happens on some nokia mobile and asus tablet)
 
Last edited:
Upvote 0
Top