Andriod | Simulator change orientation

Hello.

I have a problem with the change of orientation in android does not change is still “portrait”
and in the Simulator works " landscapeRight ".

Sorry for my bad english

Config:

application = {     content = {         width = 320,         height = 480,         scale = "letterBox",         fps = 60,             }, } settings = {     orientation =     {         default = "landscapeRight",         supported = { "landscapeLeft", "landscapeRight" },     }, }

 

This code:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" }, }, }

must go in your build.settings file.

See: https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/

Rob

This code:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" }, }, }

must go in your build.settings file.

See: https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/

Rob