That's probably because they don't have a customized system image, so
they just specified width=800 height=480 yet the default system image
boots in portrait mode.

To do the right thing they'd have to provide an addon with a custom
system image that has the proper status bar and sets the initial
orientation to landscape.

R/

On Sat, Aug 15, 2009 at 11:58 PM, Al Sutton<[email protected]> wrote:
>
> Xav,
>
> If you use the NotepadV1 source (from the notepad tutorial - 
> http://developer.android.com/guide/tutorials/notepad/index.html), and run it 
> you get what I'd expect to be landscape mode (i.e. the mode the device boots 
> in which is 800 wide by 480 tall).
>
> If you add android:screenOrientation="landscape" to the notepad activity and 
> re-run it you get what I would expect to be portrait mode for the device 
> (i.e. screen rotated 90 degrees to it's 480 wide by 800 tall).
>
> What seems to be happening is that although the boot mode appears to be 
> landscape (width > height) it's actually registered as portrait mode (height 
> > width), so when an app specifically asks for landscape more it gets the 
> rotated.
>
> Given the resolution I doubt it's going to be a big problem for many apps, 
> but it's just something that I was curious about when I saw the default 
> layout.
>
> Al.
>
>
> --
>
> * Written an Android App? - List it at http://andappstore.com/ *
>
> ======
> Funky Android Limited is registered in England & Wales with the
> company number  6741909. The registered head office is Kemp House,
> 152-160 City Road, London,  EC1V 2NX, UK.
>
> The views expressed in this email are those of the author and not
> necessarily those of Funky Android Limited, it's associates, or it's
> subsidiaries.
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Xavier Ducrohet
> Sent: 16 August 2009 00:48
> To: [email protected]
> Subject: [android-discuss] Re: App Market Community is expanding
>
>
> I just tried it again and it looks ok to me.
> It does boot in landscape which is unusual but when resolving an app
> resource that uses orientation, it looks ok to me.
> Home is also behaving correctly with the app drawer on the side in landscape.
>
> Xav
>
> On Fri, Aug 14, 2009 at 11:28 PM, Al Sutton<[email protected]> wrote:
>>
>> On other thing. I've just been playing with the screen orientation and 
>> noticed something that looks weird. If you specify Landscape you get what I 
>> would have thought of as the portrait mode (i.e. short wide by long tall), 
>> and vice versa.
>>
>> Does anyone know if this is right?, because I can see it causing some 
>> compatibility issues if it is.
>>
>> Al.
>>
>> --
>>
>> * Written an Android App? - List it at http://andappstore.com/ *
>>
>> ======
>> Funky Android Limited is registered in England & Wales with the
>> company number  6741909. The registered head office is Kemp House,
>> 152-160 City Road, London,  EC1V 2NX, UK.
>>
>> The views expressed in this email are those of the author and not
>> necessarily those of Funky Android Limited, it's associates, or it's
>> subsidiaries.
>>
>>
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of Xavier Ducrohet
>> Sent: 14 August 2009 23:51
>> To: [email protected]
>> Subject: [android-discuss] Re: App Market Community is expanding
>>
>>
>> On Fri, Aug 14, 2009 at 3:23 PM, Mark Murphy<[email protected]> wrote:
>>> But some stuff doesn't seem fully baked yet. They talk about a 48px "TOP
>>> menu", which would appear to be the Android status bar from the diagram.
>>> But the emulator skin they supply only gives us the 25px status bar,
>>> like any other skin. Makes me wonder if there are any other hiccups we
>>> need to worry about, at least in terms of the emulator skin matching the
>>> hardware. It'd suck to build your app one way aiming for their device,
>>> upload it, and then find out it still isn't right.
>>
>> That because the skin is only just a screen size def (800x480 in this
>> case), with some background drawn around in the emulator window.
>>
>> To have their custom status bar, they would have to ship a real SDK
>> add-on, which would include both an emulator system image and the
>> skin.
>> I'm guessing they aren't ready to ship the former.
>>
>> I hope they do plan to ship an SDK add-on, as it would be the best for
>> developers wishing to target this device.
>>
>> Xav
>> --
>> Xavier Ducrohet
>> Android Developer Tools Engineer
>> Google Inc.
>>
>>
>>
>> >
>>
>
>
>
> --
> Xavier Ducrohet
> Android Developer Tools Engineer
> Google Inc.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to