Romain Guy wrote: > It's not random at all. findViewById() is a depth-first search > algorithm; it will return the first view of the specified id it can > find.
I apologize. Instead of: > Random chance as to which one you will get. I should have written: > The behavior is undocumented, and therefore developers would be wise > not to necessarily depend upon the current implementation, lest it > change in some future Android release. I used "random chance" as shorthand, and that was inaccurate if taken literally. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

