On Fri, Oct 15, 2010 at 3:04 AM, Chandroid <[email protected]> wrote: > Can anyone tell me how to add a scroll bar to a table layout? I have > tried covering the table layout with a scroll view. But that did not > work!!!
You do not "cover" a TableLayout with a ScrollView. You put a TableLayout in a ScrollView: <ScrollView> <TableLayout> <!-- rows here --> </TableLayout> </ScrollView> Here is a sample project demonstrating a TableLayout inside of a ScrollView: http://github.com/commonsguy/cw-android/tree/master/Containers/Scroll/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

