Ashok Kateshiya
Ashok Kateshiya

Reputation: 699

List view footer should be attached to bottom but at the end of list view it should be fixed at some height

I want to display a footer at the end of list view but when list becomes scrollable footer should be displayed at bottom and visible.Currently when I add footer view it is at the end of list view always and when list view has more items footer is not visible.,for showing footer I need to scroll down till the end of list view.

Upvotes: 0

Views: 115

Answers (1)

Pramod Yadav
Pramod Yadav

Reputation: 2326

what you can do add a footer layout to listview and also add it to the end of the listview and implement the AbsListView.OnScrollListener in your activity and in onScroll() method method you can disable the footer layout in this way you can achieve what you desire

Upvotes: 1

Related Questions