3

I want to add row separators in GridView. Basically I'm making a shelf app in which shelf will look like this:

enter image description here

so number of columns can vary with device resolution and also when orientation is changed. How do I achieve this? any tricks ?

I have looked at Shelves by Romain Guy. But he has some different strategy because there is no need of row separator.

4

1 に答える 1

0

Google コードからこのプロジェクトを試して、ソース コードを参照してください。

https://code.google.com/p/shelves/source/browse/#svn%2Ftrunk

Google コードでのプロジェクトのホームページ:

https://code.google.com/p/shelves/

そして、それは以下の投稿のスタックオーバーフローですでに議論されています:

グリッドビューのアイテムでのバックグラウンドスクロール

于 2013-03-11T05:45:04.027 に答える