How can I reliably measure the height of the soft navigation on Android so that it doesn't interfere with our app icons, as per the image below?
I've tried several other answers from here but they aren't reliable -some devices will report a height even if the keys are hardware-based, methods of detecting the bottom inset aren't reliable and methods of detecting whether or not the nav is software or hardware isn't reliable either.
I'm sure there must be some kind of Android standard for handling this situation?