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