H hanyelmehy Well-Known Member Licensed User Longtime User Sep 16, 2021 #1 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 5.9 KB · Views: 371 Last edited: Sep 16, 2021
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
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2021 #2 What do you need it for? Root / Activity.Height will return the height without it. Upvote 0
H hanyelmehy Well-Known Member Licensed User Longtime User Sep 17, 2021 #3 Erel said: What do you need it for? Root / Activity.Height will return the height without it. Click to expand... 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: Sep 17, 2021 Upvote 0
Erel said: What do you need it for? Root / Activity.Height will return the height without it. Click to expand... 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)
Erel B4X founder Staff member Licensed User Longtime User Sep 19, 2021 #4 hanyelmehy said: in some devices (100%y) return height with it Click to expand... I never encountered such cases. Maybe the problem is somewhere else (for example when switching from a full screen activity to a non-full screen activity). Anyway, it is not possible to get this height. Upvote 0
hanyelmehy said: in some devices (100%y) return height with it Click to expand... I never encountered such cases. Maybe the problem is somewhere else (for example when switching from a full screen activity to a non-full screen activity). Anyway, it is not possible to get this height.
agraham Expert Licensed User Longtime User Sep 19, 2021 #5 This is one of several instances (like with the IME size and state) where Android omits an obvious requirement while over-complicating the unnecessary elsewhere Upvote 0
This is one of several instances (like with the IME size and state) where Android omits an obvious requirement while over-complicating the unnecessary elsewhere