安卓表的多个列样的iOS的CollectionView多个、安卓表、CollectionView、iOS

2023-09-04 23:06:24 作者:死囚漫步。

有没有在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

 
精彩推荐
图片推荐