On Tue, Nov 27, 2012 at 9:57 AM, bob <[email protected]> wrote:
> I would just fix the orientation to landscape or portrait so you don't > have to worry about this mess. What about leaving the app and coming back to it later? What about the user changing their locale settings? What about users that want to view the app in the layout (landscape or portrait) that you arbitrarily don't support? You may think this is fixing the problem, but you're really just hiding it for the one case, and it *will* resurface in more obscure scenarios and actually making things more complicated in the long run, giving you a much bigger "mess", which will be much harder to track down and clean up. Fixing the orientation is *not *a solution for managing dialogs across rotations - it's a crutch that shitty Android programmers resort to when they don't want to "deal" with the complexities of the Android configuration changes. Please do not advise people to do this - you're perpetuating bad information and doing them a disservice. http://developer.android.com/guide/topics/manifest/activity-element.html#config ------------------------------------------------------------------------------------------------- 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 [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

