Android的定制网格视图的第一个孩子 [英] Android customize first child of grid view

查看:163
本文介绍了Android的定制网格视图的第一个孩子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在单独的第一个孩子应该在那里的第一行用不同的布局设计,其余的孩子的可以在他们的设计类似一个网格视图。我怎样才能做到这一点?请参阅屏幕快照的想法。

I want a grid view in which first child alone should be there in first row with different layout design and remaining childs can be similar in their designs. How can I achieve this? Please refer to the screen shot to get the idea.

推荐答案

这是不是真的有可能,但它有可能捏造事实。诀窍是对半分割位图和显示每个一半为单独的图像。见<一href=\"http://stackoverflow.com/questions/11111917/bigger-image-for-first-item-of-the-gridview-android/11112313#11112313\">Bigger为GridView的Andr​​oid 的第一项图像获取更多信息。

This isn't really possible but it is possible to fake it. The trick is to split the bitmap in half and show each half as separate images. See Bigger image for first item of the gridview android for more information.

这篇关于Android的定制网格视图的第一个孩子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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