Multiple screen sizes

All things Storyboard for the Android platform.

Moderator: jamiev

Multiple screen sizes

Postby DarkWishMaster » Wed Jan 22, 2014 6:37 am

How you adjust app layout for different android devices using crank ?
Scaling is not an option because it scale also all buttons so they're deformed.
DarkWishMaster
 
Posts: 47
Joined: Wed Oct 23, 2013 6:23 am

Re: Multiple screen sizes

Postby thomas » Wed Jan 22, 2014 8:10 am

Due to the nature of the Storyboard design paradigm, developing for varying screen sizes is a bit of a challenge.
Ideally we always want to be designing to a specific screen size and arranging content to match so there
are a couple of different options:

* Create layers that reflect the layout that you want in the various screen size configurations
(or family thereof) and dynamically enable or disable layers based on that.

* Similar to creating multiple layers, but more design distinct, is to create multiple screen
groups each with a layout/sizing that is appropriate for the device size.

* Create a layout manager that will re-position control content appropriately to match varying
screen size configurations.

We are developing work to facilitate the second option that would allow multiple model files
to be developed (each with their own size or orientation specific layout) as independent screens
and then allow them to be merged into a single content bundle. This will not make an appearance
until a future update of Storyboard.

We are also developing some simple layout Lua helper functions that would allow controls to have
some level of dynamic layout. This is an approach that can be developed today and is not dependent
on particular Storyboard revisions since it is a pure Lua module.

Thomas
thomas
 
Posts: 133
Joined: Mon Nov 02, 2009 4:32 pm
Location: Ottawa


Return to Storyboard for Android

Who is online

Users browsing this forum: No registered users and 1 guest