HeHe wrote:
> 1). is the critical point measured by the depth of hierarchy or by the
> total memory size used by all the views on the hierarchy?

For StackOverflowException, the depth is more critical than the total,
AFAIK.

> 2). how does setBackgroundResource() increase the depth or memory
> usage of 'the stack'?

It presumably triggers a different code path that makes more/deeper
nested set of calls.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.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 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

Reply via email to