How to declare an array of two dimensional buttons [closed]
I want to decalare an two dimensional array of buttons..so can anyone please suggest me how that can be done..
Button[][] buttons = new Button[x][y];
Something like a GridView? http://developer.android.com/reference/android/widget/GridView.html
You can fix items bidimensionally in a dynamic fashion... Or if you just want something static, use TableLayout
精彩评论