2009/6/4 Vignesh <[email protected]>

> Hi,
>
> I have a requirement to display a table on the screen after reading them
> from a database.
>
> The layout must have scrollbars (both vertical and horizontal, because
> there can be plenty number of rows and columns).   Can someone suggest the
> widgets/layouts/views that I have to use?

If u have ApiDemos apk, run it on emulator, go into
view-> layouts-> TableLayout
There the various examples of table layouts are given.
U can find the sources of the same in the apidemo in samples..
Hope it helps

>
>
> I tried using TableLayout, but it doesn't come with scrollbars.  Using
> Textview for each column gets complicated.
>
> From the document I infer adapters and TableLayout can be of help, but not
> sure how.
>
> Kindly help.
>
> -vignesh
>
> >
>


-- 
Cheers
(: Naveen Krishna Ch :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to