Hello,

For some reason, I have one Activity in my app which does not behave
like the rest and seems to reset when the screen is rotated.  I have
this specified for all Activities in the manifest:

android:configChanges="orientation"

None of the other Activities in my app have any problems when the
device is rotated, they just change orientation and do not refresh.
The Activity I'm having problems with has three sections contained in
a LineraLayout: a TextView for the title, a TextView which acts as a
console to display output from commands, and an EditText which is the
command input box.  Each time a command is run, its output is appended
to the contents of the "console" TextView.  However, when the device
is rotated, the Activity resets and that TextView gets cleared.

Does anyone know what the problem might be?  Any way to make sure this
Activity does not reset on rotation?  I read the "Handling Runtime
Changes" section of the SDK documentation, but neither
onConfigurationChange() nor onRetainNonConfigurationInstance() seemed
to solve the problem.  Any help would be appreciated.

Thanks!
Dave

-- 
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