[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-07 Thread Mike
Thank you very much for answers! I've seen discussions about view hierarchy depth, but after finding out that StackOverflow pops-up exclusively at the moment of text wrapping I didn't believed this is the case. Hierarchyviewer revealed that my hierarchy is really deep (14), but it's not as

[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-07 Thread Romain Guy
14 levels is what we consider a very deep hierarchy :) On Thu, May 7, 2009 at 9:26 AM, Mike sra...@gmail.com wrote: Thank you very much for answers! I've seen discussions about view hierarchy depth, but after finding out that StackOverflow pops-up exclusively at the moment of text wrapping

[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-06 Thread Mark Murphy
Mike wrote: I have a problem with Android 1.5 (problem that didn't appear in 1.1 and earlier): This TextView is in RelativeLayout: TextView android:id=@+id/list_item_name android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-06 Thread Romain Guy
How deep and complicated is your view hierarchy? With Android 1.5, I get the sense that StackOverflowError will be triggered by a too-complex set of views, particularly in terms of depth. You can use hierarchyviewer (in the tools/ of your SDK) to see how many layers you have -- if you're in