As many of you already know, Samsung has introduced option to hide navigation bar by double-clicking on small dot in bottom-left corner.
I need to figure out if it is hidden or not, so I tried to do that by getting its height. It looks like it always 144, no matter if it's visible or not. Samsung does in its way, so probably this is not a good way to go.
Is there a way to figure out if navigation bar is hidden or not on Android devices?