• 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

how to inflate footer layout below listview without empty space

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..
Here i attached screens please find it.

I have listview and below it have footer to bind more data at footer button click event,the data has been binded well but the problem here is expanding of empty space after click event,when i scrolled to move down,when i reach the last list row by scrolling the footer position is being at same at initially loaded,but here the problem is the list scrolling is applies to this footer layout also when i scrolled down after list row the footer get's moving
down,but i need it be after list last row and i also need to know how to scrolling to be stopped when particular condition satisfied.
i'm using inflater class to add footer layout.
i placed addfooterView() before my setadapter() method
inflater2 = this.getLayoutInflater();
footerView = inflater2.inflate(R.layout.footer, sex,true);

Thanks in advance.

Here my code for footer layout xml



in my main layout i have tabhost with group of lists.

device2.png
[Thumbnail for device2.png]
device1.png
[Thumbnail for device1.png]
device3.png
[Thumbnail for device3.png]
reply
    Bookmark Topic Watch Topic
  • New Topic