开发者

How to disable the scrolling of gridview in android

I am building an android app in which I have to add a background image to gridview 开发者_JS百科and the background should scroll with the grid view.

My problem is that I have added the background image with the gridView but the background is not scrolling with the grid view.

I followed http://www.firstdroid.com/2011/02/06/android-tutorial-gridview-with-icon-and-text/. But that didnt help for this purpose.

Any idea or help will be highly appreciated. Thanks.


I am building an android app in which I have to add a background image to gridview and the background should scroll with the grid view.

AFAIK, this is not possible with GridView. Most likely, you will have to create your own AdapterView implementation with your desired behavior.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜