Tom wrote: > I am wondering what the maximum complication in view hierarchy can be. > My app, Wine by the Bar, is failing in ViewRoot.performTraversals() > with a StackOverflowError in 1.5. > > Is this hierarchy really too complicated to be handled in Cupcake? > > <code> > LinearLayout > ViewFlipper > LinearLayout > ViewFlipper > ScrollView > LinearLayout > ViewFlipper > LinearLayout > LinearLayout > AutoCompleteTextView > </code>
Bear in mind there are a couple of other system levels in the stack -- you'll see them if you bring your UI up in hierarchyviewer. I notice you use three ViewFlippers, which seems a bit excessive (and that's coming from me, a card-carrying ViewFlipper fan). Could you eliminate some or all by just toggling widgets between VISIBLE and INVISIBLE? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

