App doesn't look the same on all devices

I am creating a business app which looks perfect in the simulator for the NexusOne, however on all the other simulator devices it looks really bad, especially on the iphone. I thought the idea of Corona was develop for one and distribute to all? or at least that was the impression I got.

Can anyone shed any light on what I may have done wrong?

Dan. [import]uid: 107975 topic_id: 19638 reply_id: 319638[/import]

Are you using content scaling? That’s probably the first step.

A second issue (minor, and you won’t see it in the simulator) is that not all devices handle scaling in the same way. So if you do

pic = display.newImage(“source.png”, 160, 240)
pic.xScale = 0.5
pic.yScale = 0.5

You will get very different results on different devices.
The easiest workaround to this is to always set your x and y coordinates explicitly after you scale / set transform point. Thus:
pic = display.newImage(“source.png”, 0, 0)
pic.xScale = 0.5
pic.yScale = 0.5
pic.x = 160
pic.y = 240

This will give you the same results on all devices.

Look at content scaling first though - that’s probably where you need to do your configuration. [import]uid: 65996 topic_id: 19638 reply_id: 75879[/import]