Problem with Nexus 5 and config.lua

Hi all,

I have a problem with the Nexus 5 and all models with virtual nav bar, especially when I disappear the navbar. When my app starts the aspect ratio calculated from the Corona is different than when the navbar then disappears, for example in the case of the nexus 5, the reference case in which I find is 16:10, but in reality once the navbar has disappeared the screen is 16: 9, that brings me the enormous problems with the aspect ratio. Is there a way to resolve this problem? Now I’m forced to use this:

if (( display.pixelHeight / display.pixelWidth > 1.72 ) or (system.getInfo(“model”)==“Nexus 5” or system.getInfo(“model”)==“Nexus 4” )) then

   _G.Device=“android_16:9” – android 16:9

end

Thanks

I had the same issue. (https://forums.coronalabs.com/topic/57292-immersive-and-sticky-bug/)

My solution is not to set any settings for it (leave it as default). Meaning the android 5 nav bar will be shown. I only hide the top-notification bar.

I had the same issue. (https://forums.coronalabs.com/topic/57292-immersive-and-sticky-bug/)

My solution is not to set any settings for it (leave it as default). Meaning the android 5 nav bar will be shown. I only hide the top-notification bar.