automatic resizing of a datagrid form under android or what else is possible

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Mon Apr 22 18:23:43 EDT 2013


David,

thank you very much for the hint. I will have a look at it.

Matthias

Am 22.04.2013 um 20:14 schrieb David Bovill <david at scimatch.org>:

> Matthias if you create your form record as a component that responds to the
> LayoutControl datagrid command so that it resizes appropriately to a range
> of widths suitable to the range of Android screen sizes - then the datagrid
> should resize fine - just set the rect of the datagrid to what you need -
> the screenrect or whatever part of that you want?
> 
> Performance should not be affected that much as you can set the size if
> needed on startup?
> 
> 
> On 22 April 2013 13:08, Matthias Rebbe <matthias_livecode_150811 at m-r-d.de>wrote:
> 
>> 
>> in an iOS project i am using a datagrid form to display a product list
>> which contains text and images and a button. This works fine without any
>> problems on all iOS devices. Now i want to port this stack to android, but
>> due to the fact that there are so many screen resolutions for android
>> devices i am not sure if a datagrid form even would do the job.
>> 
>> Is there an other way to create  such a list. Should i create the list by
>> creating a "sample" group which contains the field/image/button and clone
>> it for each product in the list. I could use Chipp´s altMobileResizer to
>> resize the objects.
>> 
>> Or should i try to create  a html list and display it in a browser object
>> or in a field?
>> 
>> What would be the best solution regarding  "automatic resizing" and also
>> "performance"?
>> 
> _______________________________________________
> 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