Meaningless Drivel is fun!*
The moose likes Android and the fly likes ListView with header similar to iPhone apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "ListView with header similar to iPhone apps" Watch "ListView with header similar to iPhone apps" New topic
Author

ListView with header similar to iPhone apps

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

So on iPhone UITableView, it is very easy to add a header, it is already there. And it automatically, will have a back button when you nest into the table, as well as a title, and easy as setting one property to true to get the "Add New" button on the right at the top.

I want that similar UI in Android, and I have gotten my List and ListActivity all working with displaying the data in the table, but I had to just add a search text on the top, then my own two buttons below that, then the list to get something similar, but I can't get the back button.

I think that even in Android this should be simple, but I have found in many places that it is never simple and you have to jump through hoops to get it to work.

Any suggestions, recommendations. I mean maybe I should look at a totally different UI approach because Android is different.

Thanks for you help

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
zoheb hassan
Ranch Hand

Joined: Apr 01, 2009
Posts: 150

Hey Mark there is this video on youtube that covers a great deal on List View and how to add an header, Footer to it Hope you find this useful, Its from google IO 2010

Regards,
Zoheb
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

zoheb hassan wrote:Hey Mark there is this video on youtube that covers a great deal on List View and how to add an header, Footer to it Hope you find this useful, Its from google IO 2010

Regards,
Zoheb


Thanks for the link. Actually that is the video I used to get as far as I got. Shame Google didn't think the apis a little better and finished it completely.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ListView with header similar to iPhone apps
 
Similar Threads
Simple list table
Rate the Best Enterprise Mobile platform according to thease points
Is there an easy way to make UIs?
why is iphone popular ?
Android vs. iOS