Skip to content Skip to sidebar Skip to footer

Scrollview: Java.lang.stackoverflowerror

I got a ScrollView with many Views and if i start the activity i got this after some scrolling: 04-10 20:11:42.480: E/AndroidRuntime(2089): FATAL EXCEPTION: main 04-10 20:11:42.480

Solution 1:

Your UI View tree is too deep. addFocusables is recursive (obviously) into the View layout tree and Android has a fairly limited stack size. Change your layout to do less nesting and more of a flat layout. You may need to write a custom layout to get the layout you want without nesting.


Post a Comment for "Scrollview: Java.lang.stackoverflowerror"