Ah i missedunderstood what that meant! Thanks very much. How do I use more than one variable though?
I have tried it as follows: android:configChanges=["keyboard", "keyboardHidden", "orientation"] But it wont compile for me I get: AndroidManifest.xml: Open quote is expected for attribute "android:configChanges" associated with an element type "activity". Error in an XML file: aborting build. in the console. On Aug 20, 2:28 pm, RichardC <[email protected]> wrote: > Read about the mainfest activity setting > "android:configChanges"http://developer.android.com/guide/topics/manifest/activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.h... > > On Aug 20, 2:17 pm, "[email protected]" <[email protected]> wrote: > > > While testing on Android 1.6 using a G1 I have noticed that when I > > slide out the keyboard it kills the activity and recreates it even > > though I have set my activity to only display in portrait mode. > > > Same happens when I push the keyboard back in. > > > I get onSaveInstance, onDestroy called, then onCreate, onResume, > > OnrestoreInstance... > > > I understand why this is done when the display is being switched to > > landscape view but why does this happen when I specifically dont want > > my activity to switch view, its essentially killing and restarting the > > activity for no reason. > > > Is it the same on 2.x devices? > > > Is there something I'm missing to stop it happening? > > > Can anyone explain if there is any point to it? > > -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

