So, here is what I need to make, three TableLayouts that have a Text
View above them, this is what I'm doing:
ScrollView mScrollView;
TableLayout mTableLayout;
TextView mTextView;
LinearLayout mLinearLayout;
TableLayout nTableLayout;
TableLayout oTableLayout;
TableLayout pTableLayout;
...
..
.
mScrollView = new ScrollView(this);
mTableLayout = new TableLayout(this);
mTextView = new TextView(this);
mLinearLayout = new LinearLayout(this);
nTableLayout = new TableLayout(this);
oTableLayout = new TableLayout(this);
pTableLayout = new TableLayout(this);
mScrollView.addView(mTableLayout);
mTableLayout.addView(mTextView);
mTableLayout.addView(mLinearLayout);
mLinearLayout.addView(nTableLayout);
mLinearLayout.addView(oTableLayout);
mLinearLayout.addView(pTableLayout);
This should work but for some reason it keeps force closing on me. It
works just fine when I dump images into an interface containing only
one TableLayout within a ScrollView.
Does anyone know a solution to this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---