2

I am using a Horizontal List View https://github.com/MeetMe/Android-HorizontalListView library, I need to set a footer view on it.How can i set it.

sumit singh
  • 588
  • 1
  • 5
  • 20
  • library broken link! – hasan Aug 10 '15 at 13:27
  • I change the link. @hasan83 – sumit singh Aug 10 '15 at 13:30
  • It is not supported for this view. See Javadoc "Does not support header or footer views". I would embed this view in a linear layout and add header and footer on top and bottom of the listview. – Thomas R. Aug 10 '15 at 13:32
  • If any other way to make a horizontal list view with footer view than please let me know. @hasan83 – sumit singh Aug 10 '15 at 13:33
  • Do you want the footer to be at bottom or at the right? since this a horizontal list? if at bottom do as @ThomasR. suggested. just put a linear layout after the list view. it will behave as expected. – hasan Aug 10 '15 at 13:35
  • For list view it works ,but i need to add it on a horizontal list view and it is not going to support.@ThomasR. – sumit singh Aug 10 '15 at 13:36

1 Answers1

1

I think you didn't understood my comment. I mean something like this:

<LinearLayout with vertical orientation>
  <HeaderView/>
  <HorizontalListView/>
  <FooterView/>
</End of LinearLayout>
Thomas R.
  • 7,988
  • 3
  • 30
  • 39