← Back to team overview

ubuntu-phone team mailing list archive

Re: [Ubuntu-touch-coreapps] [Design] Responding to orientation

 

Hi Florian,

Thanks for that. However on interchanging the width and height to simulate
the landscape orientation, I noticed that the core apps like Weather,
Clock, Calculator etc do not adapt well to the new orientation. Is there
sample code we core app developers could look at to get an idea on how to
make our app respond well to different orientations?

Kind regards,
Nekhelesh


On Tue, Apr 30, 2013 at 12:05 AM, Florian Boucault <
florian.boucault@xxxxxxxxxxxxx> wrote:

> And to make the apps developers lives easier the Ubuntu UI Toolkit has
> added a simple way to enable automatic rotation of an app depending on the
> orientation of the device. If you are using MainView then simply set the
> 'automaticOrientation' property to true:
>
> http://developer.ubuntu.com/**api/ubuntu-12.10/qml/mobile/**
> qml-ubuntu-components0-**mainview.html#**automaticOrientation-prop<http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-mainview.html#automaticOrientation-prop>
>
> Just make sure that your app layout responds well to size changes and it
> is likely that it will also respond well to orientation changes (changing
> the orientation is equivalent to changing the aspect ratio of the app
> window, width becomes the height and height becomes the width).
>
> Florian
>
>
> On 04/26/2013 09:58 AM, Calum K Pringle wrote:
>
>> Hey everyone,
>>
>> We've just posted a blogpost with our latest chapter for the app design
>> guides; responding to orientation
>> <http://design.canonical.com/**2013/04/responding-to-**orientation/<http://design.canonical.com/2013/04/responding-to-orientation/>>
>> - hope
>>
>> this is useful as there's been many questions on the mailing list about
>> how to think about orientation when designing an app. As with the
>> guidelines themselves, this is an entry level guideline, so let us know
>> what might be useful to add / edit in the future!
>> Cheers!
>>
>> Calum Pringle
>> Interaction Designer
>>
>> Canonical Design Team
>> m: 0773 9317055
>> e: calum.pringle@xxxxxxxxxxxxx <mailto:calum.pringle@**canonical.com<calum.pringle@xxxxxxxxxxxxx>
>> >
>>
>>
>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-**touch-coreapps<https://launchpad.net/~ubuntu-touch-coreapps>
> Post to     : ubuntu-touch-coreapps@lists.**launchpad.net<ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~ubuntu-**touch-coreapps<https://launchpad.net/~ubuntu-touch-coreapps>
> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>



-- 
Nekhelesh Kandasamy Ramananthan
Msc Control & Simulation
TU Delft

Follow ups

References