Table Layout Fixed Header row

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Table Layout Fixed Header row

Postby abhishek100182 » Wed Jan 20, 2010 6:11 am

Okay, so I've got this TableLayout, and its full of data - with all of
the rows added programmatically. I've got the TableLayout inside of a
HorizontalScrollView, which in turn is inside a ScrollView - this
gives me scrolling both horizontally and vertically. What I'm trying
to do now is add a header row to it that will not scroll. I've tried
moving things around so that both of my scroll views were actually
inside of the TableLayout and adding the TableRows to the
HorizontalScrollView; my hope was to be able to then add the header
row outside of the scroll views.


The only other thing I can think of is having a second table layout
just for the header row, but getting the columns to line up seems like
it would be difficult, and also moving both the table rows
horizontally simultaneously is not feasible. Any ideas?


Thanks in advance
abhishek100182
Freshman
Freshman
 
Posts: 6
Joined: Mon Jan 18, 2010 10:04 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests