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
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)
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).
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