fill_parent.. android:layout_width="fill_parent" android:layout_height="fill_parent"
On Mon, Nov 10, 2008 at 11:43 PM, Sunit Katkar <[EMAIL PROTECTED]>wrote: > Have you set the attributes for your ScrollView as 'fill_parent' or > 'wrap_content' ? > > > On Mon, Nov 10, 2008 at 4:28 AM, for android <[EMAIL PROTECTED]> wrote: > >> I have a complex layout which has many table rows.Something like this: >> >> >> <Table Layout> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> <ListView> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> </Table Layout> >> >> >> >> Say now I want a scrollableView for this and I implement the view like >> this : >> >> <ScrollView> >> <Table Layout> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> <ListView> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> <TableRow> >> </TableRow> >> </Table Layout> >> </ScrollView> >> >> At this point what happens is that i see just 2 rows of the list coming >> up. >> >> Now the prob i am facing is that if I remove the scroll view the the whole >> list appears. >> >> I do know that in the reference documents,we are suggested not to use >> Scroll View with a List View. >> >> >> As per my requirement,i have a list in which we know that say only 5 rows >> are displayed.And then i need the user to be able to scroll the other items >> which are external to the list. >> >> >> How do I accomplish this? Or is it not possible task??? >> >> Thanks >> >> >> > > > -- > - Sunit Katkar > http://sunitkatkar.blogspot.com/ - Android OS Tutorials > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

