One Rect For All specificaiton

Terry Judd terry.judd at unimelb.edu.au
Sun Jan 24 19:41:27 EST 2016


I ended going with Œletterbox¹ on android for my latest phone app and
making a few adjustments so that the entire screen is used. I developed
initially for iOS using a 320x460 stack that adjusts in height by moving
the bottom bar (and sometimes additional elements) down according to the
height of the card (which varies for different iPhones). On android I set
the display to letterbox and then use a combination of the aspect ratio
(derived from the working screenrect) and the width of the stack to
determine how Œtall¹ the stack should be and set it before adjusting the
location of the bottom elements in the same way that I do on iOS. I
haven¹t tested this on a wide range of android phones (Samsung S2, S4 mini
and Google Nexus 4 so far) but it seems to work ok.

Terry...

On 25/01/2016 10:40 am, "use-livecode on behalf of J. Landman Gay"
<use-livecode-bounces at lists.runrev.com on behalf of
jacque at hyperactivesw.com> wrote:

>On 1/24/2016 2:34 PM, Sannyasin Brahmanathaswami wrote:
>> Your safe zone is  (I hope I am finally declaring this correctly)
>>
>> 1) for a ³root" 16 X 9 stack: the full width + 75% of the  vertical
>> height that will render on a 4 X 3 device ‹ ergo artists must supply
>> you with  4 X 3 artwork with significant content in the middle 75%
>> vertical space. i.e. 12.5 % bleed top and bottom 2) for a ³root² 4 x
>> 4 3tack: the full height + 75% of the  width height that will render
>> on a 4 X 3 device ‹ ergo artists must supply you with  16 X 9 artwork
>> with significant content in the middle 75% horizontal space i.e. 12.5
>> % bleed left and right.
>
>I wonder how that will translate to Android. I found these aspect ratios
><http://hwstats.unity3d.com/mobile/display.html>, listed from most
>common to least:
>
>16:9
>5:3
>4:3
>16:10
>3:2
>
>-- 
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list