Scaling to device for Android

Maarten Koopmans maarten.koopmans at gmail.com
Wed Sep 14 16:25:33 EDT 2011


I think we are on the same page, it's just that *I* have to do the work...
But the end  result is probably better.

On Tuesday, September 13, 2011, Richard Gaskin <ambassador at fourthworld.com>
wrote:
> I think we're on the same page:  the "logic" in a logical view is in your
resizeStack handler.
>
> If I misunderstand please feel free to elaborate.
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
>
> Maarten Koopmans wrote:
>
>> Not sure I agree. If you work with a logical view you don't need to
>> scale at all by default; you can then override it as you see fit
>>
>> On Mon, Sep 12, 2011 at 4:06 PM, Richard Gaskin
>> <ambassador at fourthworld.com> wrote:
>>>
>>> Maarten Koopmans wrote:
>>>
>>>> Subject says it all: does anyone have a clue or a sample handler that
>>>> they know off? This is a real nuisance otherwise :(
>>>
>>> There's a request in the RQCC for generalized scaling:
>>> <http://quality.runrev.com/show_bug.cgi?id=6589>
>>>
>>> Useful as it is for things like some games, anything with controls on it
>>> will require the developer to write a resizeStack handler to position
things
>>> appropriately for both the current device and the current orientation.
>>>
>>> Now that I have a great tablet with the Asus Transformer, it drives me
crazy
>>> to download apps only to find that they merely scale their display for
>>> tablets, rather than take full advantage of the larger form factor with
a
>>> unique layout optimized for it.  I don't need 5" wide buttons, I need
more
>>> of a view on the content. ;)
>>>
>>> And with orientation, if an app only works in one orientation on my
tablet I
>>> generally uninstall it immediately after I discover that.   I like both
>>> portrait and landscape orientations for different purposes, and if an
app
>>> doesn't adapt to me I'm not going to adapt to the app - simpler just to
>>> uninstall and find one that was crafted more earnestly.
>>>
>>> With LiveCode we have the resizeStack message, sent when the app opens
and
>>> whenever the device orientation changes.  We can use the screenrect to
>>> intelligently reposition things to provide an optimal experience on any
>>> device.
>>>
>>> --
>
>
>
> _______________________________________________
> 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