On Wed, Apr 28, 2010 at 11:42 AM, Amir Alagic <[email protected]> wrote:
> Add this android:configChanges="keyboardHidden|orientation|keyboard" > to <activity> element in AndroidManifest.xml file. I hope that this is > what > you want. > No, don't. That doesn't fix the problem, just hides it in some of the common situations. (This also breaks many behaviors around configuration, such as selecting the right value for any resource that varies based on one of these configurations.) The correct solution is to write your activity correctly so that it does the right thing when it is re-created from a previous saved state. -- 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

