Adam,

Have you tried setting the orientation in the manifest, rather that from
code?

http://developer.android.com/guide/topics/manifest/activity-element.html#screen

And two more things: some devices will put your activity through an
orientation change cycle when getting ready to sleep (check the list
archive, I think this was discussed within the last two weeks).

Two, tablets are often held in landscape orientation, and with tablets being
"the thing du jour", perhaps you should consider creating a landscape layout
for your application.

Finally, you mentioned that your code crashes after several create/destroy
cycles; that seems like a bug that should be fixed, with the unexpected
create/destroy cycles acting like an unintended, but still useful stress
test.
02.03.2011 1:04 пользователь "TreKing" <treking...@gmail.com> написал:

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to