How can I know programmatically if a device has a navigation bar and if it has it how can i get the size (width and height).
I tried this solution stackoverflow.com/a/29938139/1683141 and when I test a Sony Xperia Z on Genimotion, returns that not has a navigation bar but it has!
Please I need to fix this cases with navigation bar, because the app not looks good.
Thanks