How to avoid spacing in the start and end of Gallery

前端 未结 1 2011
耶瑟儿~
耶瑟儿~ 2020-12-11 21:38

I don\'t want a circular gallery, but instead I don\'t want to show the free space in the left and right end of the gallery? Is there any possible way I can achieve this?

相关标签:
1条回答
  • 2020-12-11 21:53

    I will suggest you to try HorizontalListView. Its not that good as other android components but proves to be worth in most of the cases

    Horizontal ListView implementation has the following features:

    Subclass AdapterView so I can make use of adapters
    Fast – make use of recycled views when possible
    Items are clickable – (accepts AdapterView.OnItemClickListener)
    Scrollable
    No center-locking
    
    0 讨论(0)
提交回复
热议问题