如何创建这样一个9GAG布局?我已经使用了hierachery观众看到的布局:
How do i create a layout like 9gag? I have used the hierachery viewer to see the layout:
9GAG视图层次
好像有ListView中包含每个块linearlayouts。这怎么可能?我应该创建一个供应linearlayouts自定义阵列适配器?
It seems like there are linearlayouts in the listview that contain each block. How is that even possibly? Should i create a custom array adapter that serves linearlayouts?
我在网上搜索,但无法找到一个例子。此外,我试图创建的LinearLayout作为列表视图的孩子,而在于导致错误。
I searched the web but couldnt find one example. Also i tried creating the Linearlayout as children of the listview but that resulted in an error.
推荐答案
该列表包含可以使用任何布局列表项。请参阅: http://developer.android.com/guide/topics/ui /layout/listview.html
The list contains list items that can use any layout. See: http://developer.android.com/guide/topics/ui/layout/listview.html
相关推荐
最新文章