How can I make a Layout with Buttons in matrix like:
Button Button
Button Button
I want to have access to these Buttons by the loop (for example, for()), because I want to change the text of these Buttons dynamically.
I tried to make a TableLayout and TableRow, but nothing works.
You can use TableLayout.
Check here for explanation:
http://developer.android.com/resources/tutorials/views/hello-tablelayout.html
Here an example: