我的客户已经开发了iPhone应用程序,有一个照相馆与具有不同高度的照片,让画廊看起来是这样的:
My client has developed a iPhone app that has a photo gallery with photos that have different heights, so the gallery looks something like this:
我要求做在Android一样的,所以我一直在试图与GridView的,但没有运气,我甚至开始相信,这是不可能的Android中做到这一点!
I'm asked to do the same on Android so I have been trying to do this with the GridView but with no luck, I'm even starting to believe that this is not possible in Android!
我的问题是,这是可能使用GridView控件中的Android办?
My question is, is this possible to do using the Gridview in Android?
这就是所谓的砌体 - 视图,它不会太容易实现它,因为没有太多有用的东西,那里现在。
This is called a Masonry-View and it won't be too easy to achieve it since there isn't too much helpful stuff out there right now.
有一些的库中可用,但是当我想他们在几个月前,他们没有满足我的需求,我放弃使用砌筑的想法。但是,你可以试试看。也许他们改善或两者之间的一些更好的东西在那里。
There are some libraries available but when I tried them some months ago they didn't satisfy my needs and I dropped the idea to use a Masonry. But you could give it a try. Maybe they improved or in between some better stuff is out there.