• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ListView with header similar to iPhone apps

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic