How to add a footer in ListView?

前端 未结 7 1729
时光取名叫无心
时光取名叫无心 2020-11-22 09:35

I am developing an application,In my application,I am using Listview for displaying data using dom parsing,I want to footer in listview,when i click footer additional more d

7条回答
  •  野性不改
    2020-11-22 09:45

    I know this is a very old question, but I googled my way here and found the answer provided not 100% satisfying, because as gcl1 mentioned - this way the footer is not really a footer to the screen - it's just an "add-on" to the list.

    Bottom line - for others who may google their way here - I found the following suggestion here: Fixed and always visible footer below ListFragment

    Try doing as follows, where the emphasis is on the button (or any footer element) listed first in the XML - and then the list is added as "layout_above":

    
    
    

提交回复
热议问题