How to create a control array in Android? How to create a multidimensional (2D) array in Android?
for buttons, edit text
also how can we access the elements of edit text in a 2 dimensional array
How are multidimensional arrays created in Android? And in particular a 2 dimensional array to contain Buttons or EditText?
Also, how does one access elements of these arrays once they have been created?
Look at this sample what I created:
EDIT:
Add some code as an example for you:
main.xml layout file:
MainActivity.java: