I'm not sure on the purpose of the scrollbar attributes on the
TableLayout, usually if you want scrollbars on a layout, you wrap them
in a ScrollView:

<ScrollView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1">

        <TableLayout android:id="@+id/resultTable"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:spacing="40dip"
                android:stretchColumns="4">
                
                <TableRow>
                ...
                </TableRow>

        </TableLayout>

</ScrollView>



Regards,

Sean


On Thu, May 28, 2009 at 12:07 AM, solid <young...@gmail.com> wrote:
>
> I have a TableLayout that I am trying to set as scrolling vertical but
> the android framework is ignoring all of the scroll related
> attributes.
>
> <TableLayout android:id="@+id/resultTable"
>        android:layout_width="wrap_content"
> android:layout_height="fill_parent"
>        android:spacing="40dip" android:isScrollContainer="true"
> android:isScrollContainer="true"
>        android:scrollbarStyle="insideOverlay" android:scrollbars="vertical"
> android:stretchColumns="4">
> </TableLayout>
>
> At runtime I add a bunch of TableRow objects but like I said, the fill
> the table until they are off the screen.
> >
>

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

Reply via email to