i have been playing with this for awhile and apparently i dont see any solution at all. I have tried “OnScreenOrientation” thingey, as written here:
but no difference still. I also have tried playing with config like here:
no difference as well.
Basically i want the position of the text, buttons, and images to be well positioned if the user rotate his phone (like changing from portrait to landscape) but how can I do that? How can I put FIXED x and y for JUST portrait and use another x and y position for JUST landscape orientation?
For example, at the moment i have a facebook button located like this:
local facebookBtn
facebookBtn = display.newImage ("facebook-big.png")
facebookBtn.x = display.contentWidth / 2 + 90
facebookBtn.y = display.contentHeight / 5 - 20
localGroup:insert(facebookBtn)
in corona simulator this facebook button is located at the top right (portrait)
but if i rotate it to landscape then the facebook button is all of sudden located in the middle of the screen. I want it to be located STILL at the top right in landscape mode, how can I do that? [import]uid: 114765 topic_id: 28759 reply_id: 328759[/import]
[import]uid: 114765 topic_id: 28759 reply_id: 115913[/import]