I want to create matrix of buttons in Android dynamically for some m rows and n columns. It should be aligned in matrix form(table form). Plz help me.
2 Answers
Use Gridlayout and add buttons dynamically based on positions in the getView method of the custom adapter.
Comments
1 Comment
user987171
right... so if u r targeting lower versions gridview can be an option