scrolling in both directions at the same time...like in many games

Posted by Angel on Stack Overflow See other posts from Stack Overflow or by Angel
Published on 2010-12-28T04:26:17Z Indexed on 2010/12/28 4:53 UTC
Read the original article Hit count: 156

Filed under:

Hi, I want to create a game which has a grid view...like

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

1 5 6 7 8 9 3 1 3

2 4 6 7 8 9 1 4 6

3 1 5 6 8 9 1 4 6

4 4 7 8 1 5 7 8 8

what i want to do is on my screen it should display only a part of it that is

1 2 3 4

1 2 3 4

1 5 6 7

Rest all should be hidden and scrollable in both the directions at the same time (diagonally) Please give inputs.. Should i use canvas and over it gridView or simply a grid view.. . If yes then how? Thanks

© Stack Overflow or respective owner

Related posts about android