如何避免间距画廊的起点和终点间距、终点、画廊、起点

由网友(帆布鞋也比你高跟鞋优雅?)分享简介:我不希望有一个圆形的画廊,而是我不希望显示在画廊的左,右端的自由空间?有没有我可以做到这一点任何可能的方式?解决方案 我会建议你去尝试 Horizo​​ntalListView 。它并不像其他Android组件不错,但被证明是值得在大多数情况下,水平的ListView实现了以下特点:子类适配器视图这样我就可以使用适配...

我不希望有一个圆形的画廊,而是我不希望显示在画廊的左,右端的自由空间?有没有我可以做到这一点任何可能的方式?

解决方案

我会建议你去尝试 Horizo​​ntalListView 。它并不像其他Android组件不错,但被证明是值得在大多数情况下,

  

水平的ListView实现了   以下特点:

 子类适配器视图这样我就可以使用适配器
快速 - 使回收的观点尽可能的使用
项目是点击 - (接受AdapterView.OnItemClickListener)
滚动
无中心锁
 

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?

解决方案 如何自定义CollectionView中每个元素的大小和间距

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

阅读全文

相关推荐

最新文章