Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old December 12th, 2011, 08:56 AM   #1 (permalink)
Junior Member
 
Join Date: May 2011
Posts: 43
 
Device(s):
Thanks: 3
Thanked 4 Times in 1 Post
Default Layouts within Layouts

Hi

As a total noob, I'm learning about layouts. Can someone advise how would be the best way to nest a table layout within another table layout.

I can create a TableLayout fine, but not quite sure how to nest a TableLayout inside what would effectively be a 'cell' of that TableLayout. I tried putting a TableLayout inside a TextView, but just got errors.

aSystemOverloa is offline  
Reply With Quote
Sponsors
Old December 12th, 2011, 11:24 AM   #2 (permalink)
Member
 
Join Date: Jun 2010
Posts: 363
 
Device(s): Samsung Galaxy S (international)
Thanks: 72
Thanked 57 Times in 55 Posts
Default

even though I don't know why you wanna do that , but the idea behind using TableLayout is to use TableRow in it , if you didn't use it that there is not point in a tableLayout
try putting your nested layout inside the tablerow , not sure if that would work though
__________________
if I ever said anything that helped you , the thanks button is where your cursor/finger should head to
JiMMaR is offline  
Reply With Quote
Old December 12th, 2011, 12:57 PM   #3 (permalink)
Junior Member
 
Join Date: May 2011
Posts: 43
 
Device(s):
Thanks: 3
Thanked 4 Times in 1 Post
Default

Ok, well my aim is two columns that I can get to scroll interdependently of each other. The left (smaller) one displays categories, which when clicked, change the content of the right column.

What is the best way to implement that?

Thnx
aSystemOverloa is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:54 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo