One Rect For All specificaiton

Colin Holgate colinholgate at gmail.com
Thu Nov 26 09:32:13 EST 2015


Here are some real numbers:

The complete card could be 1400x900.

On a 16:9 device you would see all of the 1400 width, and 788 pixels of the height.

On a 4:3 device you would see all of the 900 height, and 1200 of the width.

So, you would have the important things within the central 1200 of the width, and the central 788 of the height. You can now be sure that the important content will appear on all devices between 16:9 and 4:3. The things that are outside of that 1200x788 area will spill off the edges of the device screen.

BTW, you don’t have to take care of every device size, LiveCode will scale the above example size to whatever size the device is. So just pick a card size that is comfortable to work on. 

About splash screens, with the requirement to include iPhone6, 6 Plus, and maybe even iPad Pro screens, a detailed splash screen could take as much as 20 MB of the app size. What I’ve started to do is use a flat color, that matches the background color of the title screen. Doing that means that the 9 different splash screens take a total of under 200k of space. If that’s not interesting enough try just having a flat screen with your logo in middle, that shouldn’t be too bad file size wise.



More information about the use-livecode mailing list