Have you tried android:configChanges="keyboard|keyboardHidden|orientation" in the manifest on your activity element ? -g
On Jul 28, 9:01 am, Jack Ha <[email protected]> wrote: > I don't believe you can avoid that. Your code just needs to handle it > correctly. > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are those of > the author solely in their individual capacity, and do not > necessarily represent those of T-Mobile USA, Inc. > > On Jul 28, 7:07 am, Sundar <[email protected]> wrote: > > > > > Hi, > > > I have fixed the activity screen orientation to portrait on > > AndroidManifest.xml file. When I open or close the keyboard the > > activity gets restarted. How to avoid this restart? > > > Thanks in advance.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

