This isn't a bug - see what Mark said about your activity being
destroyed and recreated when the orientation changes.

If you want to work around this (and know that it's the right thing to
do), set up your app to handle the orientation configuration change
(set android:configChanges in AndroidManifest.xml) and change the
orientation yourself in onConfigurationChanged() in your Activity.
You'll have to save the value of your EditText object, recreate the
entire layout, and then set the value of the new EditText.  I do this
with an app I wrote, and it works just fine.

- michael
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to