On Wed, Oct 13, 2010 at 6:17 PM, Bret Foreman <[email protected]> wrote: > I think I see how this might be done. The list adapter for the > expandable list is ExpandableListAdapter, which has a method > getChildView(). This child view could be a LinearLayout with TextViews > for the third level. I wouldn't be able to collapse the third level - > it would be slaved to the 2nd level expand/collapse, but that's easier > than creating the entire widget from scratch.
You can expand/collapse the third level by watching for clicks on the 2nd/3rd level LinearLayout and making the 3rd level TextViews have visibility VISIBLE or GONE as part of the toggling action. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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

