Unfortunately that doesn't really help. I have no idea what I'm looking for in the logcat. Likewise I don't what the stacktrace is or how to find it in the logcat. All I know about android is what I've figured out through the course of my current project. I can't find any information on how to programmatically create a UI with multiple child views inside a single viewgroup. If anyone knows of any easy to understand documentation that would be awesome.
On Sep 27, 3:03 am, Mark Murphy <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

