Problem with shadows module

Hi guys,

I’m using the shadow module. I’m finding problems if I remove the “navigation bar” in android devices.

The code I use to remove the bar is this (in main):

if( platform == "Android" ) then local function onResize( event ) if (system.getInfo("androidApiLevel") \>= 19) then native.setProperty("androidSystemUiVisibility", "immersiveSticky") else native.setProperty("androidSystemUiVisibility", "lowProfile") end end onResize() Runtime:addEventListener( "resize", onResize ) end

When I create a version and test it on an android device with the bar all the shadows are out of phase.

How can I solve this?

What is the “shadows” module?

Rob

Sorry if I was unclear:

https://www.youtube.com/watch?v=PKp-7V2ENGA

https://coronalabs.com/blog/coronageek/corona-geek-122/

I don’t know if the module creator is still active with Corona (this module was from 5 years ago). But you could try reaching out to him. This likely pre-dated Android’s ability to hide tool bars.

It’s also likely a source module, which means you can look at the code yourself and see if you can identify the cause. This was a community created module so it’s no something we can provide support for.

Rob

I am looking for the whole day and I can’t find the problem…

You wouldn’t even be able to advise me on what changes global  variables could bring and remove the bar?

What is the “shadows” module?

Rob

Sorry if I was unclear:

https://www.youtube.com/watch?v=PKp-7V2ENGA

https://coronalabs.com/blog/coronageek/corona-geek-122/

I don’t know if the module creator is still active with Corona (this module was from 5 years ago). But you could try reaching out to him. This likely pre-dated Android’s ability to hide tool bars.

It’s also likely a source module, which means you can look at the code yourself and see if you can identify the cause. This was a community created module so it’s no something we can provide support for.

Rob

I am looking for the whole day and I can’t find the problem…

You wouldn’t even be able to advise me on what changes global  variables could bring and remove the bar?