9R

Connected by MOTOBLURâ„¢n

-----Original message-----
From: "emaildevbr.str...@gmail.com" <emaildevbr.str...@gmail.com>
To: android-developers@googlegroups.com
Sent: Sat, Dec 18, 2010 15:14:29 GMT+00:00
Subject: Re: [android-developers] Re: Data is not displaying in lin



Connected by MOTOBLURâ„¢

-----Original message-----
From: TreKing <treking...@gmail.com>
To: android-developers@googlegroups.com
Sent: Sat, Dec 18, 2010 05:53:18 GMT+00:00
Subject: Re: [android-developers] Re: Data is not displaying in line

On Fri, Dec 17, 2010 at 11:41 PM, pramod.deore <deore.pramo...@gmail.com>wrote:

> myAdapter = new SimpleCursorAdapter(this, R.layout.schedule, c,
> columns,names);
>

OK, that explains it. I think what's happening is each entry in your list is
being created using the table layout you defined. So basically you have a
list of tables, not a single table with rows, and they're all independent
and won't line up.

Honestly not sure if this would work with an adapter as you have it.

An alternative would be to just create a TableLayout and add each row into
it dynamically from the data in your cursor.

Or wait for someone who knows more about CursorAdapters and Tables to help
you out :-)

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to