Scaling problem: 60px top menu did not appear because of status bar

Hey guys!

I ve got 2 questions. The first one - more general - whether it is better to develop on a small device and use the Corona sDK scaling features? Im working on a project and develop on a 10" device and the results differ on small devices.

The second question: I am using in a current project a top menu with a height of 60 pixels. I am using this value hard coded. Screen is in landscape mode.  On my 10.1 Samsung it appears ok (Statusbar is lateral) but on my Sony Arc (480x854 pixels, 233ppi) I can’t see the menu. It seems that the menu “dodges behind” the Android status bar. In API Docs I have read that from Android 3.x one cannot read the statusbar height value. So how can I fix this problem.

Thanks in advance!

First:
It always is a pain to cover many ranges of resolutions and screens - in this case developing for apple product is easier. Whats more bigger screen doesn’t mean bigger resolution - tablets can have often lower resolution on bigger screen what makes things juat bigger so you have to scale it down on tablets. Corona of course will try to help you to select proper images from folders and scale it but you must handle different resolutions yourself.

Second:
In corona that what you consider space you are working doesn’t map to screen area and it’s pixels. Point (0, 0) doesn’t have to be in top left corner of physical screen (check display.screenOriginY)

First:
It always is a pain to cover many ranges of resolutions and screens - in this case developing for apple product is easier. Whats more bigger screen doesn’t mean bigger resolution - tablets can have often lower resolution on bigger screen what makes things juat bigger so you have to scale it down on tablets. Corona of course will try to help you to select proper images from folders and scale it but you must handle different resolutions yourself.

Second:
In corona that what you consider space you are working doesn’t map to screen area and it’s pixels. Point (0, 0) doesn’t have to be in top left corner of physical screen (check display.screenOriginY)