> Let's say I have a list of included layouts and I want to access the
> widgets in the included layouts...how do I do that?

The way you have it written, you probably cannot access the widgets in the
included layouts, since they are all named the same.

Either:

1. Use three different included layouts and use different IDs for each
widget, or

2. Turn your included widgets into actual View classes, with each View
responsible for inflating its own contents, in which case the View can
give you its widgets

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to