logo       

[android-developers] Table header alligment: msg#04213

AndroidDevelopers

Subject: [android-developers] Table header alligment


Problem Statement: Define Table Header row and allign it column with
other table columns

I have a table with multiple rows and this table is inside a
ScrollView (the code is below) (I add rows by using code)

Now I want to declare a header row for this table that is not
scrolling.

for this I created another table with single header row. But its
columns are not aligned with scrolling table.

How can I align the columns ?



<ScrollView android:id="@+id/ScrollView01"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:scrollbarStyle="outsideInset">
<TableLayout android:layout_height="wrap_content"
android:id="@+id/HighScoreTable"
android:layout_width="fill_parent"
android:stretchColumns="2">
</TableLayout>
</ScrollView>



Best regards,
Atif
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise