I want to have a grid with 3 columns and 3 rows and an image button in each cell (center of cell).
I tried with gridview but I can’t fix the number of rows.
I tried with a tablelayout and 3 tablerows, but I can’t change width/height at runtime
Any ideas?
If you’re using a tablelayout you just need to do the following on each ImageButton: