Monday, January 3, 2011

[android-developers] Re: How to add labels above this table layout

There are 2 table layouts in the R.layout.showscheduler. First
contains labels and second one is for list items. But Suppose if I
remove the first table layout which contains label then they are not
visible.means output becomes

Hall Tube 2011-1-1 11.00
Bedroom Fan 2011-1-1 11.30
Kitchen AC 2011-1-1 12.00

And I want it as

RoomName SwitchName StartDate StartTime
Hall Tube 2011-1-1 11.00
Bedroom Fan 2011-1-1 11.30
Kitchen AC 2011-1-1 12.00

On Jan 4, 9:24 am, TreKing <treking...@gmail.com> wrote:
> On Mon, Jan 3, 2011 at 10:17 PM, pramod.deore <deore.pramo...@gmail.com>wrote:
>
> > R.layout.showscheduler contains
>
> So the layout you're using for each item in the list view contains two
> tables. One with hard coded values and one with ID'ed views. You're getting
> exactly what you're asking for. If you don't want the extra set of labels,
> remove them from the layout.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

No comments:

Post a Comment