安卓表的多个列样的iOS的CollectionView [英] android table with more than one column like iOS collectionView

查看:119
本文介绍了安卓表的多个列样的iOS的CollectionView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有在Android定制的UI元素会像iOS的集合看法? [像网格视图,即滚动] 或者我必须做出一个自定义的表格布局单元格的自定义功能类似于列?

is there a custom UI element on android that will behave like iOS collection view? [like a grid view, that is scrollable] or do I have to make a custom table layout custom cells that behave like columns?

下面一个镜头UICollectionView的iOS的

here a shot of a UICollectionView for iOS

有一个例子吗?

谢谢!

推荐答案

我不知道在iOS中收集的看法,但我猜 TableLayout 是你在找什么为

I don't know the collection view in iOS, but I guess TableLayout is what you are looking for.

https://developer.android.com/reference/android/widget/ TableLayout.html

在API14 +有网​​格布局

https://developer.android.com/reference/android/widget/ GridLayout.html

这篇关于安卓表的多个列样的iOS的CollectionView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆