On Tue, Jul 27, 2010 at 5:52 AM, Paolo <brand...@gmail.com> wrote: > I get a leaked window when I have a submenu visible on the screen and I > rotate the screen. >
Weird. Seems like something the framework should handle automatically ... > If it would be a Dialog I colud call dismiss() in the onStop() before to > change the orientation, but with a SubMenu how do I can solve it? > Maybe this?: http://developer.android.com/reference/android/app/Activity.html#closeOptionsMenu() <http://developer.android.com/reference/android/app/Activity.html#closeContextMenu()> ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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