Thursday, July 29, 2010

[android-developers] Emulator, forcing portrait mode

I have android:screenOrientation="portrait" set for my activity.
Creating an AVD with resolution 800x480 and running my activity, the
GLSurfaceView is created with dimensions 800x480 (ie. not rotated and
width > height). I would expect it to be created with dimensions
480x800 and be rotated 90 degrees.

Is this a bug in the emulator or am I wrong in my interpretation of
android:screenOrientation?

Best regards,
Viktor Linder

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate