[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-12 Thread steele johnson
Also, I do not know the view id's. I just want to iterate through all the views in a group. Thanks On Feb 11, 5:20 pm, Romain Guy romain...@google.com wrote: findViewById() On Wed, Feb 11, 2009 at 2:17 PM, steele johnson jsal...@gmail.com wrote: Hello, I'm looking for a simple method

[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-11 Thread Romain Guy
findViewById() On Wed, Feb 11, 2009 at 2:17 PM, steele johnson jsal...@gmail.com wrote: Hello, I'm looking for a simple method to search a ViewGroup for a specific view given the id. This ViewGroup could have nested ViewGroups as well, so it needs to be recursive. Anyone know if Android as

[android-developers] Re: How to iterate a ViewGroup for a specific view id?

2009-02-11 Thread steele johnson
Hmm, that didn't work for me after dynamically inserting a layout. I had to call that on the inserted layout for it to find it within its children. If I call it from the parent, it does not work even though I know it has been added to a child layout. On Feb 11, 5:20 pm, Romain Guy