Jeffrey wrote: > I need a LinearLayout to contain 3 TableLayouts, and I can't get it to > work. This is where the problem is I'm sure: > > mTableLayout.addView(mLinearLayout, LayoutParams.FILL_PARENT, > LayoutParams.WRAP_CONTENT); > mLinearLayout.addView(nTableLayout, LayoutParams.WRAP_CONTENT, > LayoutParams.WRAP_CONTENT); > mLinearLayout.addView(oTableLayout, LayoutParams.WRAP_CONTENT, > LayoutParams.WRAP_CONTENT); > mLinearLayout.addView(pTableLayout, LayoutParams.WRAP_CONTENT, > LayoutParams.WRAP_CONTENT); > > How Do I make this work? I can get it to work just find when I only > add a single child view, but when I have multiple children view > objects my app crashes.
Examine your stack trace, via adb logcat, DDMS, or the DDMS perspective in Eclipse. That will tell you the source of your error. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

