I want to implemen开发者_C百科t a grid view with a lot of icons with scrolling.
I have done that part now I want to implement the scrolling in such a way that firstly my screen shows first 6 icons and when I scroll it shows the next 6 icons (i.e the previous icons should not be visible). In short want my grid view to look like the Android home screen menu grid.
Ok. Now i understand.
I think you could use a viewflipper
that contains all your gridviews
. The viewflipper
could go through the different gridviews
on a flick, for instance.
However, i would be conscious of how many gridviews
you are adding. I am not familiar with how the viewflipper
inflates views. In the worst case, you'll be inflating all the gridviews
at once.
精彩评论