On Mon, Oct 31, 2011 at 11:34 AM, Mark Phillips <[email protected]> wrote: > I have the following layout: > > LinearLayout > TableLayout_1 > ScrollView > MyHorizontalScrollView > TableLayout_2 > > MyHorizontalScrollView extends HorizontalScrollView. I can get a pointer to > TableLayout_2 using findViewById(). How do I get a pointer to TableLayout_1 > from MyHorizontalScrollView?
You don't, since TableLayout_1 is not a child of MyHorizontalScrollView. You get it from your activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 4.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

