File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Add label at the top of view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Add label at the top of view" Watch "Add label at the top of view" New topic
Author

Add label at the top of view

Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Hi everybody,
I am developing an application in that I am showing data to user from database using SimpleCursorAdapter. But in my view it shows label to all rows. what I want list to display only at the top of list. Here is my xml file



How to show label at the top of list. Thanks in advance.

Life is easy because we write the source code.....
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Issue resolved after a long discussion, After adding new .xml file which contains listview and above this listview added first tableLayout of above xml file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add label at the top of view