If you are relying on string values changing for landscape vs. portrait, I would strongly urge *not* using android:configChanges, and just letting your activity be restarted.
On Wed, Nov 10, 2010 at 2:26 AM, sambit <[email protected]>wrote: > Hi, > > While working on orientation change I have found that the > onConfigurationChanged is not getting called when changing the > orientation from portrait to landscape.But when I am changing from > landscape to portrait the method is getting called. > Is it the correct behavior because the onConfigurationChanged should > by called whenever we are changing the orientation. > (android:configChanges="orientation")? > > I have also found one strange behavior or error, When we are changing > from portrait to landscape orientation the string value is displayed > correctly(automatically by android system) but when in am changing the > orientation from landscape to portrait the same string is > displayed(i.e the string in landscape mode).The expected behavoiur is > the string id specified in the portrait mode should be displayed.Is it > an platform bug or something worng in my code/programming. > > > Wait for the response. > > Regards > Sambit > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

